Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→ 184,937 events total
2023-06-24 12:39:43 <thyriaen> geekosaur, maybe i can use gaps ?
2023-06-24 12:40:11 <geekosaur> gaps are how struts are implemented;p they're outside all windows including tabs, at the edges of the screen
2023-06-24 12:40:42 <thyriaen> https://hastebin.com/share/lekironope.lua
2023-06-24 12:41:16 <thyriaen> i ment spacingraw
2023-06-24 12:41:31 <thyriaen> i used to wrongly before and thus there was a space between the tabs and the window
2023-06-24 12:41:45 <thyriaen> but it was also not full width
2023-06-24 12:42:18 <geekosaur> that's configurable. currently you have (for example) 8 everywhere, meaning all sides
2023-06-24 12:42:31 <geekosaur> so just specify 8 for the top and not left or right
2023-06-24 12:42:54 <geekosaur> on the one for windows as opposed to screen borders
2023-06-24 12:43:16 <geekosaur> (iirc the second set of numbers is the screen border, so that's where you want `8 0 0 0`
2023-06-24 12:43:17 <geekosaur> )
2023-06-24 12:44:06 <thyriaen> i see
2023-06-24 12:44:27 <thyriaen> im not sure
2023-06-24 12:44:47 <thyriaen> i think it has to do where you add the tabs
2023-06-24 12:44:58 <geekosaur> you'll have to play with it but I think the numbers are top-bottom-left-right, the first set is between windows, the second set around all windows
2023-06-24 12:44:58 <thyriaen> it has to do with the order of when you apply the gabs
2023-06-24 12:45:07 <geekosaur> yes, that too
2023-06-24 12:45:34 <geekosaur> like I said, it's tricky. and I don't remember what worked. (I don't use spacing)
2023-06-24 12:45:42 <thyriaen> :p
2023-06-24 12:46:00 <thyriaen> ok thanks
2023-06-24 12:46:14 <geekosaur> I *think* you want addTabs, then spacingRaw, then the rest of your layout
2023-06-24 12:46:35 <thyriaen> if it really is impossible to make the highlighted tab lower
2023-06-24 12:46:48 <thyriaen> i think the best looking option is to make a small gap so the shadow doesn't overlap
2023-06-24 12:47:14 <thyriaen> thanks for your help
2023-06-24 14:05:30 × thyriaen quits (~thyriaen@91.197.68.146) (Remote host closed the connection)
2023-06-24 15:50:07 × geekosaur[m] quits (~geekosaur@xmonad/geekosaur) (Server closed connection)
2023-06-24 15:50:59 geekosaur[m] joins (~geekosaur@xmonad/geekosaur)
2023-06-24 16:02:10 × unclechu quits (~unclechu@2001:470:69fc:105::354) (Remote host closed the connection)
2023-06-24 18:33:29 × hightower2 quits (~hightower@235-11.dsl.iskon.hr) (Ping timeout: 246 seconds)
2023-06-24 22:44:36 hightower2 joins (~hightower@85.94.71.188)
2023-06-25 01:24:35 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 264 seconds)
2023-06-25 02:30:32 × td_ quits (~td@i5387092D.versanet.de) (Ping timeout: 246 seconds)
2023-06-25 02:32:31 td_ joins (~td@i53870908.versanet.de)
2023-06-25 04:30:24 × immibis quits (~quassel@2a01:4f9:4a:4caf::2) (Server closed connection)
2023-06-25 04:30:37 immibis joins (~quassel@2a01:4f9:4a:4caf::2)
2023-06-25 05:20:02 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-06-25 06:22:49 hrberg joins (~quassel@171.79-160-161.customer.lyse.net)
2023-06-25 06:39:01 × HAL[m] quits (~evadk8mat@2001:470:69fc:105::3ed0) (Server closed connection)
2023-06-25 06:55:52 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 250 seconds)
2023-06-25 06:57:52 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-06-25 07:06:52 × meck[m] quits (~meckmeckd@2001:470:69fc:105::3a51) (Server closed connection)
2023-06-25 07:07:04 meck[m] joins (~meckmeckd@2001:470:69fc:105::3a51)
2023-06-25 09:32:46 × liskin quits (~liskin@xmonad/liskin) (Server closed connection)
2023-06-25 09:33:05 liskin joins (~liskin@xmonad/liskin)
2023-06-25 11:36:41 thyriaen joins (~thyriaen@91.197.68.193)
2023-06-25 11:38:33 <thyriaen> i am starting my picom with picom --shadow-exclude='override_redirect = true && !WM_NAME:s' -- do you know what it does by any chance because i forgot
2023-06-25 11:38:50 unclechu joins (~unclechu@2001:470:69fc:105::354)
2023-06-25 11:43:11 × hightower2 quits (~hightower@85.94.71.188) (Ping timeout: 264 seconds)
2023-06-25 11:45:46 × thyriaen quits (~thyriaen@91.197.68.193) (Remote host closed the connection)
2023-06-25 11:46:02 thyriaen joins (~thyriaen@91.197.68.193)
2023-06-25 11:53:51 <geekosaur> it excludes any window which is not managed by the window manager and which has no title
2023-06-25 11:54:29 <thyriaen> geekosaur, what kind of windows are those ? do you know ?
2023-06-25 11:54:47 <geekosaur> no
2023-06-25 12:07:01 <thyriaen> ok
2023-06-25 13:53:58 hightower2 joins (~hightower@141-136-230-213.dsl.iskon.hr)
2023-06-25 14:05:51 Guest0 joins (~Guest0@2601:85:8200:18b0:965:3320:e347:53b0)
2023-06-25 14:07:21 × Guest0 quits (~Guest0@2601:85:8200:18b0:965:3320:e347:53b0) (Client Quit)
2023-06-25 14:07:25 × thyriaen quits (~thyriaen@91.197.68.193) (Remote host closed the connection)
2023-06-25 16:05:26 × unclechu quits (~unclechu@2001:470:69fc:105::354) (Remote host closed the connection)
2023-06-25 16:26:28 incertia joins (~incertia@209.122.71.127)
2023-06-25 17:13:22 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 250 seconds)
2023-06-25 17:51:42 Twily[m] joins (~twilypony@2001:470:69fc:105::a106)
2023-06-25 18:00:47 <Twily[m]> Hello. I’m thinking of implementing “modes” for my xmonad key bindings. Like in i3wm. You press a key combo and the mode is switched and you have new key binding layout.
2023-06-25 18:00:55 <Twily[m]> Is there a solution already for this for xmonad?
2023-06-25 18:01:28 <Twily[m]> Or if I were to implement it myself I could have some internal state and based on that trigger one X () or another for the bound key.
2023-06-25 18:01:57 <Twily[m]> The only problem I can think of is when I want to bind some keys like 1 or q without any modifiers.
2023-06-25 18:02:20 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Hooks-Modal.html
2023-06-25 18:02:37 unclechu joins (~unclechu@2001:470:69fc:105::354)
2023-06-25 18:03:05 <Twily[m]> With this solution in mind I would just grab this key, doesn’t matter what “mode” I’m in right now. Can I yield the key grab in X () so it would be forwarded to the focused window?
2023-06-25 18:03:29 × incertia quits (~incertia@209.122.71.127) (Ping timeout: 240 seconds)
2023-06-25 18:03:43 <geekosaur> no, the best you can do is `sendEvent` it
2023-06-25 18:05:00 incertia joins (~incertia@209.122.71.127)
2023-06-25 18:05:19 <Twily[m]> geekosaur so just retrigger the same key as a fake event?
2023-06-25 18:05:41 <Twily[m]> But the link you sent seems to do what I want from reading a couple of paragraphs
2023-06-25 18:06:50 <geekosaur> yes, I'm looking it over, I think it does redo the grabs
2023-06-25 18:07:20 <geekosaur> what you can't do is conditional execution
2023-06-25 18:07:30 <Twily[m]> Thanks, I’m going to try it
2023-06-25 18:17:05 × _qw quits (~eqw@31.134.178.99) (Server closed connection)
2023-06-25 18:17:23 _qw joins (~eqw@31.134.178.99)
2023-06-25 19:54:11 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-06-25 20:35:19 Guest8 joins (~Guest8@139.60.76.189)
2023-06-25 20:38:15 <Guest8> Hi all, I hope someone here can point me in the right direction. After a system upgrade of Alpine, now when I do `~/.cabal/bin/xmonad --recompile` I get "xmonad.hs:1:1: error: Could not load module ‘Prelude’ It is a member of the hidden package ‘base-4.17.0.0’. You can run ‘:set -package base’ to expose it." I do not know where to `:set
2023-06-25 20:38:16 <Guest8> -package base`. I see that there are a bunch of random webpages involving this error, but none of them have given me any idea how to fix it. Help?
2023-06-25 20:58:13 <geekosaur> that is one of ghc's less helpful messages
2023-06-25 21:04:01 <geekosaur> did you use `ghc install --lib xmonad xmonad-contrib` initially? if so, you probably need to repeat it, and may need to remove `.ghc.environment.*`
2023-06-25 21:14:16 <Guest8> geekosaur I did indeed run that, and tried repeating it before posting here. No dice. I had not tried removing those environment files, though, so thanks for the suggestion. Unfortunately, the problem remains.
2023-06-25 21:14:38 <geekosaur> oh. I bet it upgraded you to cabal 3.10
2023-06-25 21:14:55 <geekosaur> rerun that command but add base to it
2023-06-25 21:15:07 <geekosaur> cabal install --lib base xmonad xmonad-contrib
2023-06-25 21:15:12 <Guest8> Yessir, 3.10.1.0. I'll try!
2023-06-25 21:15:25 <geekosaur> they tried to fix one bug and introduced another in its place
2023-06-25 21:15:45 <Guest8> Install succeeded, recompile fails.
2023-06-25 21:15:53 <geekosaur> same error?
2023-06-25 21:15:56 <Guest8> Yep
2023-06-25 21:17:09 <geekosaur> can you pastebin the contents of the ghc environment file?
2023-06-25 21:17:12 <geekosaur> @where paste
2023-06-25 21:17:12 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2023-06-25 21:18:16 <Guest8> http://sprunge.us/whiU8T
2023-06-25 21:18:41 <geekosaur> still missing base
2023-06-25 21:19:41 <Guest8> Hmm, okay. That seems like something I can debug. But how can you tell?

All times are in UTC.