Logs: liberachat/#xmonad
| 2022-12-11 22:40:22 | <geekosaur> | might also be possible to use dbus-send with spawn |
| 2022-12-11 22:46:46 | <AskYourself[m]> | Hmm ok. |
| 2022-12-11 22:50:55 | <AskYourself[m]> | <geekosaur> "spawn "killall picom"?" <- I don't think this will work. Cause `killAll` is for windows not services. |
| 2022-12-11 22:51:01 | <AskYourself[m]> | Maybe I'm just confused though. |
| 2022-12-11 22:53:12 | <geekosaur> | killall is for commands not windows |
| 2022-12-11 22:53:20 | <geekosaur> | xkill is for windows |
| 2022-12-11 22:55:36 | <AskYourself[m]> | Oh that actually works great haha. |
| 2022-12-11 22:55:52 | <AskYourself[m]> | I was confusing killall and killAll (from WithAll) 🤦‍♂️ |
| 2022-12-11 22:56:25 | <AskYourself[m]> | Is there a way to have XMonad detect whether a service is running? |
| 2022-12-11 22:56:42 | <AskYourself[m]> | If that's possible then I could have the same keybind work as a toggle instead of having an on and off switch. |
| 2022-12-11 22:58:30 | <geekosaur> | it wouldn't be xmonad, but you're doing it in a spawn either way, so: spawn "if pgrep picom; then killall picom; else picom; fi" |
| 2022-12-11 22:58:53 | <AskYourself[m]> | Oh right I see. |
| 2022-12-11 22:59:09 | <AskYourself[m]> | I seen to learn shell and stuff. That didn't even occur to me. |
| 2022-12-11 22:59:12 | <AskYourself[m]> | Ok thanks. |
| 2022-12-11 23:03:46 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::efb) |
| 2022-12-11 23:15:13 | <AskYourself[m]> | One other thing. I'm trying to figure out how to rotate my windows. So if I have:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/e7ef6277a1b527f3af0f34fdded5c79392533773>) |
| 2022-12-11 23:15:26 | <AskYourself[m]> | * One other thing. I'm trying to figure out how to rotate my windows. So if I have:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/3cfdb1e5ea24265bcc6b695a2f31e391b343234f>) |
| 2022-12-11 23:15:49 | <AskYourself[m]> | Is there a function or library or something to look at to find window rotation stuff like this? |
| 2022-12-11 23:19:35 | <geekosaur> | there are window rotation functions but they're stack-based, not screen-based. https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Actions-CycleWindows.html |
| 2022-12-11 23:20:22 | <AskYourself[m]> | Yeah, this was what I came across but I don't think that's what I need. Dang. Ok. |
| 2022-12-11 23:20:42 | <AskYourself[m]> | Another one I was hoping for was a mirror thing. Where it flips the master with the stack. |
| 2022-12-11 23:20:58 | <geekosaur> | Mirror is in the core |
| 2022-12-11 23:21:19 | <geekosaur> | oh wait, that mirrirs diagonally (horiz vs., vert) |
| 2022-12-11 23:21:36 | <AskYourself[m]> | Yeahh.. |
| 2022-12-11 23:21:43 | <geekosaur> | I think you want https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Layout-Reflect.html |
| 2022-12-11 23:22:16 | <AskYourself[m]> | Ok, I'm gonna mess with this. Thank you. |
| 2022-12-11 23:22:40 | <AskYourself[m]> | The rotation stuff is surprising, for some reason it seems odd to me that nobody else would want that functionality. |
| 2022-12-11 23:23:05 | Ă— | scardinal quits (~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Ping timeout: 268 seconds) |
| 2022-12-11 23:24:02 | <geekosaur> | not sure that it's "nobody wants it", it's that it's hard to implement. a rotation function can't, for example, tell how many windows are exposed in a layout or how they're arranged |
| 2022-12-11 23:25:35 | <geekosaur> | someone asked for the ability to step through that kind of window arrangement recently, and that can't be done for the same reason |
| 2022-12-11 23:29:48 | → | scardinal joins (~supreme@customer-212-237-101-39.ip4.gigabit.dk) |
| 2022-12-11 23:37:23 | <AskYourself[m]> | Makes sense. |
| 2022-12-11 23:39:11 | <AskYourself[m]> | So I've modded my config like this:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/ea501372407c1115bd53c20e345cde19d99e9e4e>) |
| 2022-12-11 23:39:46 | <AskYourself[m]> | s///, s/// |
| 2022-12-11 23:40:09 | Ă— | tremon quits (~tremon@83-84-18-241.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in) |
| 2022-12-11 23:44:02 | <geekosaur> | I don't know how well the layout modifier combines with the toggle |
| 2022-12-11 23:45:25 | <AskYourself[m]> | Hmm, that's what it suggests in the Reflect page. |
| 2022-12-11 23:47:19 | <geekosaur> | looks to me like the transformer just inserts the same reflection, so it's a no-op if you also use it directly |
| 2022-12-11 23:48:15 | <geekosaur> | it might work better if you want the key but want it to default on, to put `sendMessage $ Toggle REFLECTY` in the startupHook |
| 2022-12-11 23:48:22 | <geekosaur> | so it starts out enabled |
| 2022-12-12 00:01:42 | <AskYourself[m]> | I don't want it to default on. |
| 2022-12-12 00:01:52 | <AskYourself[m]> | I want it to behave normally, but then to flip only if I hit the key. |
| 2022-12-12 00:02:30 | <geekosaur> | shouldn't that work without adding the explicit reflectVert? |
| 2022-12-12 00:02:48 | <geekosaur> | because the modifier inserts reflectVert when you toggle it on |
| 2022-12-12 00:05:50 | <AskYourself[m]> | I removed reflectVert, it's not starting out flipped now, but still keybind has no effect. |
| 2022-12-12 00:09:47 | Ă— | chomwitt quits (~chomwitt@2a02:587:7a05:dc00:1ac0:4dff:fedb:a3f1) (Ping timeout: 248 seconds) |
| 2022-12-12 00:10:33 | <geekosaur> | hm. looks right to me, do you perhaps have another definition for M-m in your keys? |
| 2022-12-12 00:11:57 | <AskYourself[m]> | Nope, just searched the whole file to make sure. |
| 2022-12-12 00:15:31 | <liskin> | https://libera.ems.host/_matrix/media/v3/download/libera.chat/ea501372407c1115bd53c20e345cde19d99e9e4e is rougly similar to what I have in my config and it works perfectly |
| 2022-12-12 00:18:05 | <AskYourself[m]> | I tried changing the key just to make sure it's not something about "M-m", but same behaviour. |
| 2022-12-12 00:34:42 | <geekosaur> | welp |
| 2022-12-12 00:35:12 | <geekosaur> | it took me a while because something recreated ~/.cabal on me but I'm running the prerelease cabal in XDG mode so everything broke… |
| 2022-12-12 00:35:26 | <geekosaur> | but I just set this up in my config. and… it doesn't work |
| 2022-12-12 00:36:09 | <AskYourself[m]> | At least it's not just me, lol. |
| 2022-12-12 00:42:02 | <geekosaur> | seems to be a problem with MultiToggle: if I switch it to FULL instead of REFLECTY it still doesn't work |
| 2022-12-12 00:51:15 | <geekosaur> | sigh. really do not want to try to debug something based on HList… |
| 2022-12-12 00:54:03 | <geekosaur> | please tell me this doesn't matter |
| 2022-12-12 00:54:18 | <geekosaur> | oh good |
| 2022-12-12 00:54:48 | <geekosaur> | (was checking if the pragmas named at the bottom of the file were somehow needed for it to work at all, instead of only when defining your own transformers) |
| 2022-12-12 00:59:01 | <geekosaur> | liskin, are you running from git or 0.17.1 release or whatever debian (testing?) /ubuntu/whatever currently has or what? |
| 2022-12-12 01:01:36 | <geekosaur> | no errors logged on the keypress, so it's apparently trying to do something |
| 2022-12-12 01:01:52 | <geekosaur> | sadly there's no way to find out if a layout message has no recipients |
| 2022-12-12 01:14:45 | → | sogens joins (sogens@gateway/vpn/protonvpn/sogens) |
| 2022-12-12 01:18:26 | <geekosaur> | hrm. I tried using ToggleLayout instead and it also doesn't work, which suggests something wrong with sendMessage |
| 2022-12-12 01:20:52 | <geekosaur> | confirmed: mod-space doesn't work either |
| 2022-12-12 01:21:07 | <geekosaur> | did we change something with sendMessage recently? |
| 2022-12-12 01:35:11 | <geekosaur> | AskYourself[m], does mod-space work? |
| 2022-12-12 01:39:54 | <geekosaur> | I filed a bug about sendMessage appearing to not be working in git. I'm pretty sure it worked a couple weeks ago, so I have no idea what changed |
| 2022-12-12 01:43:27 | <[Leary]> | I looked at the blame. There's a trivial change this year, and nothing before that until way back in 2018. |
| 2022-12-12 01:43:40 | <[Leary]> | I don't see how it could suddenly break... |
| 2022-12-12 01:43:49 | <AskYourself[m]> | <geekosaur> "Ask Yourself🍉, does mod-space..." <- No. Same behaviour with mod space as keybind. |
| 2022-12-12 01:44:43 | <geekosaur> | sorry, I did not mean rebind the key to mod-space, I was asking if the regular mod-space keybind (switch to next layout, which also uses sendMessage) works |
| 2022-12-12 01:45:22 | <geekosaur> | because mod-space stopped working here at some point which means sendMessage isn't working for some reason |
| 2022-12-12 01:46:50 | <AskYourself[m]> | I have mod space as a launcher, but I have layout switching bound elsewhere and it works. |
| 2022-12-12 01:47:10 | <geekosaur> | hm, and now that I removed the layput modifier mod-space works again. sigh |
| 2022-12-12 01:47:42 | <AskYourself[m]> | If you need to see the exact keybinds..... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/945848b428d54fa3b4a97d6b5ec2edc5ac47948d>) |
| 2022-12-12 01:48:17 | <AskYourself[m]> | (Everything there works fine.) |
| 2022-12-12 01:49:05 | <geekosaur> | I closed the ticket until I can debug this better |
| 2022-12-12 02:06:50 | Ă— | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 260 seconds) |
| 2022-12-12 03:03:14 | Ă— | banc quits (banc@gateway/vpn/protonvpn/banc) (Ping timeout: 268 seconds) |
| 2022-12-12 03:25:41 | → | banc joins (banc@gateway/vpn/protonvpn/banc) |
| 2022-12-12 03:40:52 | Ă— | td_ quits (~td@83.135.9.54) (Ping timeout: 265 seconds) |
| 2022-12-12 03:42:18 | → | td_ joins (~td@83.135.9.32) |
| 2022-12-12 04:05:27 | → | sagax joins (~sagax_nb@user/sagax) |
| 2022-12-12 04:38:37 | <AskYourself[m]> | For some reason the steam settings are always spawning into this weird location: |
| 2022-12-12 04:38:46 | AskYourself[m] | uploaded an image: (1094KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/paTqhGPLmpRYycdwOuSCqtlk/image.png > |
| 2022-12-12 04:38:51 | <AskYourself[m]> | The save button is actually trapped off screen. |
| 2022-12-12 04:44:34 | <AskYourself[m]> | I need to match on the WM_name to get some specific behaviour in my manage hook. I want different behaviour for windows in the steam family and windows in the steam family with the name settings: |
| 2022-12-12 04:44:47 | <AskYourself[m]> | I know I need something kinda like this: |
| 2022-12-12 04:44:51 | AskYourself[m] | sent a code block: https://libera.ems.host/_matrix/media/v3/download/libera.chat/ac348d8d2501b070b0b67927e817a98dc99d6ffc |
| 2022-12-12 04:44:57 | <AskYourself[m]> | But titse is not right. |
| 2022-12-12 04:45:20 | <AskYourself[m]> | Yet I'm not seeing anything to match on the name in ManageHook or ManageHelpers. |
| 2022-12-12 04:45:27 | <AskYourself[m]> | Any idea how to do that or something equivalent? |
| 2022-12-12 04:45:57 | <AskYourself[m]> | s/titse/`title`/ |
| 2022-12-12 05:23:12 | → | rekahsoft joins (~rekahsoft@bras-base-wdston4533w-grc-05-184-144-15-227.dsl.bell.ca) |
| 2022-12-12 05:34:56 | Ă— | rekahsoft quits (~rekahsoft@bras-base-wdston4533w-grc-05-184-144-15-227.dsl.bell.ca) (Ping timeout: 256 seconds) |
| 2022-12-12 06:02:32 | Ă— | mvk quits (~mvk@2607:fea8:5ce3:8500::efb) (Quit: Going elsewhere) |
| 2022-12-12 06:03:22 | → | thunderrd joins (~thunderrd@183.182.110.25) |
| 2022-12-12 06:14:23 | → | chomwitt joins (~chomwitt@2a02:587:7a05:dc00:1ac0:4dff:fedb:a3f1) |
| 2022-12-12 06:39:18 | → | mncheckm joins (~mncheck@193.224.205.254) |
All times are in UTC.