Home liberachat/#xmonad: Logs Calendar

Logs on 2021-07-28 (liberachat/#xmonad)

00:30:02 berberman joins (~berberman@user/berberman)
01:41:05 feroli joins (~feroli@186.232.107.17)
01:41:16 <feroli> hi
01:41:28 <geekosaur> hello
01:43:28 <feroli> I'm having a problem with the FloatKeys extension, can anyone help me?
01:45:56 <geekosaur> can you explain your problem?
01:49:56 <feroli> Literal -20 is out of the GHC.Word.Word32 range 0..4294967295
01:53:48 <feroli> error file: https://paste.c-net.org/SeizuresConceal
01:59:07 <feroli> does anyone know how to solve?
02:02:04 <geekosaur> i'm looking
02:02:50 <geekosaur> I don't see a quick solution, I do think it shouldn't be using type D with potentially negative numbers but that won't help you
02:03:22 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
02:06:57 × cjb quits (~cjb@user/cjb) (Quit: rcirc on GNU Emacs 28.0.50)
02:09:58 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
02:15:50 × bla quits (~bla@89-67-84-220.dynamic.chello.pl) (Ping timeout: 256 seconds)
02:19:20 geekosaur joins (~geekosaur@xmonad/geekosaur)
02:20:39 <geekosaur> so ghc added a bounds check on that type at some point. you'll need to add 1 and then subtract from 4294967295. ugly
02:21:29 <geekosaur> the correct fix is to make all those types in FloatKeys take a tuple of Ints. I'll file a bug
02:22:37 <feroli> thank you very much for your attention
02:23:05 banc joins (banc@gateway/vpn/airvpn/banc)
02:29:46 bla joins (~bla@89-67-84-220.dynamic.chello.pl)
02:34:21 × feroli quits (~feroli@186.232.107.17) (Quit: Client closed)
03:00:55 × td_ quits (~td@muedsl-82-207-238-215.citykom.de) (Ping timeout: 265 seconds)
03:02:31 td_ joins (~td@muedsl-82-207-238-200.citykom.de)
03:06:14 <fizzie> > fromInteger (-20) :: Word32 -- maybe would have also worked as a workaround?
03:06:15 <lambdabot> 4294967276
03:08:45 cjb joins (~cjb@user/cjb)
05:12:14 × aegon quits (~mike@174.127.249.180) (Read error: Connection reset by peer)
05:21:49 <Solid> liskin: I didn't enable anything, must've happened by itself
05:40:28 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
05:47:13 geekosaur joins (~geekosaur@xmonad/geekosaur)
06:10:23 × bla quits (~bla@89-67-84-220.dynamic.chello.pl) (Ping timeout: 265 seconds)
06:15:12 bla joins (~bla@89-67-84-220.dynamic.chello.pl)
06:30:59 × cjb quits (~cjb@user/cjb) (Quit: rcirc on GNU Emacs 28.0.50)
08:17:48 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
08:17:48 allbery_b joins (~geekosaur@xmonad/geekosaur)
08:17:51 allbery_b is now known as geekosaur
08:44:50 qbt joins (~edun@user/edun)
08:49:26 × qbt quits (~edun@user/edun) (Client Quit)
08:50:14 qbt joins (~edun@user/edun)
08:50:14 × qbt quits (~edun@user/edun) (Client Quit)
08:50:43 qbt joins (~edun@user/edun)
09:24:57 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
09:28:40 geekosaur joins (~geekosaur@xmonad/geekosaur)
10:05:07 cfricke joins (~cfricke@user/cfricke)
10:39:17 × berberman quits (~berberman@user/berberman) (Ping timeout: 245 seconds)
10:39:22 berberman_ joins (~berberman@user/berberman)
10:47:51 Nightrain joins (~Night@180.252.201.208)
10:48:22 Nightrain parts (~Night@180.252.201.208) ()
10:50:43 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 265 seconds)
11:13:39 × thedward[m] quits (~thedwardm@2001:470:69fc:105::f79) (Quit: You have been idle for 30+ days)
12:05:45 <unrooted> Hi, I have a problem with running custom script in xmobar, it hangs up on `Updating...`, what shall I do?
12:05:53 <unrooted> reloading xmonad and xmobar doesn't work, sadly :/
12:17:06 <sibi> Quiting (killing) the current xmonad session and starting a new one usually fixes that for me.
12:50:40 <unrooted> will try
12:50:56 <unrooted> also, is there xmonad+xmobar pywal Support?
12:52:22 × Lehvak[m] quits (~lehvakmat@2001:470:69fc:105::469) (Quit: You have been idle for 30+ days)
12:52:27 × lyiriyah[m] quits (~lyiriyahm@2001:470:69fc:105::cc0) (Quit: You have been idle for 30+ days)
12:52:27 × poyidag921[m] quits (~poyidag92@2001:470:69fc:105::221d) (Quit: You have been idle for 30+ days)
12:52:27 × sfrique[m] quits (~sfriquema@2001:470:69fc:105::3f27) (Quit: You have been idle for 30+ days)
12:52:32 × zenity_bro[m] quits (~zenitybro@2001:470:69fc:105::160f) (Quit: You have been idle for 30+ days)
12:52:32 × r0cket2510[m] quits (~r0cket251@2001:470:69fc:105::e00) (Quit: You have been idle for 30+ days)
12:52:32 × AhmedAl-Hamed[m] quits (~asalhamed@2001:470:69fc:105::a2c) (Quit: You have been idle for 30+ days)
12:52:32 × EdwardTjrnhammar quits (~edwtjofai@2001:470:69fc:105::3cb) (Quit: You have been idle for 30+ days)
12:52:32 × fakecrafter[m] quits (~fakecraft@2001:470:69fc:105::a38) (Quit: You have been idle for 30+ days)
12:52:32 × ElKowar[m] quits (~elkowarma@2001:470:69fc:105::392) (Quit: You have been idle for 30+ days)
12:52:32 × issadarkthing[m] quits (~issadarkt@2001:470:69fc:105::a41) (Quit: You have been idle for 30+ days)
12:52:32 × justinrestivo[m] quits (~justinres@2001:470:69fc:105::a47) (Quit: You have been idle for 30+ days)
12:52:32 × ph_0x17[m] quits (~ph0x17mat@2001:470:69fc:105::a53) (Quit: You have been idle for 30+ days)
12:52:32 × pavelthebest[m] quits (~paveltheb@2001:470:69fc:105::a52) (Quit: You have been idle for 30+ days)
12:52:32 × therivercass[m] quits (~theriverc@2001:470:69fc:105::a5a) (Quit: You have been idle for 30+ days)
12:52:32 × maveous[m] quits (~maveousma@2001:470:69fc:105::2232) (Quit: You have been idle for 30+ days)
13:28:44 gtc joins (~gtc@r190-0-146-165.ir-static.adinet.com.uy)
13:39:00 sridonhiatus[m] parts (~sridmatri@2001:470:69fc:105::1c2) ()
14:26:18 × SpiderPig quits (~matt@047-132-233-190.res.spectrum.com) (Ping timeout: 240 seconds)
14:27:46 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Ping timeout: 240 seconds)
14:28:11 SpiderPig joins (~matt@047-132-233-190.res.spectrum.com)
14:33:10 geekosaur joins (~geekosaur@xmonad/geekosaur)
15:54:17 cfricke joins (~cfricke@user/cfricke)
15:57:59 × backleet quits (~backleet@user/backleet) (Quit: ZNC 1.8.2 - https://znc.in)
15:58:36 backleet joins (~backleet@user/backleet)
16:01:53 seschwar joins (~seschwar@user/seschwar)
16:20:23 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
16:25:23 dschrempf joins (~dominik@mobiledyn-185-69-244-184.mrsn.at)
16:25:30 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 240 seconds)
16:41:10 <unrooted> <psibi[m] "Quiting (killing) the current xm"> ouch, doesn't work for me :/
16:41:34 unrooted uploaded an image: (6KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/BiDBKMMjZAOcHtFYxbqIlUCv/image.png >
16:41:40 <unrooted> but the script run directly in the terminal works perfectly fine
16:42:32 × dschrempf quits (~dominik@mobiledyn-185-69-244-184.mrsn.at) (Ping timeout: 252 seconds)
16:46:34 × berberman_ quits (~berberman@user/berberman) (Ping timeout: 240 seconds)
16:46:35 berberman joins (~berberman@user/berberman)
17:01:41 <unrooted> I'm killing and starting it again over and over again and it still doesn't work sadly :/
17:01:41 <unrooted> any ideas?
17:02:38 <unrooted> same with touch-to-click on touchpad and media keys, anyone did that with success?
17:30:25 Air4x joins (~mario@host-82-54-191-183.retail.telecomitalia.it)
17:36:23 dschrempf joins (~dominik@mobiledyn-185-69-244-184.mrsn.at)
17:41:38 <unrooted> ok, reinstalling xmobar fixed this issue
17:42:01 <unrooted> anyway, any ideas when it comes to
17:42:01 <unrooted> 1. pywal integration
17:42:01 <unrooted> 2. touch-to-click touchpad thingy
17:42:01 <unrooted> 3. media keys?
17:45:05 × backleet quits (~backleet@user/backleet) (Quit: ZNC 1.8.2 - https://znc.in)
17:45:52 backleet joins (~backleet@user/backleet)
17:54:02 <Air4x> for media key you can use XMonad.Utilks.EZConfig
17:54:18 <Air4x> keys*
17:54:35 <unrooted> any examples of this applied in config? how those keys are named exactly? because this can be confusing between different WMs really
17:56:12 <geekosaur> there's a list in the documentation of XMonad.Util.EZConfig which also shows an example of how to use it
17:56:23 <Air4x> https://gitlab.com/dwt1/dotfiles/-/blob/master/.xmonad/xmonad.hs
18:03:48 × dschrempf quits (~dominik@mobiledyn-185-69-244-184.mrsn.at) (Ping timeout: 258 seconds)
18:04:17 <Air4x> In case you can use Key Simbols defined here: https://hackage.haskell.org/package/X11-1.10/docs/Graphics-X11-Types.html#t:KeySym
18:06:02 <liskin> unrooted: touch to click is configured via xinput
18:06:36 <liskin> Media keys can be bound even without EZConfig, see my config.
18:13:23 <Air4x> Anyone know how named scratchpads work? Using customFloating with RationalRect I cannot center the window.
18:13:34 <Air4x> here my config: https://github.com/Air4x/Dotfiles/blob/master/.xmonad/xmonad.hs
18:14:19 <geekosaur> there's doCenterFloat from XMonad.Hooks.ManageHelpers
18:15:08 <geekosaur> the problem with RationalRect there is you're placing the top left of the window, not its center, anbd subtracting half the window's size from a RationalRect doesn't so anything sane
18:16:00 <Air4x> ok, thank you
18:16:02 dschrempf joins (~dominik@mobiledyn-185-69-244-184.mrsn.at)
18:18:04 cfricke joins (~cfricke@user/cfricke)
18:27:27 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
18:31:11 geekosaur joins (~geekosaur@xmonad/geekosaur)
18:33:02 × dschrempf quits (~dominik@mobiledyn-185-69-244-184.mrsn.at) (Ping timeout: 245 seconds)
18:37:13 dschrempf joins (~dominik@mobiledyn-185-69-244-184.mrsn.at)
18:59:46 × Air4x quits (~mario@host-82-54-191-183.retail.telecomitalia.it) (Quit: WeeChat 3.2)
19:16:22 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 245 seconds)
19:21:33 × thaumavorio quits (~thaumavor@thaumavor.io) (Quit: ZNC 1.8.2 - https://znc.in)
19:24:03 kr1x joins (~kriket@170.249.0.122)
19:24:21 thaumavorio joins (~thaumavor@thaumavor.io)
19:27:05 × kr1x quits (~kriket@170.249.0.122) (Client Quit)
19:27:21 kr1x joins (~kriket@170.249.0.122)
19:37:27 Air4x joins (~mario@host-82-54-191-183.retail.telecomitalia.it)
19:41:22 × dschrempf quits (~dominik@mobiledyn-185-69-244-184.mrsn.at) (Quit: WeeChat 3.2)
19:42:05 dschrempf joins (~dominik@mobiledyn-185-69-244-184.mrsn.at)
19:47:47 × dschrempf quits (~dominik@mobiledyn-185-69-244-184.mrsn.at) (Quit: WeeChat 3.2)
19:49:44 dschrempf joins (~dominik@mobiledyn-185-69-244-184.mrsn.at)
19:53:36 <Air4x> Guys I'm using doCenterFloat from Hooks.ManageHelpers but it doesn't work
19:54:12 <Air4x> the window is always opened on the top left angle of the screen
19:55:54 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
19:55:54 allbery_b joins (~geekosaur@xmonad/geekosaur)
19:55:57 allbery_b is now known as geekosaur
19:57:47 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
19:57:47 allbery_b joins (~geekosaur@xmonad/geekosaur)
19:57:51 allbery_b is now known as geekosaur
20:04:03 × gtc quits (~gtc@r190-0-146-165.ir-static.adinet.com.uy) (Quit: Leaving)
20:20:46 × qbt quits (~edun@user/edun) (Ping timeout: 272 seconds)
20:32:45 Air4x parts (~mario@host-82-54-191-183.retail.telecomitalia.it) (WeeChat 3.2)
20:39:14 <unrooted> <liskin "Media keys can be bound even wit"> mind linking? I keep loosing important things :((
20:56:19 <liskin> unrooted: sure, now that I'm at a proper keyboard, here you go: https://github.com/liskin/dotfiles/blob/168775b0fcfb6f8d1c2191e7b868e5b636988401/.xmonad/xmonad.hs#L79-L88
20:57:53 <liskin> (I've also written a blogpost about making media keys control the correct application: https://work.lisk.in/2020/05/06/linux-media-control.html, but it may be somewhat outdated at this point.)
21:06:27 × dschrempf quits (~dominik@mobiledyn-185-69-244-184.mrsn.at) (Quit: WeeChat 3.2)
21:06:48 dschrempf joins (~dominik@mobiledyn-185-69-244-184.mrsn.at)
21:14:46 × dschrempf quits (~dominik@mobiledyn-185-69-244-184.mrsn.at) (Quit: WeeChat 3.2)
21:21:04 dschrempf joins (~dominik@mobiledyn-185-69-244-184.mrsn.at)
21:28:28 × seschwar quits (~seschwar@user/seschwar) (Quit: :wq)
21:37:46 × dschrempf quits (~dominik@mobiledyn-185-69-244-184.mrsn.at) (Quit: WeeChat 3.2)
21:38:23 dschrempf joins (~dominik@mobiledyn-185-69-244-184.mrsn.at)
21:43:48 cfricke joins (~cfricke@user/cfricke)
21:46:06 × cfricke quits (~cfricke@user/cfricke) (Client Quit)
21:53:32 <unrooted> thx
21:53:40 <unrooted> will def. Check it out
22:08:22 × dschrempf quits (~dominik@mobiledyn-185-69-244-184.mrsn.at) (Quit: WeeChat 3.2)

All times are in UTC on 2021-07-28.