Home freenode/#xmonad: Logs Calendar

Logs on 2020-12-28 (freenode/#xmonad)

00:09:01 × growpotkin quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Quit: ZNC 1.8.2 - https://znc.in)
00:15:57 × notis quits (~notis@85.203.44.37) (Read error: Connection reset by peer)
00:19:04 notis joins (~notis@85.203.44.37)
00:40:06 fuzzypixelz joins (~fuzzypixe@eth-west-pareq2-46-193-4-100.wb.wifirst.net)
00:40:26 <fuzzypixelz> hello. how do I enable the gnome screensaver in xmonad?
00:56:36 × notis quits (~notis@85.203.44.37) (Ping timeout: 272 seconds)
01:01:39 × ElKowar quits (~leon@p3e9d26c7.dip0.t-ipconnect.de) (Quit: ElKowar)
01:06:27 abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
01:09:21 × abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Client Quit)
01:17:56 × fuzzypixelz quits (~fuzzypixe@eth-west-pareq2-46-193-4-100.wb.wifirst.net) (Ping timeout: 240 seconds)
01:32:59 fuzzypixelz joins (~fuzzypixe@eth-west-pareq2-46-193-4-100.wb.wifirst.net)
02:51:56 growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
03:00:49 × growpotkin quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Quit: ZNC 1.8.2 - https://znc.in)
03:07:52 × theDon quits (~td@muedsl-82-207-238-021.citykom.de) (Ping timeout: 246 seconds)
03:09:53 theDon joins (~td@94.134.91.184)
03:11:58 nithal joins (be8e899e@190.142.137.158)
03:16:12 × fuzzypixelz quits (~fuzzypixe@eth-west-pareq2-46-193-4-100.wb.wifirst.net) (Ping timeout: 260 seconds)
03:19:38 × nithal quits (be8e899e@190.142.137.158) (Remote host closed the connection)
03:30:57 fuzzypixelz joins (~fuzzypixe@eth-west-pareq2-46-193-4-100.wb.wifirst.net)
03:35:57 nithal joins (~nithal@190.142.137.158)
03:40:24 rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com)
03:42:45 nithal parts (~nithal@190.142.137.158) ()
03:43:30 nithal joins (~nithal@190.142.137.158)
03:44:34 × rekahsoft quits (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) (Remote host closed the connection)
03:45:09 rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com)
03:45:36 <nithal> /msg NickServ VERIFY REGISTER nithal ohbwnpybrcou
03:47:45 × rekahsoft quits (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) (Remote host closed the connection)
03:48:44 rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com)
03:49:52 × rekahsoft quits (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) (Remote host closed the connection)
03:50:59 rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com)
04:19:21 nithal is now known as marciano
04:20:57 marciano parts (~nithal@190.142.137.158) ()
04:22:20 marciano67 joins (be8e899e@190.142.137.158)
04:22:39 × marciano67 quits (be8e899e@190.142.137.158) (Remote host closed the connection)
04:24:35 nithal joins (be8e899e@190.142.137.158)
04:26:37 <nithal> /msg NickServ VERIFY REGISTER nithal ohbwnpybrcou
04:31:31 nithal is now known as eln
04:32:43 eln is now known as nithal
04:50:21 nithal is now known as eln
05:07:34 × rekahsoft quits (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) (Ping timeout: 256 seconds)
05:13:26 ADG1089__ joins (~aditya@223.235.213.117)
05:27:13 × ADG1089__ quits (~aditya@223.235.213.117) (Ping timeout: 264 seconds)
05:28:00 fuzzypixelz parts (~fuzzypixe@eth-west-pareq2-46-193-4-100.wb.wifirst.net) ()
05:57:09 × jchia quits (~jchia@58.32.71.163) (Quit: Leaving.)
05:58:57 jchia joins (~jchia@45.32.62.73)
06:00:48 × jchia quits (~jchia@45.32.62.73) (Remote host closed the connection)
06:01:00 jchia joins (~jchia@45.32.62.73)
06:04:27 ADG1089__ joins (~aditya@223.235.213.117)
06:07:20 × jchia quits (~jchia@45.32.62.73) (Remote host closed the connection)
06:08:26 jchia joins (~jchia@58.32.71.163)
06:28:15 tavixvi joins (3fd08b2f@63.208.139.47)
06:30:35 palo1 joins (~weechat@c-base/crew/palo)
06:33:57 × palo quits (~weechat@c-base/crew/palo) (Ping timeout: 260 seconds)
06:33:57 palo1 is now known as palo
06:51:01 × eln quits (be8e899e@190.142.137.158) (Remote host closed the connection)
07:09:32 × ADG1089__ quits (~aditya@223.235.213.117) (Ping timeout: 260 seconds)
07:10:58 ADG1089__ joins (~aditya@223.235.213.117)
07:38:03 <tavixvi> When I run 'mountpoint -q /home/tavi/mnt' from xmonad via createProcess, and wait for the exit status with waitForProcess, it always returns ExitSuccess, and I can't tell why.
07:38:22 <tavixvi> As far as I can tell, xmonad doesn't run in a separate namespace.
07:54:34 × thunderrd quits (~thunderrd@183.182.111.131) (Remote host closed the connection)
07:58:03 thunderrd joins (~thunderrd@183.182.111.131)
08:10:09 <tavixvi> I'm beginning to think there's an error being thrown in my code somewhere that's causing it to just do nothing.
08:10:21 <tavixvi> but the error isn't reported anywhere that I can see
08:10:48 × tavixvi quits (3fd08b2f@63.208.139.47) (Remote host closed the connection)
08:56:38 notis joins (~notis@85.203.44.37)
09:24:50 × ADG1089__ quits (~aditya@223.235.213.117) (Remote host closed the connection)
10:00:00 tavixvi joins (3fd08b2f@63.208.139.47)
10:00:35 <tavixvi> So I figured out xmonad cleans up child processes so I can't get their exit codes. Is there a way around that?
10:05:09 <dminuoso> What do you mean by "clean"
10:06:39 <tavixvi> it catches sigchld signals and removes the zombie process before my code can retrieve the exit code.
10:08:06 <dminuoso> What exact xmonad facility are you using to spawn your process?
10:08:15 <dminuoso> oh
10:08:53 <tavixvi> I'm just using haskell's spawnProcess and co.
10:09:15 <tavixvi> or, createProcess, my bad
10:13:17 <dminuoso> tavixvi: Mm, what if you createProcess through a shell?
10:16:56 <tavixvi> I'm not sure I follow.
10:22:20 <tavixvi> Well, there are issues for this, and some solutions. https://github.com/xmonad/xmonad/issues/113
10:26:43 thc202 joins (~thc202@unaffiliated/thc202)
10:37:32 × thc202 quits (~thc202@unaffiliated/thc202) (Quit: thc202)
10:45:54 <dminuoso> tavixvi: createProcess takes a CreateProcess, which could be built with proc or shell
10:47:44 <dminuoso> Im not very knowledgeable in POSIX, so my thought is perhaps if you roundtrip through a shell you might get an exit code that way
11:34:55 ADG1089__ joins (~aditya@223.235.213.117)
11:57:50 mc47 joins (~yecinem@89.246.239.190)
12:00:51 <mc47> liskin[m] I'll definitely be lookingin your config for per-screen bars, because I couldn't wrap my hand around the DynamicBars module
12:04:23 × ADG1089__ quits (~aditya@223.235.213.117) (Remote host closed the connection)
12:05:09 <Solid> ah look, it's another module with minimal-to-no documentation
12:06:52 <Solid> I suppose we should at least also provide property-based logging for that module as well
12:10:07 <mc47> Exactly my thoughts
12:10:36 <mc47> It's so coupled with Handles though, we'd probably need to write something new
12:19:10 <Solid> yeah you're gright
12:36:06 geekosaur joins (ac3a5347@172.58.83.71)
12:38:18 <geekosaur> tavixvi, there are alternative spawn mechanisms that deal with this in XMonad.Util.Run
12:38:47 <geekosaur> you can't use createProcess with xmonad's child handling
12:38:54 <geekosaur> at least, not directly
12:51:46 × lambdabot quits (~lambdabot@haskell/bot/lambdabot) (Quit: brb)
12:56:37 lambdabot joins (~lambdabot@haskell/bot/lambdabot)
12:56:38 ChanServ sets mode +v lambdabot
13:09:28 rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com)
13:15:32 int-e joins (~noone@int-e.eu)
13:16:17 int-e parts (~noone@int-e.eu) ()
13:31:41 <mc47> Solid btw, what do you think of an even more of makeStatusBar? Only doing `sendMessage ToggleStruts` is kinda too limiting, because it doesn't work with all layout modifiers
13:33:54 <mc47> Personally, I need more things to happen, since I'm using spacing and gaps, which means I also need to toggle those to have a nice result
13:39:10 berberman_ joins (~berberman@unaffiliated/berberman)
13:40:14 × berberman quits (~berberman@unaffiliated/berberman) (Ping timeout: 264 seconds)
13:40:22 × berberman_ quits (~berberman@unaffiliated/berberman) (Max SendQ exceeded)
13:41:16 berberman joins (~berberman@unaffiliated/berberman)
13:51:22 × lambdabot quits (~lambdabot@haskell/bot/lambdabot) (Quit: and again...)
13:53:24 lambdabot joins (~lambdabot@haskell/bot/lambdabot)
13:53:24 ChanServ sets mode +v lambdabot
13:57:04 × lambdabot quits (~lambdabot@haskell/bot/lambdabot) (Quit: oops)
13:57:35 × berberman quits (~berberman@unaffiliated/berberman) (Quit: ZNC 1.7.5 - https://znc.in)
13:57:59 berberman joins (~berberman@unaffiliated/berberman)
14:00:16 jchia__1 joins (~jchia@58.32.64.17)
14:00:59 lambdabot joins (~lambdabot@haskell/bot/lambdabot)
14:00:59 ChanServ sets mode +v lambdabot
14:01:25 × jchia__ quits (~jchia@58.32.37.146) (Ping timeout: 264 seconds)
14:09:58 × mc47 quits (~yecinem@89.246.239.190) (Read error: Connection reset by peer)
14:14:34 <Solid> ?tell mc47 at that point one may want to write their own custom solution
14:14:34 <lambdabot> Consider it noted.
14:15:24 <Solid> ?tell mc47 it would require us to add at least four more statusBar functions (statusBar, statusBar', statusBarProp, statusBarPropTo) if we don't want to break compatability with old configs
14:15:24 <lambdabot> Consider it noted.
14:15:51 <Solid> s/ata/ati/
14:25:47 mc47 joins (~yecinem@x59cc879c.dyn.telefonica.de)
14:27:46 <mc47> True, I'm already using my own solution for that
14:30:05 × tavixvi quits (3fd08b2f@63.208.139.47) (Ping timeout: 245 seconds)
14:30:36 <Solid> sadly there's probably not "one size fits all" approach here
14:31:09 <Solid> actually, re-reading your suggestion I think I misunderstood
14:31:38 <Solid> and that sounds like a good idea
14:32:15 <mc47> Solid concretely, instead of makeStatusBar, we'd have makeStatusBarWithStrutsAction and add another parameter to allow for any X () actions
14:32:18 <Solid> exposing makeStatusBar (which is currently not exported) and simply adding an "what do you want your toggle struts button to do" argument
14:32:28 <mc47> Exactly :-)
14:32:56 <Solid> I'd put that directly into makeStatusBar; it's not exported so we don't have to worry about backwards compatibility
14:33:37 <mc47> Ah right
14:34:05 <mc47> Do you think we should also add other versions of statusBar and co. ?
14:35:03 <Solid> I think that would clutter up things too much
14:35:25 <Solid> Maybe add a little note in the respective haddocks along the lines of "if you want more flexibility, use makeStatusBar"
14:35:36 <Liskni_si> at some point adding more parameters becomes confusing and it's better to just add a record type with some defaults and perhaps shortcut constructors
14:36:03 <Liskni_si> I feel like makeStatusBar is already more complex than just unrolling it manually into xmonad.hs
14:36:27 <mc47> Liskni_si that does sound better
14:37:14 <Liskni_si> (some people might say that everything can and should just be a function, but without good support for named parameters with defaults, records are often better in terms of user/dev experience)
14:39:01 <mc47> Using records does sound compelling, because it feels like the number of functions would "explode"
14:39:29 <Solid> there are only so many fields of XConfig that makeStatusBar sets ;)
14:41:27 <Solid> but perhaps you're right, this way users didn't need to guess which field of statusBar is which
14:42:01 <Solid> and the "fill out this record please" mentality is already there in much of xmonad
14:44:04 <mc47> I'll give it a go and see how it looks like
14:44:41 × geekosaur quits (ac3a5347@172.58.83.71) (Remote host closed the connection)
14:58:59 themc47 joins (~yecinem@x59cc879c.dyn.telefonica.de)
14:59:31 × mc47 quits (~yecinem@x59cc879c.dyn.telefonica.de) (Ping timeout: 256 seconds)
15:14:26 drl joins (~l@2600:1700:8360:3870::725)
15:29:25 × drl quits (~l@2600:1700:8360:3870::725) (Quit: Leaving)
15:31:35 ddellacosta joins (dd@gateway/vpn/mullvad/ddellacosta)
15:53:49 ADG1089__ joins (~aditya@223.235.213.117)
15:55:04 × ddellacosta quits (dd@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 246 seconds)
15:57:52 <Solid> ?tell geekosaur: Regarding X.H.FadeWindows ( https://github.com/xmonad/xmonad-contrib/pull/427 ): I changed the default opacity of a window to 1 instead of 0.93 and updated the documentation accordingly; since it's your module you obviously get to have the last word on this, but if you don't object I'd like to merge this at some point
15:57:52 <lambdabot> Consider it noted.
15:58:04 <Solid> whoops, I probably messed up with the : there
16:20:36 × themc47 quits (~yecinem@x59cc879c.dyn.telefonica.de) (Ping timeout: 256 seconds)
16:24:18 mc47 joins (~yecinem@89.246.239.190)
16:36:38 × ADG1089__ quits (~aditya@223.235.213.117) (Ping timeout: 264 seconds)
16:50:17 geekosaur joins (42d52137@66.213.33.55)
16:55:11 ADG1089__ joins (~aditya@223.235.213.117)
17:00:46 × ADG1089__ quits (~aditya@223.235.213.117) (Remote host closed the connection)
17:25:27 × mc47 quits (~yecinem@89.246.239.190) (Remote host closed the connection)
17:56:51 stalactite[m] joins (stalactite@gateway/shell/matrix.org/x-cboftgeftibsawca)
18:13:49 mc47 joins (~yecinem@89.246.239.190)
18:16:20 × geekosaur quits (42d52137@66.213.33.55) (Ping timeout: 245 seconds)
18:38:21 × hexo quits (~hexo@gateway/tor-sasl/hexo) (Write error: Broken pipe)
18:38:56 hexo joins (~hexo@gateway/tor-sasl/hexo)
18:41:44 geekosaur joins (42d52137@66.213.33.55)
19:03:29 berberman_ joins (~berberman@unaffiliated/berberman)
19:04:42 × berberman quits (~berberman@unaffiliated/berberman) (Ping timeout: 260 seconds)
19:05:06 × berberman_ quits (~berberman@unaffiliated/berberman) (Max SendQ exceeded)
19:05:34 berberman joins (~berberman@unaffiliated/berberman)
19:09:22 ddellacosta joins (dd@gateway/vpn/mullvad/ddellacosta)
19:34:55 × schweby quits (~quassel@lxqflm.schwe.by) (Quit: Das ist möglich, also tun wir es. Später.)
20:09:03 ADG1089__ joins (~aditya@223.235.213.117)
20:10:48 schweby joins (~quassel@lxqflm.schwe.by)
20:18:10 × al3x27 quits (~plovs@85.254.74.40) (Quit: WeeChat 2.9)
21:03:24 × notis quits (~notis@85.203.44.37) (Ping timeout: 260 seconds)
21:04:56 notis joins (~notis@212.54.207.241.dsl.dyn.forthnet.gr)
21:43:09 × geekosaur quits (42d52137@66.213.33.55) (Remote host closed the connection)
21:47:45 × ADG1089__ quits (~aditya@223.235.213.117) (Remote host closed the connection)
22:24:11 × mc47 quits (~yecinem@89.246.239.190) (Remote host closed the connection)
23:26:29 × ericsagnes quits (~ericsagne@2405:6580:0:5100:f3bd:76da:a01c:8f3f) (Ping timeout: 268 seconds)
23:30:56 ericsagnes joins (~ericsagne@2405:6580:0:5100:bed2:c8ad:c296:966c)
23:33:42 × coldpress quits (~coldpress@128.9.105.34.bc.googleusercontent.com) (Ping timeout: 256 seconds)
23:39:26 × ericsagnes quits (~ericsagne@2405:6580:0:5100:bed2:c8ad:c296:966c) (Ping timeout: 268 seconds)
23:40:53 tavixvi joins (3fd08b2f@63.208.139.47)
23:42:12 × notis quits (~notis@212.54.207.241.dsl.dyn.forthnet.gr) (Ping timeout: 256 seconds)
23:42:36 notis joins (~notis@85.203.44.37)
23:56:48 Natch joins (~natch@85.226.113.180)

All times are in UTC on 2020-12-28.