Home liberachat/#xmonad: Logs Calendar

Logs on 2024-05-03 (liberachat/#xmonad)

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

All times are in UTC on 2024-05-03.