Home liberachat/#xmonad: Logs Calendar

Logs on 2022-10-02 (liberachat/#xmonad)

00:46:16 noex joins (~null@user/noex)
00:48:34 <[Leary]> isaacthekind[m]: It suffices to set `windowManager.xmonad = { enable = true; enableContribAndExtras = true; };`. The other options are mostly just noise.
01:08:12 × mvk quits (~mvk@2607:fea8:5ce3:8500::778c) (Ping timeout: 264 seconds)
01:24:32 × noex quits (~null@user/noex) (Quit: :q!)
01:35:04 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
01:36:30 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
01:49:09 <HP-UX> Hi
01:49:16 <HP-UX> Having some trouble applying this
01:49:24 <HP-UX> https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.16.999/XMonad-Util-ClickableWorkspaces.html
01:49:53 <HP-UX> myXmobarLogHook xmproc = clickablePP . dynamicLogWithPP . filterOutWsPP [scratchpadWorkspaceTag] $ xmobarPP {... ppOutput= etc ... here}
01:50:00 <HP-UX> and
01:50:04 <HP-UX> , logHook = myXmobarLogHook xmproc <+> myLogHook
01:50:31 <HP-UX> I'm not sure where to put clickablePP
01:56:31 <HP-UX> https://www.fpcomplete.com/haskell/tutorial/operators/
01:56:33 <HP-UX> hmm
01:56:49 <HP-UX> . func composition and $ is f(X) etc.
01:56:51 <HP-UX> interesting
01:58:53 <[Leary]> I think you want something like `dynamicLogWithPP <=< clickablePP . filterOutWsPP [...] $ ...`
01:59:24 <[Leary]> But it might be easier to understand if you wrote it with a `do` block.
02:00:10 <HP-UX> I just started learning haskell lastt night hah
02:01:32 <HP-UX> (<=<) :: Monad m => (b -> m c) -> (a -> m b) -> (a -> m c)
02:01:44 <HP-UX> There are a few different monadic binding operators. The two most basic are >>= and >>, as they can be trivially expressed in do-notation. And as previously mentioned, >> is just a synonym for *> from the Applicative class, so it's even easier. =<< is just >>= with the arguments reversed.
02:01:48 <HP-UX> Reading about it now
02:02:05 <HP-UX> Wont' even pretned to understand what is being said, but eventually I'll make sense of it
02:03:41 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 244 seconds)
02:03:50 <HP-UX> [Leary]: https://bpa.st/2M6A
02:04:33 <[Leary]> @hoogle (<=<)
02:04:34 <lambdabot> Control.Monad (<=<) :: Monad m => (b -> m c) -> (a -> m b) -> a -> m c
02:04:34 <lambdabot> System.Directory.Internal.Prelude (<=<) :: Monad m => (b -> m c) -> (a -> m b) -> a -> m c
02:04:34 <lambdabot> Control.Monad.Compat (<=<) :: Monad m => (b -> m c) -> (a -> m b) -> a -> m c
02:05:04 <HP-UX> So I need one of thse modules imported?
02:05:12 <[Leary]> That's right.
02:05:19 <HP-UX> I assume controlmodad?
02:05:52 <HP-UX> Interesting
02:06:00 <HP-UX> I gotta learn haskell man, it's a crazy langauge
02:06:57 <[Leary]> Re do-notation, it's an imperative-looking syntactic sugar that usually easier to read than operator-soup. Using it, this becomes something like: `do { let myPP = filterOutWsPP [...] $ xmobarPP{ ... }; cPP <- clickablePP myPP; dynamicLogWithPP cPP }`
02:07:20 <[Leary]> Where `a <- doThing` runs effects in `doThing` and binds the result to `a`.
02:08:10 <HP-UX> Whe I add clickablePP, xmobar doesn't render the template vars in xmobar, they show up in xmboar like %% something
02:08:56 <HP-UX> https://i.imgur.com/xn1nheX.png
02:09:01 <HP-UX> Could not parse string, it says
02:09:51 <HP-UX> template = "<fc=#FE6BD2>%StdinReader%</fc>}{<fc=#FF4444>$%btcticker%</fc> ☀ <fc=#8888FF> %KDEN%</fc> ♶ <fc=#A6FE4E>%memory%</fc> <fc=#FE0101>%swap%</fc> <fc=#5BD8FE>%enp6s0%</fc> <fc=#FFFFFF>%date%</fc>"
02:11:14 <[Leary]> I don't know the module, but I'd guess this is related to the three requirements listed in the Usage section.
02:11:29 <HP-UX> I have met them, I got xdotool and the rest
02:11:32 × td_ quits (~td@94.134.91.190) (Ping timeout: 265 seconds)
02:11:48 <HP-UX> Oh
02:11:53 <HP-UX> I am missing the last one
02:11:57 <HP-UX> use of UnsafeStdinReader/UnsafeXMonadLog in xmobarrc (rather than StdinReader/XMonadLog)
02:13:04 td_ joins (~td@94.134.91.231)
02:13:25 <HP-UX> I used UnsafeStdinReader and now xmobar displays, Updating...
02:17:05 <HP-UX> You have to modify templte var to Unsafe too
02:17:08 <HP-UX> Got it. thanks
02:23:48 banc joins (banc@gateway/vpn/airvpn/banc)
02:53:33 × terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
02:56:08 terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1)
03:35:19 × hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
03:35:59 hrberg joins (~quassel@171.79-160-161.customer.lyse.net)
05:47:38 Solid is almost done moving; hopefully more time for xmonad again soon
06:14:09 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 252 seconds)
06:36:30 × redgloboli quits (~redglobol@user/redgloboli) (Quit: ...enter the matrix...)
06:37:25 redgloboli joins (~redglobol@user/redgloboli)
07:42:58 wonko joins (~wjc@2a0e:1c80:11::50)
07:44:00 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Quit: rebooting)
07:47:57 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
07:48:56 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Client Quit)
07:50:12 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
08:02:31 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Quit: brb)
08:03:19 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
08:37:13 × wonko quits (~wjc@2a0e:1c80:11::50) (Ping timeout: 250 seconds)
09:00:31 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
09:15:10 × redgloboli quits (~redglobol@user/redgloboli) (Quit: ...enter the matrix...)
09:15:55 redgloboli joins (~redglobol@user/redgloboli)
09:42:43 <HP-UX> Hello
09:42:50 <HP-UX> https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Hooks-RefocusLast.html having trouble with using this
09:42:56 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
09:43:12 <HP-UX> I'm not sure how to use the loghook here to specify keys.
09:48:51 chomwitt joins (~chomwitt@2a02:587:dc14:f500:baf8:17de:5af6:42e4)
09:51:56 V42 joins (~V42@2a02-8440-5140-1636-cba6-e17b-5ddd-7d3b.rev.sfr.net)
09:53:33 <HP-UX> https://bpa.st/XI6Q < xmonad.hs
09:54:04 <HP-UX> https://bpa.st/XI6Q#1L283 how can I specify these as EZConfig keys?
09:54:24 <HP-UX> Because I'm outside EZConfig block, not sure how :)
09:55:50 <HP-UX> Also, the default keys defined here, dont' work for me
10:04:22 × kaskal quits (~kaskal@2001:4bb8:2dc:7b0e:55ee:692c:e44d:a4b0) (Quit: ZNC - https://znc.in)
10:04:53 kaskal joins (~kaskal@2001:4bb8:2dc:7b0e:55ee:692c:e44d:a4b0)
10:08:45 <HP-UX> Provides hooks and actions that keep track of recently focused windows on a per workspace basis and automatically refocus the last window on loss of the current (if appropriate as determined by user specified criteria).
10:08:56 <HP-UX> Oh, this says per worksapce
10:10:11 <HP-UX> I'm actually looking to do this: refocus last window no matter which workspace it is on, and go to that workspace, instead of bringing that window to the current workspace where a window was killed
10:10:53 <HP-UX> I don't want per workspace feature of it
11:27:40 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Quit: brb)
11:29:13 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
11:38:43 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Quit: gathering Alsa logs...)
11:39:55 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
11:42:27 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Client Quit)
11:42:48 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
13:22:34 <geekosaur> I think you would need something that tracked the last focused workspace+window from the logHook in ExtensibleState
14:02:34 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
14:06:06 × V42 quits (~V42@2a02-8440-5140-1636-cba6-e17b-5ddd-7d3b.rev.sfr.net) (Ping timeout: 252 seconds)
14:58:06 rekahsoft joins (~rekahsoft@142.189.68.220)
14:58:09 × rekahsoft quits (~rekahsoft@142.189.68.220) (Remote host closed the connection)
15:03:18 rekahsoft joins (~rekahsoft@142.189.68.220)
15:44:46 coldpress is now known as coldpresent
15:50:39 × sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6)
16:10:15 mvk joins (~mvk@2607:fea8:5ce3:8500::778c)
16:35:48 sogens joins (sogens@gateway/vpn/protonvpn/sogens)
16:47:06 × sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6)
16:57:49 × rekahsoft quits (~rekahsoft@142.189.68.220) (Ping timeout: 268 seconds)
17:41:52 Balrog[m] joins (~M0x62616c@2001:470:69fc:105::2:9152)
17:42:01 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 252 seconds)
17:43:43 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
17:55:18 mc47 joins (~mc47@xmonad/TheMC47)
17:58:36 <HP-UX> I have to write a paper today finish it up, 3 page white paper on why zfs is better for enterprise over RAID
17:58:39 <HP-UX> :)
17:58:41 <HP-UX> Good morning
17:58:43 <HP-UX> geekosaur: thanks, I'll check that out
17:59:39 geekosaur has never had oomphy enough hardware for zfs, sadly
18:05:21 <HP-UX> It's for the technical writing class
18:05:40 <HP-UX> I gotta do white paper, letter to board members, and media presentation video
19:43:57 × sagax quits (~sagax_nb@user/sagax) (Remote host closed the connection)
19:56:33 sagax joins (~sagax_nb@user/sagax)
20:42:01 × ft quits (~ft@p3e9bc57b.dip0.t-ipconnect.de) (Remote host closed the connection)
20:43:35 ft joins (~ft@p3e9bc57b.dip0.t-ipconnect.de)
21:46:47 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
22:22:14 stackdroid18 joins (~stackdroi@user/stackdroid)
22:55:36 × chomwitt quits (~chomwitt@2a02:587:dc14:f500:baf8:17de:5af6:42e4) (Ping timeout: 264 seconds)
23:03:46 × mvk quits (~mvk@2607:fea8:5ce3:8500::778c) (Ping timeout: 246 seconds)
23:06:25 wonko joins (~wjc@2a0e:1c80:11::50)
23:22:25 mvk joins (~mvk@2607:fea8:5ce3:8500::778c)
23:29:14 <HP-UX> https://bpa.st/7ZIA does anything look odd with my xmonad.hs ? All of a sudden in KDE, now mod+p for dmenu doesn't work, mod+q to restrt xmonad doesn't work, but other keys work in xmonad, np.
23:29:30 <HP-UX> mod+q now opens up some kde activity thing
23:46:19 <geekosaur> I think you'll have to check KDE. At one time only one program could grab a given key sequence, but that changed to the last grabber winning — so it sounds like some KDE component is now grabbing mod-q away from xmonad
23:46:32 <HP-UX> :(
23:46:39 <HP-UX> I think I might stop using KDE
23:47:35 <HP-UX> I enabled some 'activities' thing for the panel yesterday and since then I've been having problems
23:47:50 <HP-UX> I restored my system to a previous snapshot, no luck. Maybe it changed some stuff in ~
23:48:00 <HP-UX> and I don't have a snapshot of home, which was my stupid mistake.
23:48:08 <geekosaur> https://docs.kde.org/trunk5/en/khelpcenter/fundamentals/kbd.html says meta-q now opens the activity center
23:48:27 <HP-UX> why would kde magically start doing this when xmonad worked just fine for years
23:48:52 <HP-UX> maybe cuz I enabled somea ctivity thign on panel but then I removed it. Maybe the setting is still there somewhere in my ~!
23:48:54 <HP-UX> I doin't know.
23:49:08 <HP-UX> I'm making a backup of ~ to my zfs mirror right now
23:49:17 <HP-UX> Then going to attempt to reinstall and do things correctly this time around
23:52:52 × wonko quits (~wjc@2a0e:1c80:11::50) (Ping timeout: 268 seconds)
23:54:35 × stackdroid18 quits (~stackdroi@user/stackdroid) (Quit: hasta la vista... tchau!)

All times are in UTC on 2022-10-02.