Home liberachat/#xmonad: Logs Calendar

Logs on 2024-01-20 (liberachat/#xmonad)

03:43:23 × terrorjack quits (~terrorjac@2a01:4f8:c17:87f8::) (Quit: The Lounge - https://thelounge.chat)
03:47:23 terrorjack joins (~terrorjac@2a01:4f8:c17:87f8::)
03:57:43 × td_ quits (~td@i53870934.versanet.de) (Ping timeout: 246 seconds)
03:59:51 td_ joins (~td@i5387090D.versanet.de)
06:56:52 × Buliarous quits (~gypsydang@46.232.210.139) (Read error: Connection reset by peer)
07:14:30 × berberman quits (~berberman@user/berberman) (Quit: ZNC 1.8.2 - https://znc.in)
07:15:23 berberman joins (~berberman@user/berberman)
11:29:49 × hightower2 quits (~hightower@213.186.15.36) (Ping timeout: 264 seconds)
11:58:33 hightower2 joins (~hightower@141-136-129-170.dsl.iskon.hr)
14:51:40 CronyAkatsuki joins (~crony@37.205.108.111)
14:52:24 <CronyAkatsuki> hello, could I get some help with xmonad floating and mouse move/resize
14:53:07 <CronyAkatsuki> whenever I change move or resize a window it stays on top of any new window I spawn in simpleFloat layout
15:33:07 <[Leary]> CronyAkatsuki: The move/resize actions are turning your pretend floats into actual floats. You can re-tile them afterwards (mod-t) and I imagine they'll get to keep their new geometries. If it's a bother to do that manually every time, you should be able to work the re-tiling into the move/resize actions.
15:53:50 <CronyAkatsuki> [Leary]: is there any way to get what's the current workspace in xmonad? Or get what's the current layout so I can automate this in ther mouse bindings for when I'm on the simpleFloat layout?
16:04:21 <[Leary]> CronyAkatsuki: `gets ((== "Float") . description . layout . workspace . current . windowset)`
16:07:41 <[Leary]> I suppose you could use X.A.PerLayoutKeys for this, seems to be what it's for.
16:09:32 <[Leary]> E.g. `chooseActionByLayout \case{ "Float" -> ...; _ -> ... }`
16:36:43 × CronyAkatsuki quits (~crony@37.205.108.111) (Quit: leaving)
19:57:25 <haskellbridge> <f​rankitox> Hello! Anyone knows if it's possible to switch workspace from the command line? ChatGPT suggests using `xdotool` which is useful to simulate keystrokes (not a solution I like). I've checked `man xmonad` but couldn't found anything relevant.
19:57:44 <haskellbridge> <f​rankitox> Hello! Anyone knows if it's possible to switch workspace from the command line? ChatGPT suggests using `xdotool` which is useful to simulate keystrokes (not a solution I like). I've checked `man xmonad` but couldn't find anything relevant.
20:01:01 <geekosaur> xdotool or wmctrl can do it via EWMH instead of via keystrokes, if you have EwmhDesktops enabled
20:05:09 <geekosaur> xdotool set_desktop desktopnumber, or wmctrl -s desktopname
20:06:19 <geekosaur> of the two, I prefer wmctrl because I don't have to look up a name-to-number mapping (which is most easily done with wmctrl anyway)
20:22:43 <haskellbridge> <f​rankitox> I had to make a little change to my xmonad config (importing `XMonad.Hooks.EwmhDesktops` and using `ewmh`), but it's working now :D. I've only tried xdotool, but I'll see which one to use. Thanks man 🙏
23:43:50 × ectospasm quits (~ectospasm@user/ectospasm) (Quit: WeeChat 4.1.2)

All times are in UTC on 2024-01-20.