2024/05/03

2024-05-03 00:19:23 +0000catman(~catman@user/catman)
2024-05-03 01:11:55 +0000yosafbridge(~yosafbrid@static.38.6.217.95.clients.your-server.de) (Quit: Leaving)
2024-05-03 01:32:27 +0000yosafbridge(~yosafbrid@static.38.6.217.95.clients.your-server.de)
2024-05-03 02:25:20 +0000td_(~td@i5387093e.versanet.de) (Ping timeout: 245 seconds)
2024-05-03 02:27:11 +0000td_(~td@i53870924.versanet.de)
2024-05-03 04:48:52 +0000sajenim(~sajenim@user/sajenim)
2024-05-03 06:21:47 +0000derfflinger(~derffling@user/derfflinger)
2024-05-03 07:27:16 +0000derfflinger(~derffling@user/derfflinger) (Ping timeout: 260 seconds)
2024-05-03 08:38:00 +0000ChubaDuba(~ChubaDuba@37.112.228.147)
2024-05-03 08:38:40 +0000ChubaDuba(~ChubaDuba@37.112.228.147) (Client Quit)
2024-05-03 08:49:24 +0000ectospasm(~ectospasm@user/ectospasm) (Quit: WeeChat 4.2.2)
2024-05-03 08:49:44 +0000ectospasm(~ectospasm@user/ectospasm)
2024-05-03 08:49:55 +0000ectospasm(~ectospasm@user/ectospasm) (Client Quit)
2024-05-03 08:58:18 +0000ectospasm(~ectospasm@user/ectospasm)
2024-05-03 10:08:47 +0000L29Ah(~L29Ah@wikipedia/L29Ah) (Read error: Connection timed out)
2024-05-03 11:36:44 +0000ChubaDuba(~ChubaDuba@37.112.228.147)
2024-05-03 12:39:36 +0000ChubaDuba(~ChubaDuba@37.112.228.147) (Quit: Leaving)
2024-05-03 13:05:26 +0000L29Ah(~L29Ah@wikipedia/L29Ah)
2024-05-03 13:17:23 +0000catman(~catman@user/catman) (Read error: Connection reset by peer)
2024-05-03 13:18:22 +0000catman(~catman@user/catman)
2024-05-03 13:31:21 +0000tv(~tv@user/tv) (Ping timeout: 255 seconds)
2024-05-03 14:01:26 +0000ft(~ft@p3e9bc1bf.dip0.t-ipconnect.de) (Quit: leaving)
2024-05-03 14:23:08 +0000tv(~tv@user/tv)
2024-05-03 14:23:29 +0000Guest9624(~roo@39.sub-174-235-49.myvzw.com)
2024-05-03 15:05:09 +0000ft(~ft@p3e9bc1bf.dip0.t-ipconnect.de)
2024-05-03 15:09:36 +0000Guest9624(~roo@39.sub-174-235-49.myvzw.com) (Quit: Leaving)
2024-05-03 15:53:23 +0000sajenim(~sajenim@user/sajenim) (Ping timeout: 260 seconds)
2024-05-03 17:29:45 +0000acidbong(6e5528b381@198.108.77.243)
2024-05-03 17:35:13 +0000 <acidbong> hi there, hello. do questions about xmobar belong here? I can't see any chats in its repo's README
2024-05-03 17:35:51 +0000 <geekosaur> yes
2024-05-03 17:35:58 +0000 <geekosaur> (although I probably can't help)
2024-05-03 17:38:58 +0000 <acidbong> it's fine
2024-05-03 17:38:58 +0000 <acidbong> anyway, about the Locks module or the templating in general: is it possible to remove the spacing between outputs when one is empty? example config and output on the screenshot below
2024-05-03 17:39:22 +0000 <acidbong> https://uploads.hmm.st/acidbong/MsxUq58zgYNv/92ec8887-9dfc-4d11-93a5-9b07f81510d8.png
2024-05-03 17:43:05 +0000 <liskin> acidbong: just looked at the source and the answer is no
2024-05-03 17:43:26 +0000 <liskin> most other monitors let you customize the formatting somehow but Locks is really very simple stupid
2024-05-03 17:44:50 +0000 <acidbong> sadge
2024-05-03 17:44:50 +0000 <acidbong> i guess i'll separate kbd and locks with a vertical bar to show there's something on the right (if the widget is empty)
2024-05-03 17:45:13 +0000 <liskin> you could patch Locks to include the space if its output is nonempty, and then omit the space in template…
2024-05-03 17:45:19 +0000 <liskin> but you'd need to be patching xmobar
2024-05-03 17:45:34 +0000 <liskin> suppose than shouldn't be that difficult in nix though
2024-05-03 17:45:51 +0000 <liskin> s/than/that/
2024-05-03 18:10:15 +0000 <acidbong> it wouldn't be, but will take a lot of time to compile + I don't know Haskell apart from making an Xmonad config
2024-05-03 18:47:08 +0000 <acidbong> damn, xmobar doesn't have a headphone indicator
2024-05-03 19:20:04 +0000 <liskin> will it? xmobar compiles in a couple seconds on my 6 year old laptop :-)
2024-05-03 20:25:35 +0000 <acidbong> although yeah, it's a quick one
2024-05-03 20:26:07 +0000 <acidbong> i forgot that on Gentoo i had to compile all its deps (and xmobar has a LOT)
2024-05-03 20:27:10 +0000 <liskin> mostly the same ones you need to compile your xmonad config anyway…
2024-05-03 20:28:12 +0000 <geekosaur> not if you build it with all plugins enabled 🙂
2024-05-03 20:28:21 +0000 <geekosaur> last I checked, we didn't depend on mpd
2024-05-03 20:35:27 +0000 <liskin> oh, right, I never tried that
2024-05-03 20:35:56 +0000 <liskin> I've only been using the basic set, as everything else is better done in bash than whatever the Haskell impl in xmobar is
2024-05-03 20:40:37 +0000ectospasm(~ectospasm@user/ectospasm) (Quit: WeeChat 4.2.2)
2024-05-03 20:40:57 +0000ectospasm(~ectospasm@user/ectospasm)
2024-05-03 22:58:36 +0000 <haskellbridge> <N​exilva> Hi guys
2024-05-03 22:59:00 +0000 <geekosaur> hello
2024-05-03 22:59:03 +0000 <haskellbridge> <N​exilva> How can I send this to monitor #2
2024-05-03 22:59:04 +0000 <haskellbridge> <N​exilva> ```name `oneOf` [ "Diablo II: Resurrected" ] --> (doF . W.view <> doShift) "18:Diablo"
2024-05-03 22:59:05 +0000 <haskellbridge> <N​exilva> ```
2024-05-03 22:59:11 +0000 <haskellbridge> <N​exilva> How can I send this to monitor #2
2024-05-03 22:59:12 +0000 <haskellbridge> <N​exilva> `name `oneOf` \[ "Diablo II: Resurrected" \] --> (doF . W.view \<> doShift) "18:Diablo"`
2024-05-03 22:59:21 +0000 <haskellbridge> <N​exilva> Hope you're doing well today
2024-05-03 22:59:35 +0000 <haskellbridge> <N​exilva> How can I send this to monitor #2
2024-05-03 22:59:35 +0000 <haskellbridge> <N​exilva> `name `oneOf` [ "Diablo II: Resurrected" ] --> (doF . W.view <> doShift) "18:Diablo"`
2024-05-03 22:59:51 +0000 <geekosaur> edits don't work IRC-side
2024-05-03 22:59:57 +0000 <haskellbridge> <N​exilva> Ohhh
2024-05-03 22:59:58 +0000 <haskellbridge> <N​exilva> Sorry
2024-05-03 23:00:38 +0000 <haskellbridge> <N​exilva> `name oneOf [ "Diablo II: Resurrected" ] --> (doF . W.view <> doShift) "18:Diablo" THEN SEND TO MONITOR #2 or SWITCH TO MON 2 AND MAKE 18 Active`
2024-05-03 23:00:43 +0000 <haskellbridge> <N​exilva> How can I do that?
2024-05-03 23:03:55 +0000 <haskellbridge> <N​exilva> --> (doF $ W.greedyView "18:Diablo" <+> W.shift "18:Diablo" <+> W.view "2")
2024-05-03 23:04:24 +0000 <haskellbridge> <N​exilva> No first shift, then greedyview, then view 2
2024-05-03 23:04:49 +0000kaskal-(~kaskal@2001:4bb8:2d2:1257:60b1:1057:17df:5755)
2024-05-03 23:05:28 +0000 <haskellbridge> <N​exilva> I have no idea how to do this, my haskell sucks
2024-05-03 23:05:44 +0000 <geekosaur> poking at it
2024-05-03 23:07:44 +0000kaskal(~kaskal@089144220117.atnat0029.highway.webapn.at) (Quit: ZNC - https://znc.in)
2024-05-03 23:09:17 +0000 <geekosaur> https://paste.tomsmeding.com/fphslrKL there's probably a more optimal way to do it
2024-05-03 23:09:30 +0000 <geekosaur> the Nothing case is for when you only have one monitor for some reason
2024-05-03 23:10:44 +0000 <geekosaur> mm, actually that's a bad idea
2024-05-03 23:19:03 +0000 <geekosaur> https://paste.tomsmeding.com/sObZZjk2
2024-05-03 23:21:25 +0000 <haskellbridge> <N​exilva> 196 | ask >>= \w -> liftX (screenWorkspace 2 >>= \case
2024-05-03 23:21:31 +0000 <haskellbridge> <N​exilva> Suggested fix: Perhaps you intended to use LambdaCase
2024-05-03 23:21:39 +0000 <haskellbridge> <N​exilva> Please check the file for errors.
2024-05-03 23:21:53 +0000 <geekosaur> yes, sorry, I did use LambdaCase (the "\case")
2024-05-03 23:22:23 +0000 <haskellbridge> <N​exilva> I was pasting compile logs it didn't compile
2024-05-03 23:22:25 +0000 <geekosaur> if you prefer not tu enable it, replace with: \x -> case x of
2024-05-03 23:22:44 +0000 <liskin> and there's also https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.18.0.9/XMonad-Actions-PhysicalScreens.html if the xinerama screen ordering isn't good enough
2024-05-03 23:22:48 +0000 <haskellbridge> <N​exilva> I have noidea what you even did ha
2024-05-03 23:23:49 +0000 <geekosaur> the sequence "\case" is not standard Haskell. you can either put "{-# LANGUAGE LambdaCase #-}" at the top of the file, or you can replace "\case" with "\x -> case x of"
2024-05-03 23:25:54 +0000 <haskellbridge> <N​exilva> https://bpa.st/I3YA
2024-05-03 23:26:12 +0000 <haskellbridge> <N​exilva> https://bpa.st/W5LQ
2024-05-03 23:32:31 +0000 <geekosaur> sorry, you need to import Data.Semigroup
2024-05-03 23:33:01 +0000 <geekosaur> or Data.Monoid
2024-05-03 23:33:18 +0000 <geekosaur> (I tested it in my xmonad.hs, where I already have Data.Monoid imported for other reasons)
2024-05-03 23:49:39 +0000catman(~catman@user/catman) (Remote host closed the connection)
2024-05-03 23:57:25 +0000catman(~catman@user/catman)
2024-05-03 23:59:54 +0000 <haskellbridge> <N​exilva> https://bpa.st/XLRQ after import. sorry was eating dinner