2020/12/03

2020-12-03 00:34:35 +0100gazler_(~gazler@2001:8b0:b165:a8d2:1553:5c63:3022:700e) (Remote host closed the connection)
2020-12-03 00:34:57 +0100gazler_(~gazler@2001:8b0:b165:a8d2:1553:5c63:3022:700e)
2020-12-03 00:37:36 +0100seschwar_(~seschwar@unaffiliated/seschwar) (Ping timeout: 240 seconds)
2020-12-03 01:08:24 +0100Rockj(~rockj@2001:67c:550:feed::1) (Ping timeout: 240 seconds)
2020-12-03 01:13:45 +0100notis(~notis@185.51.134.222) (Ping timeout: 240 seconds)
2020-12-03 01:24:08 +0100Rockj(~rockj@2001:67c:550:feed::1)
2020-12-03 01:24:32 +0100sagax(~sagax_nb@213.138.71.146) (Quit: Konversation terminated!)
2020-12-03 01:36:46 +0100thc202(~thc202@unaffiliated/thc202) (Ping timeout: 244 seconds)
2020-12-03 01:49:07 +0100rabliatu(~quassel@107.158.96.163)
2020-12-03 02:18:22 +0100SpiderPig(~matt@047-132-233-190.res.spectrum.com) (Ping timeout: 246 seconds)
2020-12-03 02:24:54 +0100SpiderPig(~matt@047-132-233-190.res.spectrum.com)
2020-12-03 03:08:49 +0100fionnan(~fionnan@109.255.20.201)
2020-12-03 03:19:26 +0100james(~james@d75-159-1-216.abhsia.telus.net)
2020-12-03 03:19:45 +0100jamesGuest3622
2020-12-03 03:21:06 +0100jamik(~james@d75-159-1-216.abhsia.telus.net)
2020-12-03 03:21:24 +0100Guest3622(~james@d75-159-1-216.abhsia.telus.net) (Remote host closed the connection)
2020-12-03 03:21:25 +0100jamik(~james@d75-159-1-216.abhsia.telus.net) (Remote host closed the connection)
2020-12-03 03:21:55 +0100jamik(~james@d75-159-1-216.abhsia.telus.net)
2020-12-03 03:25:39 +0100 <jamik> Hey guys I'd love to switch to xmonad but I want to keep my keybindings separate (via a hotkey daemon such as sxhkd). I'm wondering if anybody does this with xmonad and if they have run into any troubles
2020-12-03 03:26:42 +0100 <jamik> I'd also like some basic IPC to control xmonad from other processes. I haven't looked into it enough to know if that's an easy thing to do yet
2020-12-03 03:48:44 +0100 <fizzie> There's https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Hooks-ServerMode.html for that kind of thing -- runs by sending X client events.
2020-12-03 03:49:34 +0100 <fizzie> (And https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Hooks-EwmhDesktops.html allows for some forms of control in terms of desktop switching and window movement, through tools that manipulate the standard EWMH hints.)
2020-12-03 03:50:50 +0100 <jamik> Ah amazing! I thought someone had probably done something along these lines, thanks fizzie :)
2020-12-03 03:52:08 +0100 <fizzie> As for not having XMonad be responsible for keybindings, can't really comment on that, other than I'd expect it to work insofar as XMonad only grabs those keys you configure it to grab. But most of the xmonad-contrib ecosystem will probably expect you to invoke it via XMonad keybindings (when it's the sort of thing that needs keybindings in the first place).
2020-12-03 03:53:19 +0100 <jamik> Yeah I'm looking at these links to see if I can offload bindings to be interpretted by a servermode hook
2020-12-03 03:53:54 +0100 <jamik> It may not be worth the effort but I'm curious about it regardless
2020-12-03 03:58:48 +0100 <fizzie> In the end, the ServerMode event hook ends up running an arbitrary `X ()`, just like a keybinding would, so I think it's likely to mostly work. Where I guess you might run into some issues are "interactive" features like XMonad.Actions.GridSelect. Though that does its own temporary keyboard/pointer grab, so maybe even that would work; and maybe you don't care about that anyway.
2020-12-03 03:59:59 +0100 <jamik> Luckily my usage is very minimal so I won't have to worry about too many fancy features or contrib packages
2020-12-03 04:00:00 +0100 <fizzie> Just feels generally a little odd thing to do on first glance. But it's a free, uh... program. (Wanted to say something more punny like "it's a free monad", but that sounds a bit too much like it could be a real thing.)
2020-12-03 04:01:00 +0100 <fizzie> (Apparently a free monad is just "a free object relative to a forgetful functor whose domain is a category of monads", according to the internet.)
2020-12-03 04:04:07 +0100 <jamik> Yeah it is odd haha. And it's not really portable even if I keep the separation of bindings because the WM-related bindings would still have to invoke a xmonad servermode hook rather than a general operation
2020-12-03 04:27:53 +0100Temer(bd7ab158@189.122.177.88)
2020-12-03 04:36:05 +0100theDon(~td@94.134.91.130) (Ping timeout: 240 seconds)
2020-12-03 04:38:20 +0100theDon(~td@muedsl-82-207-238-021.citykom.de)
2020-12-03 04:41:09 +0100materiyolo(~materiyol@112.204.171.225)
2020-12-03 04:51:16 +0100materiyolo(~materiyol@112.204.171.225) (Read error: Connection reset by peer)
2020-12-03 04:58:11 +0100jamik(~james@d75-159-1-216.abhsia.telus.net) (Remote host closed the connection)
2020-12-03 05:00:02 +0100haasn(~nand@mpv/developer/haasn) (Quit: ZNC 1.7.5+deb4 - https://znc.in)
2020-12-03 05:01:22 +0100haasn(~nand@mpv/developer/haasn)
2020-12-03 05:02:48 +0100novas0x2a(~blah@157-131-125-210.fiber.dynamic.sonic.net) (Quit: Leaving.)
2020-12-03 05:03:34 +0100novas0x2a(~blah@157-131-125-210.fiber.dynamic.sonic.net)
2020-12-03 05:50:05 +0100ddellacosta(dd@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 256 seconds)
2020-12-03 05:59:19 +0100drl(~l@2600:1700:8360:3870::725) (Quit: Leaving)
2020-12-03 06:05:52 +0100materiyolo(~materiyol@112.204.171.225)
2020-12-03 06:22:24 +0100crealisti(~disco6985@2001:ac8:92:a:0:1:73e:2265) (Remote host closed the connection)
2020-12-03 07:01:38 +0100nullheroes(~danielvu@168.235.66.22) (Ping timeout: 256 seconds)
2020-12-03 07:04:05 +0100plantations(~stalled@2001:ac8:92:a:0:1:73e:2265)
2020-12-03 07:11:18 +0100nullheroes(~danielvu@168.235.66.22)
2020-12-03 07:15:11 +0100palo1(~weechat@c-base/crew/palo)
2020-12-03 07:15:56 +0100nullheroes(~danielvu@168.235.66.22) (Ping timeout: 240 seconds)
2020-12-03 07:18:38 +0100palo(~weechat@c-base/crew/palo) (Ping timeout: 256 seconds)
2020-12-03 07:18:38 +0100palo1palo
2020-12-03 07:29:16 +0100materiyolo(~materiyol@112.204.171.225) (Read error: Connection reset by peer)
2020-12-03 07:30:41 +0100nullheroes(~danielvu@168.235.66.22)
2020-12-03 07:48:54 +0100sagax(~sagax_nb@213.138.71.146)
2020-12-03 08:25:02 +0100growpotkin(~growpotki@130-45-30-154.dyn.grandenetworks.net) (Quit: ZNC 1.8.2 - https://znc.in)
2020-12-03 09:18:03 +0100notis(~notis@185.51.134.222)
2020-12-03 09:31:06 +0100oxide(~lambda@unaffiliated/mclaren)
2020-12-03 09:31:25 +0100 <oxide> hi, how can i paste from clipboard in xmonad prompts?
2020-12-03 09:33:51 +0100gazler_gazler
2020-12-03 09:59:16 +0100cfricke(~cfricke@unaffiliated/cfricke)
2020-12-03 10:12:49 +0100berberman_(~berberman@unaffiliated/berberman)
2020-12-03 10:13:38 +0100berberman(~berberman@unaffiliated/berberman) (Ping timeout: 260 seconds)
2020-12-03 10:29:28 +0100davemq(~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net) (Ping timeout: 265 seconds)
2020-12-03 10:35:25 +0100davemq(~davemq@2600:1700:b1c0:2580:cff1:7c10:c5a4:57e0)
2020-12-03 10:47:14 +0100thc202(~thc202@unaffiliated/thc202)
2020-12-03 11:12:17 +0100oxide(~lambda@unaffiliated/mclaren) (Quit: oxide)
2020-12-03 11:38:13 +0100Temer(bd7ab158@189.122.177.88) (Remote host closed the connection)
2020-12-03 12:00:51 +0100cfricke(~cfricke@unaffiliated/cfricke) (Quit: WeeChat 2.9)
2020-12-03 12:01:36 +0100cfricke(~cfricke@unaffiliated/cfricke)
2020-12-03 12:36:59 +0100cfricke(~cfricke@unaffiliated/cfricke) (Quit: WeeChat 2.9)
2020-12-03 12:47:44 +0100 <kmicu> @tell jamik No issues here with xbindkeys so it Just Works™.
2020-12-03 12:47:44 +0100 <lambdabot> Consider it noted.
2020-12-03 13:10:18 +0100cfricke(~cfricke@unaffiliated/cfricke)
2020-12-03 13:36:08 +0100doct0rhu(~orctarorg@pool-72-88-158-154.nwrknj.fios.verizon.net) (Remote host closed the connection)
2020-12-03 13:38:54 +0100Nahra(~Nahra@unaffiliated/nahra)
2020-12-03 14:08:28 +0100tomsmeding(~tomsmedin@tomsmeding.com) (Quit: ZNC 1.7.5 - https://znc.in)
2020-12-03 14:08:48 +0100tomsmeding(~tomsmedin@tomsmeding.com)
2020-12-03 14:09:36 +0100sdx23(~sdx23@unaffiliated/sdx23) (Ping timeout: 240 seconds)
2020-12-03 14:12:50 +0100sdx23(~sdx23@unaffiliated/sdx23)
2020-12-03 14:15:52 +0100geekosaur(82659a09@host154-009.vpn.uakron.edu)
2020-12-03 14:20:16 +0100rabliatu(~quassel@107.158.96.163) (Ping timeout: 240 seconds)
2020-12-03 15:06:51 +0100sagax(~sagax_nb@213.138.71.146) (Read error: Connection reset by peer)
2020-12-03 15:11:28 +0100cfricke(~cfricke@unaffiliated/cfricke) (Quit: WeeChat 2.9)
2020-12-03 15:46:06 +0100geekosaur(82659a09@host154-009.vpn.uakron.edu) (Remote host closed the connection)
2020-12-03 15:57:58 +0100malook(~Thunderbi@5.108.42.152)
2020-12-03 16:31:56 +0100hexo(~hexo@gateway/tor-sasl/hexo)
2020-12-03 16:54:00 +0100Zetagon(~leo@c151-177-52-233.bredband.comhem.se)
2020-12-03 17:04:18 +0100malook(~Thunderbi@5.108.42.152) (Quit: malook)
2020-12-03 17:05:25 +0100Zetagon(~leo@c151-177-52-233.bredband.comhem.se) (Ping timeout: 240 seconds)
2020-12-03 17:06:26 +0100Zetagon(~leo@c151-177-52-233.bredband.comhem.se)
2020-12-03 17:12:14 +0100seschwar(~seschwar@unaffiliated/seschwar)
2020-12-03 17:18:03 +0100Temer(bd7ab158@189.122.177.88)
2020-12-03 17:19:22 +0100Temer(bd7ab158@189.122.177.88) (Remote host closed the connection)
2020-12-03 17:22:08 +0100sfrique(~sfrique@189.122.177.88)
2020-12-03 17:26:16 +0100 <sfrique> hello, how can i set a VAR and use it on a spawn script later on?
2020-12-03 17:26:37 +0100 <sfrique> i want this so i don't need to create a separated scripts and keep most of the setup inside the config itself
2020-12-03 17:26:58 +0100 <sfrique> an example
2020-12-03 17:27:22 +0100 <sfrique> ("<Print>", spawn "maim | tee $SCREENSHOT_DIR/$(date +screenshot_%Y%m%d_%Hh%Mm%Ss.png) | xclip -selection clipboard -t image/png && notify-send "screenshot saved: $SCREENSHOT_DIR""
2020-12-03 17:41:36 +0100Zetagon(~leo@c151-177-52-233.bredband.comhem.se) (Ping timeout: 272 seconds)
2020-12-03 17:43:01 +0100sagax(~sagax_nb@213.138.71.146)
2020-12-03 17:45:09 +0100 <Solid> you mean a normal variable? or an actual environment variable?
2020-12-03 17:46:34 +0100 <Solid> there is System.Environment.setEnv with which you can set environment variables
2020-12-03 17:46:52 +0100 <Solid> that module also has lookupEnv, with which to look these up
2020-12-03 17:47:53 +0100 <Solid> but if you want to keep everything inside xmonad I guess you could just do `screenshotDir = "/path/to/dir/"`, unless I'm misunderstanding what you're trying to do
2020-12-03 17:50:31 +0100 <sfrique> i want to keep everything in xmonad
2020-12-03 17:51:07 +0100 <sfrique> cool, so it's a simple set, and how do i use it inside the spawm "..." ?
2020-12-03 17:52:33 +0100 <Solid> you have to concatenate the strings, so `spawn $ "blah blah" ++ screenshotDir ++ "blah blah"`
2020-12-03 17:52:56 +0100 <sfrique> just fount how to contcatenate string on haskel docs! thanks!
2020-12-03 17:53:06 +0100 <Solid> \o/
2020-12-03 18:10:36 +0100hexo-(~hexo@83.167.228.130) (Ping timeout: 240 seconds)
2020-12-03 18:29:07 +0100geekosaur(82659a09@host154-009.vpn.uakron.edu)
2020-12-03 18:40:42 +0100hexo-(~hexo@83.167.228.130)
2020-12-03 18:41:59 +0100 <sfrique> anyone can help me debug why my browser (brave) when on full screen is cutting some of the text?
2020-12-03 18:42:52 +0100 <sfrique> if i change the layout (while in full screen) it fixes it
2020-12-03 18:48:11 +0100 <Solid> this sounds like chrome not playing by the rules, possibly related to this https://github.com/xmonad/xmonad-contrib/pull/403 pr?
2020-12-03 18:51:59 +0100 <sfrique> yes seems like it
2020-12-03 18:52:27 +0100 <geekosaur> well, except that pr is about xmonad not playing by the rules :) ("fake fullscreen")
2020-12-03 18:54:10 +0100 <Solid> oh is it? interesting
2020-12-03 18:54:45 +0100 <geekosaur> it's about chrome requesting fullscreen, getting a large but not fullscreen window, and going on drawing as if it were fullscreen
2020-12-03 18:55:04 +0100 <geekosaur> and being sent a 1px resize to make it fit to the window properly
2020-12-03 18:55:49 +0100 <Solid> aha I see
2020-12-03 18:56:30 +0100rabliatu(~quassel@107.158.96.11)
2020-12-03 19:00:52 +0100growpotkin(~growpotki@130-45-30-154.dyn.grandenetworks.net)
2020-12-03 19:26:51 +0100sfrique(~sfrique@189.122.177.88) (Remote host closed the connection)
2020-12-03 19:57:10 +0100geekosaur(82659a09@host154-009.vpn.uakron.edu) (Ping timeout: 245 seconds)
2020-12-03 20:03:34 +0100berberman(~berberman@unaffiliated/berberman)
2020-12-03 20:04:50 +0100berberman_(~berberman@unaffiliated/berberman) (Ping timeout: 264 seconds)
2020-12-03 20:14:29 +0100notis(~notis@185.51.134.222) (Read error: Connection reset by peer)
2020-12-03 20:18:06 +0100geekosaur(82659a09@host154-009.vpn.uakron.edu)
2020-12-03 20:21:20 +0100 <geekosaur> the downside of logging this channel is it's painfully obvious how little traffic there is >.>
2020-12-03 21:00:48 +0100Zetagon(~leo@c151-177-52-233.bredband.comhem.se)
2020-12-03 21:07:49 +0100 <Solid> hah, that is true
2020-12-03 21:07:56 +0100 <Solid> although I'm glad it's not as fast as, say, #haskell
2020-12-03 21:08:07 +0100 <Solid> though a little more activity couldn't hurt :/
2020-12-03 21:45:23 +0100Nahra(~Nahra@unaffiliated/nahra) (Quit: leaving)
2020-12-03 22:19:28 +0100xaltsc(~xaltsc@unaffiliated/xaltsc) (Quit: WeeChat 3.0)
2020-12-03 22:19:53 +0100xaltsc(~xaltsc@unaffiliated/xaltsc)
2020-12-03 22:30:39 +0100notis(~notis@185.51.134.222)
2020-12-03 22:39:21 +0100Zetagon(~leo@c151-177-52-233.bredband.comhem.se) (Remote host closed the connection)
2020-12-03 22:42:22 +0100geekosaur(82659a09@host154-009.vpn.uakron.edu) (Remote host closed the connection)
2020-12-03 23:19:28 +0100thc202(~thc202@unaffiliated/thc202) (Quit: thc202)
2020-12-03 23:24:49 +0100sagax(~sagax_nb@213.138.71.146) (Remote host closed the connection)
2020-12-03 23:54:45 +0100novas0x2a(~blah@157-131-125-210.fiber.dynamic.sonic.net) (Ping timeout: 240 seconds)
2020-12-03 23:56:45 +0100cynapse(~chris@d24-141-165-72.home.cgocable.net)