Home liberachat/#xmonad: Logs Calendar

Logs on 2026-02-16 (liberachat/#xmonad)

01:37:54 hightower3 joins (~hightower@dh207-112-152.xnet.hr)
02:06:44 × hightower3 quits (~hightower@dh207-112-152.xnet.hr) (Remote host closed the connection)
02:07:02 hightower3 joins (~hightower@dh207-112-152.xnet.hr)
02:23:06 hightower4 joins (~hightower@dh207-112-152.xnet.hr)
02:25:20 × hightower3 quits (~hightower@dh207-112-152.xnet.hr) (Ping timeout: 245 seconds)
03:11:51 × td_ quits (~td@i53870902.versanet.de) (Ping timeout: 244 seconds)
03:14:01 td_ joins (~td@i5387093C.versanet.de)
03:17:42 <ghormoon> can i somehow ban window border based on window name? or even on that a window pro "STEAM_GAME(CARDINAL)" exists in general? I have an issue with som fullscreen windows that the border blinks ... even if set the layout to a borderless variant before moving the window there
03:21:03 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Hooks-BorderPerWindow.html
03:25:23 <geekosaur> matching on a property of type CARDINAL will probably require custom code, I think there's only a canned version for strings
03:28:32 <ghormoon> i'll do it by the name for now ... but I'm missing some syntax sugar, i tried to edit my main line, but that won't work: main = xmonad $ actionQueue =<< myStatusBar (withUrgencyHook NoUrgencyHook defaults)
03:28:43 <ghormoon> previously it was just: main = xmonad =<< myStatusBar (withUrgencyHook NoUrgencyHook defaults)
03:34:08 <geekosaur> correct, the precedences are wrng for what ypu were doing. `main = xmonad =<< actionQueue <$> myStatusBar (withUrgencyHook NoUrgencyHook defaults)`
03:37:05 <ghormoon> thanks, that helps
03:39:50 <ghormoon> ok, minor thing, the specific cborder settings get forgotten if i restart xmonad, but that's not gonna happen often unless i'm trying to tweak something, so it's not improtant to fix :D
03:41:26 <geekosaur> report that; there might be a way around it
03:42:40 <ghormoon> yeah the per-window action obviously doesn't run again
03:43:13 <ghormoon> but the other tasks like doShift don't run either
03:44:09 <geekosaur> yeh, but I'm thinking we save them by ID in persistent XS and reapply them on restart. also would require a delete-window hook to clean up, but conveniently `actionQueue` is a combinator so we can hide it in there without changing types or usage ☺
03:47:34 <geekosaur> and yes, none of the manageHook things run on restart, they only run when a new window is mapped
03:48:12 <geekosaur> there are things you don't want to get repeated on restart, for example a manageHook moves a window to some workspace but then you manually move it somewhere else
03:48:26 <geekosaur> you don't want that to get undone on restart
03:50:01 <ghormoon> yeah so the question is, if this should be re-run or not, but it would make sense to, right
03:51:02 <ghormoon> btw theoretically, xmonad can run only one x session or more? thinking if i could possibly have some way to switch around some windows to dgpu without some heavy pains
03:52:11 <geekosaur> it's the other way around. an X session can only run a single window manager
03:52:48 <geekosaur> you could arrange to run a second X session via a display manager, but it's not possible to move windows between X sessions (X server limitation)
03:53:37 <ghormoon> yeah not to move windows between, but to be able to switch to desktops that have windows in the other x session
03:54:18 <ghormoon> have both sets of workspaces in one xmonad ... not important, just thinking :D
03:56:29 <ghormoon> but i guess i'd have to have two separate xmonad instances running and just switch around those some other way
04:06:41 <geekosaur> right
04:07:53 <geekosaur> and "some other way" is CTRL-ALT-Fn (beware of modern keyboards which require an extra keypress for the function keys) where the first X session is F1 (or F2 if Wayland is also running) and the second F2 (resp. F3)
04:08:43 <geekosaur> although with Xkb you can redefine those keys, but you'll probably have to write your own Xkb modifier and install it manually
04:14:52 <geekosaur> I don't think any existing window mnager has the ability to connect to multiple display servers and keep track of what's running on each display server. in xmonad's case it would mean multiple StackSets and some way to switch between them (and lose compatibility, since switching between them would be Linux specific but we have users on NetBSD (where xmonad originated) and FreeBSD
04:22:05 <geekosaur> there was at one point a proof of concept ov moving windows between display servers. they discovered that the only way to do it reliably was to save the entire event stream sent to the display server and replay it when moving (recreating, really) the window. this got very slow for long-lived windows and used a lot of memory/disk for the saved event stream
05:05:02 <ghormoon> well, apart of the ctrl-alt-fn, i'd somehow need to hook in muxing the display, so it won't be that trivial i guess :D
07:02:35 Enrico63 joins (~Enrico63@host-82-63-21-32.business.telecomitalia.it)
07:36:57 × ft quits (~ft@p4fc2afab.dip0.t-ipconnect.de) (Quit: leaving)
07:38:04 coldpress joins (~coldpress@223.205.212.35.bc.googleusercontent.com)
07:58:39 × werneta quits (~werneta@71.83.160.242) (Quit: Lost terminal)
08:13:31 × mkoskar quits (hal9000@user/mkoskar) (Ping timeout: 264 seconds)
08:20:09 mkoskar joins (mkoskar@user/mkoskar)
08:33:45 × Enrico63 quits (~Enrico63@host-82-63-21-32.business.telecomitalia.it) (Quit: Client closed)
09:15:30 Enrico63 joins (~Enrico63@host-82-63-21-32.business.telecomitalia.it)
09:53:27 × Enrico63 quits (~Enrico63@host-82-63-21-32.business.telecomitalia.it) (Quit: Client closed)
10:20:05 hightower3 joins (~hightower@dh207-112-152.xnet.hr)
10:23:39 × hightower4 quits (~hightower@dh207-112-152.xnet.hr) (Ping timeout: 245 seconds)
12:35:13 <liskin> ghormoon: what kind of hardware do you have? have you heard of https://github.com/felixdoerre/primus_vk ?
12:37:42 <liskin> That being said, my setup (dotfiles on github) does have support for running a separate X session on the dGPU and it worked relatively well. But it's been years since I last used it - no point even trying these days as that nvidia is so old it won't run any games anyway.
13:46:51 Enrico63 joins (~Enrico63@host-82-63-21-32.business.telecomitalia.it)
14:14:46 × Enrico63 quits (~Enrico63@host-82-63-21-32.business.telecomitalia.it) (Quit: Client closed)
15:23:49 × Miroboru quits (~myrvoll@84.214.174.190) (Quit: Lost terminal)
20:13:21 ft joins (~ft@p4fc2afab.dip0.t-ipconnect.de)
20:20:23 <ghormoon> liskin: igpu in i9-13900hx, dgpu 4070, dell g16 7630 (should have mux switch)
20:21:56 <ghormoon> looking on the link, that would work for most of my linux gaming usecases i think ... the performance hit of that instead of mux should be pretty low. but in the end, i'd be kinda insterested if i could much it manually, so i cah also have gaming windows vm and use somo hotkey to mux/demux into it and keep it runinng, but that's way offtopic here :)
20:24:36 <ghormoon> did you use oss or proprietary nvidia drivers?
21:26:37 hightower4 joins (~hightower@dh207-83-96.xnet.hr)
21:28:59 × hightower3 quits (~hightower@dh207-112-152.xnet.hr) (Ping timeout: 252 seconds)
21:46:01 <liskin> ghormoon: oh, I see - I never had a laptop with an actual mux so my experience is limited
21:46:32 <liskin> Suppose you could pass the whole dGPU to qemu if there's a hardware mux
21:47:20 <liskin> I used proprietary because that was the only thing that worked back then. Nouveau was useless and there was nothing else
22:20:42 <ghormoon> yeah i tried proprietary and it gets kernel panics every 10min or so even when i use igpu :D just by being loaded :D
22:21:15 <ghormoon> but yeah that's the general idea. the question is, if i'll manage to control the mux somehow to only switch display and not turn off the gpu
22:21:25 <ghormoon> but that's a task for another day

All times are in UTC on 2026-02-16.