2022/05/27

2022-05-27 00:26:31 +0200dcleonarski(~user@2804:d51:479c:4300:c312:71c1:ee9b:86ea) (Remote host closed the connection)
2022-05-27 00:26:39 +0200dcleonarski(~user@2804:d51:479c:4300:c312:71c1:ee9b:86ea)
2022-05-27 00:32:10 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 240 seconds)
2022-05-27 00:40:16 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-05-27 00:51:47 +0200dcleonarski(~user@2804:d51:479c:4300:c312:71c1:ee9b:86ea) (Ping timeout: 240 seconds)
2022-05-27 01:14:44 +0200aliosablack(~chomwitt@80.106.160.253) (Ping timeout: 255 seconds)
2022-05-27 01:23:41 +0200 <spider_> hey folks, I just want to get the number of windows in the current workspace - there's this solution floating around on the internet
2022-05-27 01:23:43 +0200 <spider_> windowCount = gets $ Just . show . length . W.integrate' . W.stack . W.workspace . W.current . windowset
2022-05-27 01:24:05 +0200 <spider_> just wondering if there's a shorter/nicer way or if this is the "normal" way of doing it
2022-05-27 01:26:18 +0200 <geekosaur> gets $ fmap length . W.integrate' . W.stack . W.workspace . W.current . windowset
2022-05-27 01:26:35 +0200 <geekosaur> Ihave no idea what the rest of that is supposed to be doing
2022-05-27 01:26:50 +0200 <geekosaur> actually, hm, no fmap there
2022-05-27 01:27:10 +0200 <geekosaur> empty list if no stack, so length works as is
2022-05-27 01:27:11 +0200 <spider_> https://stackoverflow.com/a/62075879
2022-05-27 01:27:14 +0200 <spider_> ah these ones are super short
2022-05-27 01:27:24 +0200 <spider_> winCount = length . W.index . windowset <$> get
2022-05-27 01:27:40 +0200 <spider_> yeah I wasn't sure why `Just` was shoved in
2022-05-27 01:28:30 +0200 <geekosaur> right, that makes sense
2022-05-27 01:28:36 +0200 <geekosaur> or why show was mixed in
2022-05-27 01:28:43 +0200 <spider_> yeah lol
2022-05-27 01:28:51 +0200 <spider_> time to go read the docs and see what the heck index does
2022-05-27 01:29:19 +0200 <spider_> O(s). Extract the stack on the current workspace, as a list. The order of the stack is determined by the master window -- it will be the head of the list. The implementation is given by the natural integration of a one-hole list cursor, back to a list.
2022-05-27 01:29:45 +0200 <geekosaur> unless they're after a Maybe String for ppExtras
2022-05-27 01:29:58 +0200 <spider_> yeah it was displayed in xmobar so it's likely
2022-05-27 01:30:35 +0200 <spider_> I learned some haskell and started rewriting from scratch, this time I'm trying to understand every function
2022-05-27 02:02:20 +0200tremontremon_
2022-05-27 02:51:17 +0200stackdroid18(14094@user/stackdroid) (Quit: hasta la vista... tchau!)
2022-05-27 02:54:45 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-05-27 02:56:17 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-05-27 03:10:00 +0200benin(~benin@183.82.205.79)
2022-05-27 03:31:15 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-05-27 03:34:35 +0200bla(~bla@79.191.246.243.ipv4.supernova.orange.pl) (Ping timeout: 256 seconds)
2022-05-27 03:36:03 +0200bla(~bla@79.191.250.31.ipv4.supernova.orange.pl)
2022-05-27 03:49:33 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-05-27 04:03:30 +0200banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 240 seconds)
2022-05-27 04:24:16 +0200banc(banc@gateway/vpn/airvpn/banc)
2022-05-27 05:27:14 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 246 seconds)
2022-05-27 05:29:21 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-05-27 06:50:03 +0200jludwig(~justin@li657-110.members.linode.com) (Quit: ZNC - https://znc.in)
2022-05-27 06:51:02 +0200jludwig(~justin@li657-110.members.linode.com)
2022-05-27 06:52:25 +0200jludwig(~justin@li657-110.members.linode.com) (Changing host)
2022-05-27 06:52:25 +0200jludwig(~justin@user/jludwig)
2022-05-27 06:54:41 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2022-05-27 06:54:43 +0200allbery_b(~geekosaur@xmonad/geekosaur)
2022-05-27 06:54:46 +0200allbery_bgeekosaur
2022-05-27 07:00:50 +0200 <Solid> spider_: index pretty much just does what you did by hand above: `maybe [] W.integrate . W.stack . W.workspace . W.current`
2022-05-27 07:06:39 +0200spaceseller(~spacesell@31.147.205.13)
2022-05-27 07:13:10 +0200 <spaceseller> ok, i solved everything in xmonad as I wished, except one wierd thing about keyboard. Namely, I put 'setxkbmap hr' in .bashrc file. I got wished keyboard layout but after I open terminal. Till then I have 'ch'. With xfce I don't have the problem
2022-05-27 07:17:32 +0200 <[Leary]> .bashrc runs on start of an interactive bash shell; only running upon opening a terminal is correct.
2022-05-27 07:19:28 +0200spaceseller(~spacesell@31.147.205.13) (Remote host closed the connection)
2022-05-27 07:22:34 +0200spaceseller(~spacesell@31.147.205.13)
2022-05-27 07:23:42 +0200 <[Leary]> You can run a script in your startup hook instead. I'm not sure about putting it in ... what was it, .bash_profile?
2022-05-27 07:37:16 +0200 <spaceseller> Not sure what do you mean by that. LightDM shows hr, xfce the same, only xmonad shows 'ch'. You mean start as a service, systemctl?
2022-05-27 07:37:50 +0200 <spaceseller> or in xmonad.hs?
2022-05-27 07:41:11 +0200 <[Leary]> spaceseller: I mean that xfce or lightdm or whatnot are running your .bashrc when in principle they actually shouldn't.
2022-05-27 07:41:27 +0200 <[Leary]> I meant startupHook in xmonad.hs, but there are any number of ways.
2022-05-27 07:45:50 +0200 <spaceseller> ok, so what is your suggestion, to delete it from .bashrc and put it into xmonad.hs? I thought that it needs to be before lightdm.
2022-05-27 07:49:50 +0200 <[Leary]> If you need it before lightdm then it's well out of xmonad's domain; that's system or lightdm configuration. I'm surprised putting it in .bashrc ever worked.
2022-05-27 07:57:12 +0200 <spaceseller> but xmonad somehow change it.
2022-05-27 07:58:07 +0200aliosablack(~chomwitt@2a02:587:dc05:e000:904f:df51:bc87:e667)
2022-05-27 08:03:10 +0200 <[Leary]> I presume xfce ran .bashrc on login, as said before. That should be the only difference, which is why I suggested running a script on xmonad's startup. But if you want to setxkbmap before xmonad or xfce have even started, it shouldn't have much to do with either of them.
2022-05-27 08:08:02 +0200 <spaceseller> ok, thank you very much.
2022-05-27 08:09:48 +0200 <spaceseller> where then you suggest to put it before xmonad or xfce? I tried in /etc/X11/xinit/xinitrc without effect.
2022-05-27 08:10:12 +0200 <spaceseller> as well as in ~/.xinitrc
2022-05-27 08:11:29 +0200 <[Leary]> It all depends on your system and how you start X. Best to ask in the channel for your distro (or google).
2022-05-27 08:12:30 +0200 <spaceseller> ok. So xmonad will not change it. Thnx
2022-05-27 08:15:02 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 255 seconds)
2022-05-27 08:15:50 +0200 <spider_> Solid: ah thank you
2022-05-27 09:04:36 +0200cfricke(~cfricke@user/cfricke)
2022-05-27 09:58:56 +0200spaceseller(~spacesell@31.147.205.13) (Remote host closed the connection)
2022-05-27 10:15:22 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 258 seconds)
2022-05-27 10:36:25 +0200spaceseller(~spacesell@31.147.205.13)
2022-05-27 10:39:10 +0200 <spaceseller> just to let you know I need to put the setxkmap in the StartupHook in xmonad.hs. Namely my localectl was System Locale: LANG=en_US.UTF-8
2022-05-27 10:39:10 +0200 <spaceseller> VC Keymap: croat
2022-05-27 10:39:10 +0200 <spaceseller> X11 Layout: hr
2022-05-27 10:39:40 +0200 <spaceseller> but in xmonad I didn't get diacritic characters
2022-05-27 10:41:34 +0200 <spaceseller> like šđčćž
2022-05-27 10:50:42 +0200spaceseller(~spacesell@31.147.205.13) (Quit: Leaving)
2022-05-27 11:56:13 +0200cfricke(~cfricke@user/cfricke) (Read error: Connection reset by peer)
2022-05-27 11:58:32 +0200cfricke(~cfricke@user/cfricke)
2022-05-27 13:31:41 +0200Solid(~slot@xmonad/slotThe) (Quit: Connection reset by pear)
2022-05-27 13:38:14 +0200Solid(~slot@xmonad/slotThe)
2022-05-27 14:37:13 +0200cesarsl(~cesarsl@2804:2530:e114:8700:aaa1:59ff:fe75:4321)
2022-05-27 14:42:33 +0200diep(~diep@2a04:c43:e00:6f28:4a9:38ff:fe00:2e4)
2022-05-27 14:43:31 +0200cesarsl(~cesarsl@2804:2530:e114:8700:aaa1:59ff:fe75:4321) (Quit: WeeChat 3.5)
2022-05-27 15:47:27 +0200tremon_tremon
2022-05-27 16:11:11 +0200mvk(~mvk@2607:fea8:5ce3:8500::ba9a)
2022-05-27 16:38:52 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-05-27 16:40:29 +0200srz(~srz@157.92.6.58)
2022-05-27 16:40:37 +0200srz_(~srz@157.92.6.58)
2022-05-27 16:42:07 +0200srz_(~srz@157.92.6.58) (Remote host closed the connection)
2022-05-27 16:42:08 +0200srz(~srz@157.92.6.58) (Remote host closed the connection)
2022-05-27 17:14:34 +0200diep(~diep@2a04:c43:e00:6f28:4a9:38ff:fe00:2e4) (Remote host closed the connection)
2022-05-27 17:27:59 +0200cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.5)
2022-05-27 18:00:32 +0200liskin[m](~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
2022-05-27 18:20:03 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-05-27 18:53:17 +0200benin(~benin@183.82.205.79) (Ping timeout: 246 seconds)
2022-05-27 18:54:35 +0200benin(~benin@2401:4900:2323:6c4b:5923:ae7:d378:d557)
2022-05-27 19:05:58 +0200arjun(~arjun@user/arjun)
2022-05-27 19:06:56 +0200benin8(~benin@183.82.25.126)
2022-05-27 19:08:58 +0200benin(~benin@2401:4900:2323:6c4b:5923:ae7:d378:d557) (Ping timeout: 258 seconds)
2022-05-27 19:08:59 +0200benin8benin
2022-05-27 19:20:38 +0200arjun(~arjun@user/arjun) (Remote host closed the connection)
2022-05-27 20:02:37 +0200stonedHash
2022-05-27 20:31:55 +0200mvk(~mvk@2607:fea8:5ce3:8500::ba9a) (Quit: Going elsewhere)
2022-05-27 20:32:55 +0200mvk(~mvk@2607:fea8:5ce3:8500::ba9a)
2022-05-27 21:12:10 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 244 seconds)
2022-05-27 21:45:29 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-05-27 21:45:58 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Client Quit)
2022-05-27 21:46:51 +0200dcleonarski(~user@2804:d51:479c:4300:c312:71c1:ee9b:86ea)
2022-05-27 23:39:07 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-05-27 23:41:37 +0200dcleonarski(~user@2804:d51:479c:4300:c312:71c1:ee9b:86ea) (Ping timeout: 260 seconds)