Home liberachat/#xmonad: Logs Calendar

Logs on 2024-10-12 (liberachat/#xmonad)

01:28:43 × alp_ quits (~alp@2001:861:e3d6:8f80:3e1b:1051:6267:8f64) (Ping timeout: 245 seconds)
02:08:48 × td_ quits (~td@i5387090C.versanet.de) (Ping timeout: 276 seconds)
02:10:26 td_ joins (~td@i5387092F.versanet.de)
02:42:10 × terrorjack4 quits (~terrorjac@2a01:4f8:c17:dc9f::) (Quit: The Lounge - https://thelounge.chat)
02:45:07 terrorjack4 joins (~terrorjac@2a01:4f8:c17:dc9f::)
06:50:49 alp_ joins (~alp@2001:861:e3d6:8f80:e03c:690:2b19:8b81)
07:41:32 × yaslam quits (~yaslam@user/yaslam) (Ping timeout: 244 seconds)
09:29:05 Pozyomka joins (~pyon@user/pyon)
09:30:06 <Pozyomka> Hello. Does xmonad have some hook that runs when you switch to a different virtual desktop? I'd like to switch wallpapers depending on which virtual desktop is focused on.
09:36:13 <Lears> Pozyomka: Not specifically, but the `logHook` does run strictly more often. You could (in effect) craft such a hook by keeping track of the last workspace you saw and running your action only when it changes.
09:36:38 <Pozyomka> Oh, that makes sense. Thanks!
09:49:33 × alp_ quits (~alp@2001:861:e3d6:8f80:e03c:690:2b19:8b81) (Ping timeout: 246 seconds)
11:01:39 <MrElendig> Pozyomka: https://github.com/apirogov/xmonad-wallpaperhook etc
11:01:53 <MrElendig> there are a few other implementations too
11:02:07 <MrElendig> hmm, that is an ancient one
11:02:28 <MrElendig> there are some up to date ones floating around too
11:30:14 <Pozyomka> MrElendig: Thanks to you too!
12:30:23 hiecaq joins (~hiecaq@user/hiecaq)
12:39:12 × hiecaq quits (~hiecaq@user/hiecaq) (Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4))
12:55:14 hiecaq joins (~hiecaq@user/hiecaq)
12:57:31 L29Ah parts (~L29Ah@wikipedia/L29Ah) ()
13:28:49 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
13:46:21 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Ping timeout: 252 seconds)
14:02:46 L29Ah joins (~L29Ah@wikipedia/L29Ah)
14:20:49 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
14:54:27 L29Ah parts (~L29Ah@wikipedia/L29Ah) ()
15:21:04 Nixkernal joins (~Nixkernal@226.85.194.178.dynamic.cust.swisscom.net)
16:18:33 × ft quits (~ft@p4fc2a216.dip0.t-ipconnect.de) (Quit: leaving)
16:26:20 ft joins (~ft@p4fc2a216.dip0.t-ipconnect.de)
16:38:39 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Quit: ash3en)
16:45:13 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
16:52:00 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Ping timeout: 252 seconds)
16:52:19 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Hooks-WallpaperSetter.html
16:52:42 <geekosaur> if you want to do it yourself, you can check the active workspace in the `logHook` and run your favorite background setter
17:04:32 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
17:30:36 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Ping timeout: 265 seconds)
17:52:21 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
18:45:18 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Ping timeout: 252 seconds)
19:20:59 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
19:31:18 alp_ joins (~alp@2001:861:e3d6:8f80:8cd6:c1b4:e0be:1fe8)
19:32:30 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Quit: ash3en)
19:56:15 L29Ah joins (~L29Ah@wikipedia/L29Ah)
20:02:36 hiecaq` joins (~hiecaq@user/hiecaq)
20:03:18 × hiecaq quits (~hiecaq@user/hiecaq) (Ping timeout: 252 seconds)
21:56:34 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> hello
21:57:05 <geekosaur> hello
21:57:29 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> can xmonad automate workflows? for example:
21:57:30 <haskellbridge> ... long message truncated: https://kf8nh.com/_heisenbridge/media/kf8nh.com/WTdCCxtEolkyKGlhrUxntVCd/-4k5WLCPex8 (6 lines)
21:58:20 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> ofc turning this into a single function and calling by a keybind
21:58:57 <geekosaur> you may be interested in https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Actions-TopicSpace.html
22:10:00 <geekosaur> (for "side by side" you probably want to use the TwoPane layout)
22:38:51 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> thank you
22:41:15 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> https://kf8nh.com/_heisenbridge/media/hashi.sbs/yYfpwuExpnNsMixWUlhKmHqz/XPB-UlGJ-rA/2024-10-12_18-40.png
22:41:22 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> this is extremely convenient
23:14:07 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> https://kf8nh.com/_heisenbridge/media/hashi.sbs/aDvqkSrTGVyGlYzjCeurKQip/lD5CaiOt-Vw/2024-10-12_19-13.png
23:14:33 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> im quite curious about what that means, can haskell modules be locked in a particular revision of haskell?
23:14:49 <haskellbridge> <柱間 (@hashirama:hashi.sbs)> for some sort of retro-compatibility
23:15:04 <geekosaur> Haskell2010 incorporates Haskell98, GHC2021 incorporates Haskell2010, GHC2024 incorporates GHC2021
23:15:36 <geekosaur> but e.g. you need ghc 9.2+ for GHC2021 and 9.10+ for GHC2024
23:16:11 <geekosaur> I don't recall what version was the first to support Haskell2010 but it probably doesn't run on modern machines 🙂
23:19:38 <geekosaur> ("Stability" and "Portability" are also pretty meaningless. Th our case, "unportable" means "doesn't run on Windows", which, duh?. "Stability" is even worse, version numbers and the Package Version Policy are more flexible and meaningful so nobody really uses it
23:20:43 <geekosaur> (PVP is https://semver.org modified for how Haskell works: a library's API is larger than it appears for various reasons)

All times are in UTC on 2024-10-12.