2021/01/21

2021-01-21 00:14:50 +0100dminuoso(~dminuoso@unaffiliated/dminuoso) (Quit: ZNC 1.7.5 - https://znc.in)
2021-01-21 00:15:06 +0100dminuoso(~dminuoso@unaffiliated/dminuoso)
2021-01-21 00:18:02 +0100kelnoky(~shao@ip1f1222c4.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer)
2021-01-21 00:18:25 +0100kelnoky(~shao@ip1f1222c4.dynamic.kabel-deutschland.de)
2021-01-21 00:21:02 +0100Solitary(~Solitary@ip-78-45-155-137.net.upcbroadband.cz) (Ping timeout: 256 seconds)
2021-01-21 00:23:57 +0100seschwar(~seschwar@unaffiliated/seschwar) (Quit: :wq)
2021-01-21 00:24:26 +0100 <Liskni_si> Solid: https://old.reddit.com/r/xmonad/comments/l18go0/ifmax_for_screen_dimension/
2021-01-21 00:24:36 +0100 <Liskni_si> another usecase :-)
2021-01-21 00:24:44 +0100 <Liskni_si> (assuming this isn't Tsar)
2021-01-21 00:32:59 +0100Solitary(~Solitary@ip-78-45-155-137.net.upcbroadband.cz)
2021-01-21 00:48:41 +0100Nahra(~Nahra@unaffiliated/nahra) (Quit: leaving)
2021-01-21 01:04:02 +0100kelnoky(~shao@ip1f1222c4.dynamic.kabel-deutschland.de) (Quit: WeeChat 3.0)
2021-01-21 01:18:07 +0100thc202(~thc202@unaffiliated/thc202) (Ping timeout: 260 seconds)
2021-01-21 01:24:58 +0100kelnoky(~shao@ip1f1222c4.dynamic.kabel-deutschland.de)
2021-01-21 01:35:39 +0100kelnoky(~shao@ip1f1222c4.dynamic.kabel-deutschland.de) (Quit: WeeChat 3.0)
2021-01-21 01:56:03 +0100notis(~notis@185.51.134.222) (Ping timeout: 260 seconds)
2021-01-21 02:20:38 +0100thunderrd(~thunderrd@183.182.115.7)
2021-01-21 02:25:19 +0100thunderrd(~thunderrd@183.182.115.7) (Remote host closed the connection)
2021-01-21 02:27:16 +0100thunderrd(~thunderrd@183.182.115.7)
2021-01-21 02:39:13 +0100al3x27(~plovs@213.226.141.143) (Ping timeout: 260 seconds)
2021-01-21 03:30:57 +0100growpotk-(~growpotki@130-45-30-154.dyn.grandenetworks.net)
2021-01-21 03:33:45 +0100gazler_(~gazler@109.123.118.68) (Ping timeout: 240 seconds)
2021-01-21 03:42:26 +0100gazler_(~gazler@2001:8b0:b165:a8d2:1553:5c63:3022:700e)
2021-01-21 04:01:44 +0100growpotk-(~growpotki@130-45-30-154.dyn.grandenetworks.net) (Ping timeout: 265 seconds)
2021-01-21 04:36:34 +0100theDon(~td@94.134.91.113) (Ping timeout: 246 seconds)
2021-01-21 04:38:33 +0100theDon(~td@muedsl-82-207-238-142.citykom.de)
2021-01-21 06:02:19 +0100materiyolo(~materiyol@112.204.170.198)
2021-01-21 06:09:03 +0100growpotkin(~growpotki@130-45-30-154.dyn.grandenetworks.net) (Quit: ZNC 1.8.2 - https://znc.in)
2021-01-21 06:17:43 +0100sagax(~sagax_nb@213.138.71.146)
2021-01-21 06:40:28 +0100materiyolo(~materiyol@112.204.170.198) (Ping timeout: 246 seconds)
2021-01-21 06:42:50 +0100alex`(~user@2603-7000-3e40-324c-f8fd-c366-e546-c755.res6.spectrum.com)
2021-01-21 06:44:47 +0100 <alex`> Hey there! I'm having trouble getting Rofi to spawn from a keybinding. I have it bound to ("M-u", spawn "rofi -show window"). This command works fine from the terminal, but when I try to invoke "M-u", I don't get any feedback at all. Are there logs I can look at or anything that might help with troubleshooting this?
2021-01-21 07:25:47 +0100palo1(~weechat@c-base/crew/palo)
2021-01-21 07:29:05 +0100palo(~weechat@c-base/crew/palo) (Ping timeout: 265 seconds)
2021-01-21 07:29:05 +0100palo1palo
2021-01-21 07:40:59 +0100nkuld4(~nkuld4@2600:1008:b12c:396:d70d:f313:1539:d141)
2021-01-21 08:18:50 +0100novas0x2a1(~blah@157-131-125-210.fiber.dynamic.sonic.net) (Read error: Connection reset by peer)
2021-01-21 08:19:30 +0100novas0x2a(~blah@157-131-125-210.fiber.dynamic.sonic.net)
2021-01-21 08:34:10 +0100nkuld4(~nkuld4@2600:1008:b12c:396:d70d:f313:1539:d141) (Read error: Connection reset by peer)
2021-01-21 08:39:49 +0100nkuld4(~nkuld4@2600:1008:b12c:396:d70d:f313:1539:d141)
2021-01-21 08:51:03 +0100Natch|(~natch@c-b471e255.014-297-73746f25.bbcust.telenor.se) (Remote host closed the connection)
2021-01-21 08:51:46 +0100Natch(~natch@c-b471e255.014-297-73746f25.bbcust.telenor.se)
2021-01-21 09:18:50 +0100 <alex`> I can spawn other applications using the same `spawn "..."` command. Seems like there's a particular issue with Rofi :(
2021-01-21 09:19:19 +0100 <alex`> Although as I mentioned before, I can invoke Rofi directly from the termina/cli
2021-01-21 09:26:49 +0100cfricke(~cfricke@unaffiliated/cfricke)
2021-01-21 09:34:48 +0100notis(~notis@185.51.134.222)
2021-01-21 09:34:55 +0100werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 272 seconds)
2021-01-21 09:36:05 +0100werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2021-01-21 09:43:41 +0100nkuld4(~nkuld4@2600:1008:b12c:396:d70d:f313:1539:d141) (Read error: No route to host)
2021-01-21 09:59:26 +0100alex`(~user@2603-7000-3e40-324c-f8fd-c366-e546-c755.res6.spectrum.com) (Ping timeout: 264 seconds)
2021-01-21 10:01:40 +0100everythingTaken(~everythin@gateway/tor-sasl/everythingtaken)
2021-01-21 10:07:56 +0100de-vri-es(~de-vri-es@voyager.de-vri.es) (Ping timeout: 240 seconds)
2021-01-21 10:09:39 +0100everythingTaken(~everythin@gateway/tor-sasl/everythingtaken) (Quit: everythingTaken)
2021-01-21 10:20:30 +0100de-vri-es(~de-vri-es@voyager.de-vri.es)
2021-01-21 10:24:27 +0100kelnoky(~shao@ip1f1222c4.dynamic.kabel-deutschland.de)
2021-01-21 10:36:52 +0100kelnoky(~shao@ip1f1222c4.dynamic.kabel-deutschland.de) (Ping timeout: 256 seconds)
2021-01-21 10:37:55 +0100kelnoky(~shao@ip1f1222c4.dynamic.kabel-deutschland.de)
2021-01-21 10:38:03 +0100kelnoky(~shao@ip1f1222c4.dynamic.kabel-deutschland.de) (Client Quit)
2021-01-21 12:05:52 +0100thc202(~thc202@unaffiliated/thc202)
2021-01-21 12:33:21 +0100cfricke(~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0)
2021-01-21 12:40:35 +0100pantsu(~Urist@archlinux/op/pdpc.supporter.active.mrelendig) (Quit: rebooting the US government)
2021-01-21 12:41:28 +0100cfricke(~cfricke@unaffiliated/cfricke)
2021-01-21 12:43:07 +0100cfricke(~cfricke@unaffiliated/cfricke) (Client Quit)
2021-01-21 12:43:25 +0100cfricke(~cfricke@unaffiliated/cfricke)
2021-01-21 12:49:52 +0100MrElendig(~Urist@archlinux/op/pdpc.supporter.active.mrelendig)
2021-01-21 12:55:48 +0100cfricke(~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0)
2021-01-21 12:55:58 +0100cfricke(~cfricke@unaffiliated/cfricke)
2021-01-21 13:11:59 +0100de-vri-es(~de-vri-es@voyager.de-vri.es) (Ping timeout: 272 seconds)
2021-01-21 13:16:25 +0100al3x27(~plovs@213.226.141.143)
2021-01-21 13:17:58 +0100de-vri-es(~de-vri-es@voyager.de-vri.es)
2021-01-21 13:19:22 +0100ADG1089__(~aditya@223.226.159.22)
2021-01-21 13:23:01 +0100ADG1089__(~aditya@223.226.159.22) (Remote host closed the connection)
2021-01-21 13:35:19 +0100cfricke(~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0)
2021-01-21 13:36:10 +0100cfricke(~cfricke@unaffiliated/cfricke)
2021-01-21 13:37:08 +0100cfricke(~cfricke@unaffiliated/cfricke) (Client Quit)
2021-01-21 13:37:21 +0100cfricke(~cfricke@unaffiliated/cfricke)
2021-01-21 13:39:23 +0100cfricke(~cfricke@unaffiliated/cfricke) (Client Quit)
2021-01-21 13:39:34 +0100cfricke(~cfricke@unaffiliated/cfricke)
2021-01-21 14:04:19 +0100cfricke(~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0)
2021-01-21 14:06:11 +0100cfricke(~cfricke@unaffiliated/cfricke)
2021-01-21 14:12:16 +0100cfricke(~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0)
2021-01-21 14:13:01 +0100cfricke(~cfricke@unaffiliated/cfricke)
2021-01-21 14:14:47 +0100geekosaur(82650c7c@130.101.12.124)
2021-01-21 14:20:33 +0100cfricke(~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0)
2021-01-21 14:20:46 +0100cfricke(~cfricke@unaffiliated/cfricke)
2021-01-21 14:33:37 +0100cfricke(~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0)
2021-01-21 14:34:11 +0100cfricke(~cfricke@unaffiliated/cfricke)
2021-01-21 14:43:50 +0100cfricke(~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0)
2021-01-21 14:44:59 +0100cfricke(~cfricke@unaffiliated/cfricke)
2021-01-21 15:00:47 +0100ADG1089__(~aditya@223.226.159.22)
2021-01-21 15:26:08 +0100Natch(~natch@c-b471e255.014-297-73746f25.bbcust.telenor.se) (Ping timeout: 265 seconds)
2021-01-21 15:30:32 +0100meck(~meck@li1809-18.members.linode.com) (Quit: ZNC 1.8.2 - https://znc.in)
2021-01-21 15:32:55 +0100hexo(~hexo@gateway/tor-sasl/hexo) (Ping timeout: 268 seconds)
2021-01-21 15:33:53 +0100hexo(~hexo@gateway/tor-sasl/hexo)
2021-01-21 15:37:01 +0100meck(~meck@li1809-18.members.linode.com)
2021-01-21 15:44:17 +0100ADG1089_(~aditya@223.235.77.133)
2021-01-21 15:44:30 +0100ADG1089__(~aditya@223.226.159.22) (Ping timeout: 265 seconds)
2021-01-21 15:47:16 +0100geekosaur(82650c7c@130.101.12.124) (Quit: Connection closed)
2021-01-21 15:55:58 +0100cfricke(~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0)
2021-01-21 16:00:10 +0100Natch(~natch@c-b471e255.014-297-73746f25.bbcust.telenor.se)
2021-01-21 16:02:38 +0100xaltsc(~xaltsc@unaffiliated/xaltsc)
2021-01-21 16:19:30 +0100psibi[m](psibimatri@gateway/shell/matrix.org/x-pmiahgurinpvsxyp) (Quit: Bridge terminating on SIGTERM)
2021-01-21 16:19:31 +0100moyamo[m](moyamomatr@gateway/shell/matrix.org/x-vvueuiuctjjoazmf) (Quit: Bridge terminating on SIGTERM)
2021-01-21 16:19:32 +0100psamim(samimpmatr@gateway/shell/matrix.org/x-patycjtbgjdsoggi) (Quit: Bridge terminating on SIGTERM)
2021-01-21 16:19:33 +0100By_JumperX4[m](byjumperx4@gateway/shell/matrix.org/x-kdupehztwhhtvyhz) (Quit: Bridge terminating on SIGTERM)
2021-01-21 16:19:34 +0100noIOBeforeBedtim(dissatisfi@gateway/shell/matrix.org/x-ixwrzutollmrdotp) (Quit: Bridge terminating on SIGTERM)
2021-01-21 16:19:36 +0100rednaZ[m](r3dnazmatr@gateway/shell/matrix.org/x-surapbxzfortuwdw) (Quit: Bridge terminating on SIGTERM)
2021-01-21 16:19:37 +0100chimay[m](chimaymatr@gateway/shell/matrix.org/x-ibpbnqyjytxwixym) (Quit: Bridge terminating on SIGTERM)
2021-01-21 16:20:10 +0100PotatoHatsue(berbermanp@gateway/shell/matrix.org/x-lgiztbanudhatvcs) (Quit: Bridge terminating on SIGTERM)
2021-01-21 16:29:15 +0100psamim(samimpmatr@gateway/shell/matrix.org/x-xavqfqwexdgthira)
2021-01-21 16:31:40 +0100ttmx(5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111)
2021-01-21 16:32:42 +0100 <ttmx> Hello there, I'm trying out Xmonad, but after 5 hours, I still haven't got xmobar to display the workspace icons. Would anyone kindly give me some help? I'm new to Haskell, although I'm not new to functional programming.
2021-01-21 16:33:27 +0100 <vrs> workspace... icons?
2021-01-21 16:33:36 +0100 <vrs> I don't think xmobar does that
2021-01-21 16:34:03 +0100 <vrs> xmobar is text-only
2021-01-21 16:34:56 +0100 <vrs> there are other status bars that do icons, but you'd need people other than me to help you there
2021-01-21 16:35:08 +0100 <ttmx> I mean, you can use fontawesome for icons, but thats not the point. I don't have the workspace indicators noppes
2021-01-21 16:35:55 +0100 <ttmx> And yes, I would like to
2021-01-21 16:36:08 +0100 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/023b396fdc00fb7928767d0c5266ab63/image.png
2021-01-21 16:36:36 +0100 <ttmx> I'd like them on the left, like I have on i3, but I seem to need to configure a pipe to the xmobar, which I have no idea how to do.
2021-01-21 16:38:31 +0100 <fizzie> I'm not a xmobar user myself, but the impression I've gotten from the channel is to probably forget about the old-fashioned pipes + StdinReader, and instead use the XMonadLog module, which reads it from a root window _XMONAD_LOG property.
2021-01-21 16:38:49 +0100 <fizzie> (The counterpart of which is `logHook = dynamicLogString defaultPP >>= xmonadPropLog` on the XMonad configuration side.)
2021-01-21 16:39:48 +0100 <ttmx> I have no idea how to do either of those options
2021-01-21 16:42:15 +0100 <Solid> ttmx: if you're using xmonad-contrib 0.16, then the easiest way is to use `statusBar' from X.H.DynamicLog ( https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Hooks-DynamicLog.html )
2021-01-21 16:42:41 +0100 <Solid> yes property-based logging would be recommended, but there's no "batteries included" way of doing that in 0.16
2021-01-21 16:43:26 +0100 <ttmx> What do you mean with batteries included?
2021-01-21 16:43:33 +0100 <ttmx> And why would property based logging be preferred?
2021-01-21 16:44:18 +0100 <Solid> ttmx: batteries included in the sense that `statusBar' doesn't only spawn xmobar, but e.g. also makes xmonad aware that there is some screen area that shouldn't be covered by windows
2021-01-21 16:44:48 +0100 <Solid> ( you can use it in this way http://ix.io/2MN8 )
2021-01-21 16:45:43 +0100 <Solid> property-based logging should be preferred because when that pipe is full (i.e. not being read for some reason) xmonad will freeze
2021-01-21 16:45:48 +0100 <Solid> that's not so nice behaviour :)
2021-01-21 16:46:16 +0100PotatoHatsue(berbermanp@gateway/shell/matrix.org/x-ucdydkolvsetyqeh)
2021-01-21 16:46:16 +0100rednaZ[m](r3dnazmatr@gateway/shell/matrix.org/x-jmjfsvkbdjyewneq)
2021-01-21 16:46:17 +0100chimay[m](chimaymatr@gateway/shell/matrix.org/x-cohzbdrfkdijcisb)
2021-01-21 16:46:17 +0100By_JumperX4[m](byjumperx4@gateway/shell/matrix.org/x-tbdgezodmdufdmeg)
2021-01-21 16:46:17 +0100Half-Shot(half-shoth@gateway/shell/matrix.org/x-brkgvpwcuojedbxh)
2021-01-21 16:46:23 +0100moyamo[m](moyamomatr@gateway/shell/matrix.org/x-pfzrhwtkrxjohobw)
2021-01-21 16:46:23 +0100psibi[m](psibimatri@gateway/shell/matrix.org/x-xwoeskqjhzzppdnp)
2021-01-21 16:46:24 +0100noIOBeforeBedtim(dissatisfi@gateway/shell/matrix.org/x-vbixyrrshivnbxeu)
2021-01-21 16:46:56 +0100 <ttmx> Got it.
2021-01-21 16:46:58 +0100Natch(~natch@c-b471e255.014-297-73746f25.bbcust.telenor.se) (Ping timeout: 264 seconds)
2021-01-21 16:48:09 +0100Natch(~Natch@c-b471e255.014-297-73746f25.bbcust.telenor.se)
2021-01-21 16:53:23 +0100 <ttmx> Wellll
2021-01-21 16:54:01 +0100 <ttmx> What do I set x as when I'm using xmonad =<< xmobar x ?
2021-01-21 16:56:01 +0100 <Solid> your config; this is where you define things like the modMask or any -Hook like functionality
2021-01-21 16:56:12 +0100 <Solid> if you don't have anything like that yet you can use `def' for the default config
2021-01-21 16:59:52 +0100 <ttmx> OH, my entire config??
2021-01-21 17:00:31 +0100 <ttmx> AH, its "defaults" in the usual case
2021-01-21 17:01:26 +0100 <Solid> this is usually something called myConfig or similar, it's a record of the type XConfig ( https://hackage.haskell.org/package/xmonad-0.15/docs/XMonad-Core.html#t:XConfig )
2021-01-21 17:01:48 +0100Rockj(~rockj@2001:67c:550:feed::1)
2021-01-21 17:02:45 +0100 <ttmx> https://termbin.com/qpn3
2021-01-21 17:02:55 +0100 <ttmx> it would be this, right? "defaults" ?
2021-01-21 17:04:32 +0100 <Solid> indeed yes :)
2021-01-21 17:05:36 +0100 <ttmx> Thank you
2021-01-21 17:10:41 +0100mc47(~yecinem@89.246.239.190)
2021-01-21 17:11:47 +0100 <Solid> Liskni_si: it's funny that these things seem to always seem to be hot stuff for a few days and then there's months of silence
2021-01-21 17:12:06 +0100 <Solid> maybe someone influencial mentioned IfMax :>
2021-01-21 17:14:25 +0100 <mc47> Are the conflicts getting resovled? My inbox was flooded
2021-01-21 17:16:47 +0100 <ttmx> Welll, how do I customize the output of the pipe now?
2021-01-21 17:17:34 +0100 <Solid> ttmx: for that you need to use `statusBar' instead of `xmobar' (`xmobar' is meant to be literally zero effort)
2021-01-21 17:18:23 +0100 <Solid> if you look at the implementation `xmobar conf = statusBar "xmobar" xmobarPP toggleStrutsKey conf' it's just `statusBar' with a few defaults anyways:)
2021-01-21 17:18:47 +0100 <ttmx> Hm yes I see
2021-01-21 17:19:09 +0100 <ttmx> Also, how do I change the cursor? Whenever I hover xmobar its an X
2021-01-21 17:19:52 +0100 <Solid> you have to change the default cursor within X11 (xmonad doesn't do any of that; "minimal" and all)
2021-01-21 17:19:55 +0100kmicuis quite happy Xorg is on the way out because that “but Debian needs ancient stuff” issue is a non issue. Yay.
2021-01-21 17:21:29 +0100 <Solid> afaik there's also an xmonad module for it, but the easiest way is to put something like "xsetroot -cursor_name left_ptr" into your xinitrc or similar
2021-01-21 17:24:33 +0100 <ttmx> Huh, doesn't dwm do it per example?
2021-01-21 17:25:16 +0100 <Solid> I don't know actually, been a while since I've used dwm
2021-01-21 17:25:28 +0100 <Solid> but dwm also comes with a build in bar ;)
2021-01-21 17:30:59 +0100growpotkin(~growpotki@130-45-30-154.dyn.grandenetworks.net)
2021-01-21 17:31:03 +0100 <ttmx> Well... I can't find out how to use statusBar instead of the xmobar module :(
2021-01-21 17:32:27 +0100 <mc47> On the topic of status bars, Solid, what do you think the next step with my PR would be?
2021-01-21 17:33:06 +0100xaltsc(~xaltsc@unaffiliated/xaltsc) (Quit: WeeChat 3.0)
2021-01-21 17:33:41 +0100 <Solid> ttmx: I send you an example above ( http://ix.io/2MN8 replace the `statusBarProp' with `statusBar', `myConfig' with `defaults' and `xmobarPP' with `def' for now, just to get it to work); what are you having problems with?
2021-01-21 17:34:16 +0100 <ttmx> Uhh, what are those "togglestrutskeys"?
2021-01-21 17:34:22 +0100al3x27(~plovs@213.226.141.143) (Ping timeout: 264 seconds)
2021-01-21 17:34:24 +0100xaltsc(~xaltsc@unaffiliated/xaltsc)
2021-01-21 17:34:27 +0100 <Solid> it's a key to toggle the bar
2021-01-21 17:34:38 +0100 <Solid> i.e. whether windows should cover it or not
2021-01-21 17:34:51 +0100 <Solid> mc47: at this point it looks good to me, so I think the next step would be to perhaps get one other maintainer on board with the general idea
2021-01-21 17:35:45 +0100 <ttmx> Right, and the XConfig?
2021-01-21 17:35:53 +0100 <ttmx> Thank you for the help btw
2021-01-21 17:37:34 +0100 <Solid> the XConfig is the underlying type of your `defaults'
2021-01-21 17:38:23 +0100 <mc47> Solid awesome, thanks again for the review... we'll see if it gets looked at soon
2021-01-21 17:38:24 +0100 <Solid> the toggleStrutsKey essentially takes such a type, gets your preferred modMask (say, Alt or Super) out of it and creates an new keybindings on "M-b"
2021-01-21 17:38:48 +0100ADG1089__(~aditya@122.163.160.223)
2021-01-21 17:39:00 +0100 <Solid> mc47: things sometimes take time in xmonad land; just depends on who's around :>
2021-01-21 17:39:07 +0100ADG1089_(~aditya@223.235.77.133) (Ping timeout: 256 seconds)
2021-01-21 17:40:28 +0100 <mc47> Yeah, that's fine tbh, like that I don't feel any time pressure
2021-01-21 17:41:02 +0100 <Solid> But if you just ping people they'll usually show up and review whatever you throw at them :D
2021-01-21 17:41:03 +0100 <mc47> My first PR was merged in around two hours though, which surprised me (I just added xmobarBorder in it though, so it was really small)
2021-01-21 17:41:29 +0100 <mc47> Naah, it's fine
2021-01-21 17:42:38 +0100 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/16d93958b2b3eaea4e651c3c5723450f/image.png
2021-01-21 17:43:06 +0100 <ttmx> How come it doesn't seem to like the type?
2021-01-21 17:43:16 +0100 <ttmx> I'm not quite sure what they mean there aaaaaaaaaaa
2021-01-21 17:44:45 +0100 <mc47> Don't panic, I think it just needs a prgama enabled
2021-01-21 17:44:53 +0100 <mc47> maybe add {-# LANGUAGE FlexibleContexts #-} at the top of the file
2021-01-21 17:45:39 +0100seschwar(~seschwar@unaffiliated/seschwar)
2021-01-21 17:47:01 +0100 <ttmx> wtf is a prgama xD
2021-01-21 17:47:14 +0100 <ttmx> I swear, haskell has been the only language until now that made me go ??????????????????????????
2021-01-21 17:47:54 +0100 <ttmx> I added that to the top of the file, but it still gives me the exact same error.
2021-01-21 17:50:49 +0100 <mc47> Pargmas are essentially a modification of the language, so you can do more stuff
2021-01-21 17:51:22 +0100 <ttmx> Aaand how would I get a systray?
2021-01-21 17:51:46 +0100 <ttmx> I'll brb, I forgot to eat and its already 5pm. Meanwhile, any idea what could be my bug?
2021-01-21 17:52:24 +0100 <ttmx> https://termbin.com/77yb Here is my config, brb
2021-01-21 17:54:06 +0100 <mc47> My bad, it's the wrong pragma
2021-01-21 17:54:27 +0100 <mc47> {-# LANGUAGE NamedFieldPuns #-}
2021-01-21 17:54:55 +0100 <mc47> Basically if the compiler tells you to "Use XXXX to permit this", add it as a pragma
2021-01-21 17:55:39 +0100 <mc47> If you want to read more, you can find it here https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html
2021-01-21 17:59:13 +0100 <Solid> oh yes I should probably not share snippets that need pragmas
2021-01-21 17:59:21 +0100 <ttmx> That did work! Thank you.
2021-01-21 17:59:29 +0100 <Solid> but I like NamedFieldPuns so much :>
2021-01-21 17:59:48 +0100 <ttmx> Now to replace the "def"
2021-01-21 18:00:09 +0100 <mc47> Solid I had no idea that existed, and it's really cool!
2021-01-21 18:00:17 +0100 <ttmx> And yeah, systray?
2021-01-21 18:01:08 +0100 <Solid> The traditional way would be to write something like `XConfig{ modMask = m }' (NamedFieldPuns is essentially the same is saying `XConfig{ modMask = modMask }'
2021-01-21 18:01:18 +0100 <mc47> ttmx you'd probably want to look at a standalone systray (it's not really a part of the window manager)
2021-01-21 18:01:42 +0100 <mc47> maybe trayer or stalonetray or something
2021-01-21 18:02:04 +0100 <mc47> and just start it in the startupHook or in your .xsession
2021-01-21 18:02:17 +0100 <Solid> mc47: it's pretty much a more readable version of RecordWildCads ;)
2021-01-21 18:03:38 +0100 <Solid> yes xmobar doesn't have systray functionality (at least not officially, I'm sure someone, somewhere hacked it in at some point and didn't submit it upstream)
2021-01-21 18:03:59 +0100 <mc47> Why don't people drop in interesting haskell pragmas in normal conversations more often?
2021-01-21 18:04:45 +0100 <Solid> hah
2021-01-21 18:07:41 +0100 <ttmx> Wasn't there a plugin to match the width or something of the systray and of xmobar?
2021-01-21 18:08:24 +0100 <mc47> I think BottomSize and TopSize will adabt to leave room for the systray
2021-01-21 18:08:27 +0100 <mc47> but I'm not sure
2021-01-21 18:10:35 +0100 <ttmx> Uhh, bottomsize where?
2021-01-21 18:10:39 +0100 <ttmx> and topsize where?
2021-01-21 18:10:54 +0100 <ttmx> wait, brb, restart laptop cause stuff
2021-01-21 18:10:56 +0100ttmx(5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111) (Quit: Connection closed)
2021-01-21 18:11:48 +0100ttmx(5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111)
2021-01-21 18:11:48 +0100 <ttmx> I'm back here!
2021-01-21 18:11:51 +0100 <ttmx> back.
2021-01-21 18:12:32 +0100 <mc47> that was quick
2021-01-21 18:12:44 +0100 <mc47> You can put that in the position = ... in your xmobar config
2021-01-21 18:12:45 +0100 <mc47> wait
2021-01-21 18:12:49 +0100 <mc47> https://github.com/TheMC47/dotfiles/blob/master/.xmonad/app/xmobar_bottom.hs
2021-01-21 18:14:36 +0100 <mc47> I'm using it with stalonetray, so this is how I'm configuring it https://github.com/TheMC47/dotfiles/blob/master/.stalonetrayrc . Nothing fancy, just position your systray of choice where you want it and you should be good
2021-01-21 18:17:53 +0100 <ttmx> uhh, is there a way to yeet that over to .config/stalonetray or something like that?
2021-01-21 18:18:05 +0100 <ttmx> and possibly move .xmonad/stuff into .config aswell?
2021-01-21 18:19:05 +0100geekosaur(82650c7c@130.101.12.124)
2021-01-21 18:19:18 +0100 <Solid> you can create ~/.config/xmonad and delete ~/.xmonad and things will work
2021-01-21 18:19:53 +0100 <ttmx> Oh nice!
2021-01-21 18:19:58 +0100 <Solid> stalonetray _probably_ has a similar behaviour (never used it so no idea)
2021-01-21 18:20:52 +0100 <mc47> you can do `stalonetray -c ~/.config/stalonetray` if it doesn't pick it up
2021-01-21 18:21:00 +0100eb0t(~eblip@unaffiliated/eblip)
2021-01-21 18:21:13 +0100def_jam(~eblip@unaffiliated/eblip)
2021-01-21 18:21:24 +0100 <ttmx> Right, I'd place that in the startup hook thing?
2021-01-21 18:21:55 +0100 <mc47> That should do it yes
2021-01-21 18:22:34 +0100eblip(~eblip@unaffiliated/eblip) (Ping timeout: 246 seconds)
2021-01-21 18:22:34 +0100eb0t_(~eblip@unaffiliated/eblip) (Ping timeout: 246 seconds)
2021-01-21 18:22:35 +0100 <ttmx> Aaaand how would I do that? xD
2021-01-21 18:22:42 +0100 <ttmx> SpawnOnce?
2021-01-21 18:23:20 +0100 <mc47> spawnOnce "stalonetray -c ~/.config/stalonetray" should work
2021-01-21 18:30:27 +0100ttmx(5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111) (Quit: Connection closed)
2021-01-21 18:31:06 +0100ttmx(5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111)
2021-01-21 18:31:38 +0100 <ttmx> Woops, had to restart again xD
2021-01-21 18:31:53 +0100 <ttmx> Luckily my restarts are at 12 seconds hehe
2021-01-21 18:34:43 +0100 <ttmx> Right uh
2021-01-21 18:34:47 +0100 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/06bbb7ef80f825fa3c7aea634b499791/image.png
2021-01-21 18:40:15 +0100 <ttmx> For reference
2021-01-21 18:40:17 +0100 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/b59f7e80813f339c992781a07fe3678d/image.png
2021-01-21 18:40:51 +0100 <ttmx> OH, I see what seems to be happening...
2021-01-21 18:41:25 +0100 <ttmx> It dumps the executable in .xmonad and then since the directory starts existing, it uses that directory as the default one, and it doesnt have my config file...
2021-01-21 18:41:29 +0100 <ttmx> w
2021-01-21 18:41:41 +0100 <ttmx> what the fuck is this behaviour, am I doing something wrong?
2021-01-21 18:42:37 +0100 <geekosaur> is this with git? the whole legacy vs. XDG directories thing is being reworked
2021-01-21 18:43:14 +0100 <Solid> I think they are not using git, no
2021-01-21 18:43:47 +0100 <ttmx> I'm not using git for this no.
2021-01-21 18:44:08 +0100 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/058ef6e087d4c43d0ccccde60dc70da2/image.png
2021-01-21 18:44:16 +0100 <ttmx> I recompiled between these two commands...
2021-01-21 18:44:20 +0100 <Solid> if there are not errors and ~/.xmonad doesn't exist, it *should* work
2021-01-21 18:44:21 +0100 <ttmx> It remakes that folder
2021-01-21 18:44:37 +0100 <Solid> can you delete ~/.xmonad and do `xmonad --recompile' in a terminal?
2021-01-21 18:44:42 +0100 <ttmx> It literally creates the .xmonad folder
2021-01-21 18:44:51 +0100 <Solid> (and yes, if you do want to use git, this whole mess has been fixed there ;)
2021-01-21 18:45:18 +0100 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/e2a08079f651363d5c970e82bd358069/image.png
2021-01-21 18:49:10 +0100 <ttmx> And by what I see there is no way to get a dynamic systray that adjusts its size depending on how many icons it has?
2021-01-21 18:50:50 +0100 <geekosaur> not without using a fancier status bar like lxpanel (which iirc can be run standalone)
2021-01-21 18:51:01 +0100 <ttmx> Pain
2021-01-21 18:51:12 +0100 <Solid> taffybar may also be able to do it since it's gtk3
2021-01-21 18:51:36 +0100 <mc47> I mean, you could always make it bigger than you need and blend it with the status bar :)
2021-01-21 18:51:37 +0100 <ttmx> man, i3's bar is great, I just want a turbosimple systray
2021-01-21 18:52:02 +0100 <ttmx> But thats all overcomplicated stuff, gtk3 for literally 3 clicky icons?
2021-01-21 18:52:19 +0100 <ttmx> Well yes, but I don't want to make it bigger than I need xD
2021-01-21 18:52:41 +0100 <ttmx> Has no one made a plugin for a systray? goddamn
2021-01-21 18:53:03 +0100 <geekosaur> they're not simple, sadly
2021-01-21 18:53:44 +0100 <mc47> in stalonetray, there is something about gravity which might be what you're looking for
2021-01-21 18:53:47 +0100 <mc47> didn't test it though
2021-01-21 18:54:00 +0100 <ttmx> gravity seems to just be where icons gravitate towards
2021-01-21 18:54:08 +0100 <ttmx> as in where they try to align themselves to
2021-01-21 18:54:26 +0100 <mc47> oh right, my bad
2021-01-21 18:54:58 +0100 <ttmx> But yes, how does i3 bar do it then? It uses barely zero resources
2021-01-21 18:55:19 +0100 <ttmx> This is kind of a dealbreaker for me aaaaaaaaaaa pain
2021-01-21 18:55:50 +0100 <ttmx> I was really excited to try out xmonad for a while, but I use those icons a bunch
2021-01-21 18:56:08 +0100 <mc47> I mean, how many icons are there?
2021-01-21 18:56:20 +0100 <ttmx> And I am very specific with my alignments, it destroys my brain when there are little inconsistencies like that.
2021-01-21 18:56:30 +0100 <ttmx> I have from 0 to 5
2021-01-21 18:57:00 +0100 <ttmx> Its kinda dumb I'm aware, I'm not sure either why it bothers me so much.
2021-01-21 18:57:13 +0100 <mc47> I have also something similar, the way I do it is that i blend it into xmobar so you don't know where the systray stops and xmobar starts
2021-01-21 18:57:40 +0100 <mc47> it's not, those things bother me too... if I'm spending +8 hours a day looking at something, it needs to be perfect
2021-01-21 18:58:01 +0100 <ttmx> Well yes, the issue is that it will still have "blank" space there.
2021-01-21 18:58:16 +0100 <ttmx> Not necessarely #FFFFFF but unused space there
2021-01-21 18:59:04 +0100 <mc47> Yeah true, I have the systray in my bottom status bar with the window name, so it's mostly empty space
2021-01-21 18:59:46 +0100 <ttmx> Got it, I like it in the top right
2021-01-21 18:59:57 +0100 <ttmx> Lemme swap over to i3 and I'll continue the convo xD
2021-01-21 19:00:04 +0100thunderrd(~thunderrd@183.182.115.7) (Remote host closed the connection)
2021-01-21 19:00:06 +0100ttmx(5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111) (Quit: Connection closed)
2021-01-21 19:00:54 +0100ttmx(5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111)
2021-01-21 19:00:58 +0100 <ttmx> The i3bar is faster to startup aswell :))))))))))))))
2021-01-21 19:01:08 +0100 <ttmx> I hadn't even realized that before
2021-01-21 19:01:29 +0100 <mc47> I guess it's because xmonad always recompiles at startup
2021-01-21 19:03:10 +0100 <ttmx> I really like the concept of xmonad, but... No systray? cmooon
2021-01-21 19:03:23 +0100 <ttmx> Also, funky behaviour with .config :(
2021-01-21 19:03:30 +0100 <geekosaur> xmonad shouldn't always recompile at startup
2021-01-21 19:03:50 +0100 <ttmx> I'll give it another eventually, but for now I'm happy with i3
2021-01-21 19:04:04 +0100 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/a36ce21395c0fe4ae3e69282b112e014/image.png
2021-01-21 19:04:41 +0100 <mc47> ttmx i3 is great, I really like how simple it is
2021-01-21 19:04:50 +0100 <ttmx> It 'just werks'
2021-01-21 19:04:58 +0100 <ttmx> And it doesn't feel bloated at all.
2021-01-21 19:05:13 +0100 <ttmx> My startup ram usage is 160 mb I think?
2021-01-21 19:05:16 +0100 <mc47> geekosaur huh, I thought it always did.. even if I have a custom build file?
2021-01-21 19:05:37 +0100 <ttmx> There are some issues with i3, but I can kinda deal with em
2021-01-21 19:05:53 +0100 <geekosaur> it may with a custom build file, because there's no way to guess what the build file would need to do to rebuild
2021-01-21 19:06:13 +0100 <mc47> ttmx yeah, but the fact that you write code to customize xmonad, and the fact that that code is Haskell, did it for me :D
2021-01-21 19:06:23 +0100 <geekosaur> and having a check target in the build file means running it twice when the second one would basically repeat the first in many cases
2021-01-21 19:06:47 +0100 <ttmx> Well yes, turing complete config files are cool
2021-01-21 19:07:05 +0100 <ttmx> But if that config takes 3 months to write a proper systray its a little too much for me
2021-01-21 19:07:10 +0100 <mc47> geekosaur that might explain why my startup is kinda slow.. I'm using a stack based build
2021-01-21 19:07:52 +0100 <ttmx> I mean, I use dmenu and even have a patch I made on suckless's website, but I wouldn't spend more than 2 days on something like that.
2021-01-21 19:11:05 +0100 <ttmx> Would it be stretching it too much to ask someone to email me if xmobar ever gets a systray?
2021-01-21 19:11:16 +0100 <ttmx> Is it even planned to have one? I'm guessing not
2021-01-21 19:12:44 +0100 <mc47> I also guess not
2021-01-21 19:13:26 +0100 <mc47> most tiling WMs don't too https://wiki.archlinux.org/index.php/Comparison_of_tiling_window_managers
2021-01-21 19:14:16 +0100 <ttmx> But... Why?
2021-01-21 19:14:36 +0100 <mc47> I guess it's not really minimal, and it seems like a lot of work
2021-01-21 19:14:37 +0100 <ttmx> Its such a crappy thing to try to implement outside of the main status bar
2021-01-21 19:15:47 +0100 <ttmx> I feel like a systray is kinda basic functionality, no? Maybe I'm the only one who uses it?
2021-01-21 19:16:23 +0100 <mc47> I mean I'm used to it, but I can totally imagine people not using it
2021-01-21 19:18:25 +0100 <ttmx> I feel like the cost/benefit is justified. Its extremely awkward to implement outside of the bar itself, and the cost of having it is not too high.
2021-01-21 19:18:29 +0100 <ttmx> (according to i3)
2021-01-21 19:20:16 +0100 <mc47> I have no idea tbh
2021-01-21 19:21:22 +0100kw(d4662d5d@212.102.45.93)
2021-01-21 19:22:22 +0100Rockj(~rockj@2001:67c:550:feed::1) (Ping timeout: 258 seconds)
2021-01-21 19:23:34 +0100 <fizzie> Just to add a data point, I haven't had a systray for the last couple of years, and haven't really been missing it. (Before that, I was using a dzen2 + stalonetray sharing one edge, which was a little awkward but working.)
2021-01-21 19:25:15 +0100 <fizzie> I'm sure there are less minimal bars though. Taffybar got some attention at some point (in terms of # of mentions in here), and has a built-in tray.
2021-01-21 19:39:19 +0100Rockj(~rockj@2001:67c:550:feed::1)
2021-01-21 19:43:32 +0100 <Solid> I can only speak for myself as well, but I wouldn't even know what to use a systray for
2021-01-21 19:45:27 +0100 <geekosaur> I have 10 icons in my systray, but then I use xmonad as wm for MATE
2021-01-21 19:54:14 +0100p71(~chatzilla@097-083-185-160.res.spectrum.com)
2021-01-21 20:03:03 +0100Liskni_sidoes use a systray, trayer on top of xmobar, but that xmobar is left aligned so there's no need to bother with complicated resizing stuff
2021-01-21 20:08:01 +0100kw(d4662d5d@212.102.45.93) (Quit: Connection closed)
2021-01-21 20:17:28 +0100davemq(~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net) (Read error: Connection reset by peer)
2021-01-21 20:18:37 +0100davemq(~davemq@2600:1700:b1c0:2580::4d8)
2021-01-21 20:26:07 +0100alex`(~user@cpe-67-245-28-54.nyc.res.rr.com)
2021-01-21 20:27:59 +0100feepo(sid28508@gateway/web/irccloud.com/x-akfduhrryrjwyhil) (*.net *.split)
2021-01-21 20:27:59 +0100p_l(p_l@gateway/web/irccloud.com/x-cwvzlcjwwictohnt) (*.net *.split)
2021-01-21 20:28:25 +0100p_l(p_l@gateway/web/irccloud.com/x-npedepwokgpddxvo)
2021-01-21 20:28:38 +0100feepo(sid28508@gateway/web/irccloud.com/x-nueoothjeagxmewn)
2021-01-21 20:31:45 +0100geekosaur(82650c7c@130.101.12.124) (Ping timeout: 248 seconds)
2021-01-21 20:43:30 +0100kw(d4662d5d@212.102.45.93)
2021-01-21 20:52:52 +0100belst(~belst@unaffiliated/belst) (Quit: bb)
2021-01-21 20:53:43 +0100belst(~belst@unaffiliated/belst)
2021-01-21 21:04:08 +0100geekosaur(82650c7c@130.101.12.124)
2021-01-21 21:06:39 +0100ADG1089__(~aditya@122.163.160.223) (Remote host closed the connection)
2021-01-21 21:11:09 +0100ADG1089__(~aditya@122.163.160.223)
2021-01-21 21:12:21 +0100themc47(~yecinem@89.246.239.190)
2021-01-21 21:14:45 +0100mc47(~yecinem@89.246.239.190) (Ping timeout: 256 seconds)
2021-01-21 21:25:28 +0100geekosaur(82650c7c@130.101.12.124) (Quit: Connection closed)
2021-01-21 21:26:18 +0100geekosaur(82650c7c@130.101.12.124)
2021-01-21 21:43:43 +0100ttmx(5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111) (Ping timeout: 260 seconds)
2021-01-21 21:54:47 +0100cfricke(~cfricke@unaffiliated/cfricke)
2021-01-21 22:18:26 +0100cfricke(~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0)
2021-01-21 22:22:14 +0100Rockj(~rockj@2001:67c:550:feed::1) (Ping timeout: 264 seconds)
2021-01-21 22:36:12 +0100Rockj(~rockj@2001:67c:550:feed::1)
2021-01-21 22:42:03 +0100geekosaur(82650c7c@130.101.12.124) (Quit: Connection closed)
2021-01-21 22:42:59 +0100ADG1089__(~aditya@122.163.160.223) (Remote host closed the connection)
2021-01-21 22:48:49 +0100kw(d4662d5d@212.102.45.93) (Ping timeout: 248 seconds)
2021-01-21 23:12:24 +0100notis(~notis@185.51.134.222) (Read error: Connection reset by peer)
2021-01-21 23:15:06 +0100notis(~notis@45.134.22.105)
2021-01-21 23:27:46 +0100alex`(~user@cpe-67-245-28-54.nyc.res.rr.com) (Remote host closed the connection)
2021-01-21 23:31:57 +0100notis(~notis@45.134.22.105) (Ping timeout: 264 seconds)
2021-01-21 23:33:28 +0100notis(~notis@185.51.134.222)