2023/06/28

2023-06-28 00:53:58 +0200liskin[m](~liskinmat@2001:470:69fc:105::768)
2023-06-28 00:55:35 +0200Twily[m](~twilypony@2001:470:69fc:105::a106)
2023-06-28 01:01:48 +0200VarikValefor[m](~varikvale@2001:470:69fc:105::a5d)
2023-06-28 01:01:48 +0200geekosaur[m](~geekosaur@xmonad/geekosaur)
2023-06-28 01:02:00 +0200johnabs[m](~johnabsma@2001:470:69fc:105::2:95c4)
2023-06-28 01:02:00 +0200ChaoticMist[m](~gilganixm@2001:470:69fc:105::3d09)
2023-06-28 01:42:54 +0200 <Twily[m]> Can I select multiple windows in XMonad to close them at once? Or close all windows on a current work space for example?
2023-06-28 01:59:22 +0200 <geekosaur> there's no keybinding for it by default but look at https://hackage.haskell.org/package/xmonad-contrib/docs/XMonad-Actions-WithAll.html#v:withAll and https://hackage.haskell.org/package/xmonad-contrib/docs/XMonad-Actions-TagWindows.html#v:withTagged
2023-06-28 02:01:34 +0200 <geekosaur> (use `kill` as the action to run to close all windows / all windows with a given tag)
2023-06-28 02:02:54 +0200 <[Leary]> Probably need `killWindow`.
2023-06-28 02:03:35 +0200 <geekosaur> hm, probably
2023-06-28 02:04:18 +0200 <geekosaur> oh, roight, for some reason I misremembered tose as kill and kill1
2023-06-28 02:04:32 +0200 <geekosaur> don't use kill directly unless you really want a hard kill
2023-06-28 02:06:02 +0200 <Twily[m]> Looking at the souce “kill” is just a shorthand for “killWindow” for a currently focused window
2023-06-28 02:06:57 +0200 <geekosaur> wow, I'm not doing well tonight. sigh. killClient is the one to avoid…
2023-06-28 02:07:26 +0200 <Twily[m]> geekosaur so the idea is to add a key to add some custom tag to a focused window (or a window by a rule, like current workspace), and then kill all the tagged windows?
2023-06-28 02:08:24 +0200 <geekosaur> XMonad.Actions.WithAll has stuff to run on all windows in a workspace. XMonad.Actions.TagWindows lets you add and remove tags from windows, and then run things on windows with a given tag
2023-06-28 02:08:38 +0200 <geekosaur> you don't have to tag all windows on a workspace, use WithAll instead
2023-06-28 02:09:16 +0200 <Twily[m]> Yeah, now I see, was looking at the second link first
2023-06-28 02:09:20 +0200 <Twily[m]> Thanks
2023-06-28 02:10:19 +0200 <Twily[m]> By the way, that XMonad.Hooks.Modal you recommended previously works exactly like I wanted it to to replicate i3wm modes
2023-06-28 02:15:57 +0200 <Twily[m]> Does xmonad-contrib has something to mark a floating window sticky? To set _NET_WM_STATE_STICKY?
2023-06-28 02:16:49 +0200 <Twily[m]> I found an example how to respect window stickiness with custom X _NET_WM_STATE parsing and doing copyToAll but not toggling for this one.
2023-06-28 02:17:15 +0200 <Twily[m]> Technically I can implement a hack myself, like just tagging windows and doing copyToAll for the tag
2023-06-28 02:18:37 +0200 <geekosaur> it doesn't, and technically shouldn't: _NET_WM_STATE is used to communicate things to the window manager
2023-06-28 02:18:55 +0200 <geekosaur> we don't set it, we respond to it
2023-06-28 02:19:53 +0200 <geekosaur> (that said, there's some things in it which are actually owned by a pager instead of the window manager, and we can set those)
2023-06-28 02:21:42 +0200 <Twily[m]> I just want to replicate “sticky toggle” command from i3wm. I didn’t check what it really does though.
2023-06-28 02:21:54 +0200 <Twily[m]> I guess I’ll be totally fine with the custom tag solution.
2023-06-28 02:22:14 +0200 <geekosaur> setting _NET_WM_STATE is irrelevant because the only thing that would care is us…
2023-06-28 02:22:20 +0200 <geekosaur> so just use tags or whatever
2023-06-28 02:45:14 +0200 <Twily[m]> If I add a tag to a window should I see it in xprop output?
2023-06-28 02:45:41 +0200 <Twily[m]> Hm.. actually I can see it now
2023-06-28 02:46:47 +0200 <Twily[m]> It seems it’s just my manage-hook that is not working
2023-06-28 02:51:27 +0200 <Twily[m]> isStickyWindow = XMonad.liftX . TagWindows.hasTag stickyWindowTag =<< XMonad.ask
2023-06-28 02:51:33 +0200 <Twily[m]> isStickyWindow --> XMonad.doF copyToAll
2023-06-28 02:51:54 +0200 <Twily[m]> Am I doing it wrong. I can see the tag is set in xprop output
2023-06-28 02:52:16 +0200 <Twily[m]> But the window does not appear on other workspaces when I’m switching to them
2023-06-28 02:55:03 +0200 <geekosaur> the manageHook only runs when a window first appears, so it won't have the tag initially and by the time you can add it it's too late for the manageHook
2023-06-28 02:57:05 +0200 <Twily[m]> Hm... I just had the same though that it is the case.
2023-06-28 02:57:28 +0200 <Twily[m]> So maybe instead of this taggin I can just do copyToAll in a key handler?
2023-06-28 02:58:16 +0200 <Twily[m]> Or tag it in case I want to invert the state. What is the opposite of “copyToAll”?
2023-06-28 02:58:31 +0200 <geekosaur> `killAllOtherCopies`
2023-06-28 02:59:10 +0200 <geekosaur> and if you do this in a key handler it's probably `withFocused $ windows . copyToAll`
2023-06-28 03:01:17 +0200 <geekosaur> hold on, it's not
2023-06-28 03:02:20 +0200hightower3(~hightower@141-136-163-93.dsl.iskon.hr)
2023-06-28 03:03:41 +0200 <geekosaur> oh, it's just `windows copyToAll`
2023-06-28 03:04:46 +0200 <Twily[m]> Does it apply still only to a currently focused window?
2023-06-28 03:04:54 +0200 <geekosaur> yes
2023-06-28 03:05:15 +0200 <geekosaur> copyToAll knows which window is focused because it's given the whole StackSet
2023-06-28 03:05:23 +0200hightower2(~hightower@141-136-230-213.dsl.iskon.hr) (Ping timeout: 264 seconds)
2023-06-28 03:07:10 +0200 <Twily[m]> As far as I understand it’s part of a copyToAll implementation to figure out if it’s a focused window or not?
2023-06-28 03:26:43 +0200 <Twily[m]> Okay, this copyToAll works just weird when you have multiple screens
2023-06-28 03:27:08 +0200 <Twily[m]> As soon as copyToAll riggers the window jumps to another screen.
2023-06-28 03:27:20 +0200 <Twily[m]> If I switch to that another screen it jumps back
2023-06-28 03:27:27 +0200 <Twily[m]> Hard to tell what’s going on
2023-06-28 03:28:16 +0200 <Twily[m]> And it grabs the focus. If I try to switch to another window it prevents me to do so
2023-06-28 03:31:17 +0200 <[Leary]> The screen-swapping misbehaviour is fixed in git master.
2023-06-28 03:31:41 +0200 <Twily[m]> xmonad or xmonad-contrib?
2023-06-28 03:31:50 +0200 <[Leary]> xmonad
2023-06-28 04:27:29 +0200td_(~td@i5387090F.versanet.de) (Ping timeout: 240 seconds)
2023-06-28 04:29:41 +0200td_(~td@i5387093D.versanet.de)
2023-06-28 08:14:48 +0200FatBoyXPC(~FatBoyXPC@user/fatboyxpc) (Server closed connection)
2023-06-28 08:17:30 +0200FatBoyXPC(~FatBoyXPC@user/fatboyxpc)
2023-06-28 09:00:00 +0200hightower3(~hightower@141-136-163-93.dsl.iskon.hr) (Quit: Leaving)
2023-06-28 10:07:15 +0200cfricke(~cfricke@user/cfricke)
2023-06-28 11:07:31 +0200mc47[m](~mc47matri@2001:470:69fc:105::733) (Remote host closed the connection)
2023-06-28 11:09:54 +0200unclechu(~unclechu@2001:470:69fc:105::354) (Remote host closed the connection)
2023-06-28 11:10:59 +0200m5zs7k(aquares@web10.mydevil.net) (Ping timeout: 246 seconds)
2023-06-28 11:12:48 +0200m5zs7k(aquares@web10.mydevil.net)
2023-06-28 11:27:14 +0200ft(~ft@p508db151.dip0.t-ipconnect.de) (Quit: leaving)
2023-06-28 11:53:32 +0200fizzie(irc@selene.zem.fi) (Server closed connection)
2023-06-28 11:54:11 +0200fizzie(irc@selene.zem.fi)
2023-06-28 13:35:25 +0200malook(~Thunderbi@2a02:9b0:4048:2916:dc6d:cf0f:826a:c92b)
2023-06-28 13:52:29 +0200emma-underscores(~emma-unde@2001:470:69fc:105::2:cdfc)
2023-06-28 13:53:46 +0200mncheck-m(~mncheck@193.224.205.254) (Read error: Connection reset by peer)
2023-06-28 13:53:54 +0200smashgrab(~smashgrab@188.166.8.80) (Ping timeout: 250 seconds)
2023-06-28 13:54:29 +0200smashgrab(~smashgrab@188.166.8.80)
2023-06-28 14:45:27 +0200obimod(~weechat@gateway/tor-sasl/obimod)
2023-06-28 14:45:54 +0200incertia(~incertia@209.122.71.127) (Ping timeout: 250 seconds)
2023-06-28 14:46:05 +0200incertia_(~incertia@209.122.71.127)
2023-06-28 14:46:29 +0200incertia_incertia
2023-06-28 14:47:17 +0200obimod(~weechat@gateway/tor-sasl/obimod) (Changing host)
2023-06-28 14:47:17 +0200obimod(~weechat@user/obimod)
2023-06-28 14:47:23 +0200obimod(~weechat@user/obimod) (Client Quit)
2023-06-28 14:47:41 +0200obimod(~weechat@user/obimod)
2023-06-28 15:54:22 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 250 seconds)
2023-06-28 15:54:40 +0200cfricke(~cfricke@user/cfricke)
2023-06-28 15:58:35 +0200amir(sid22336@user/amir) (Server closed connection)
2023-06-28 15:58:45 +0200amir(sid22336@user/amir)
2023-06-28 16:05:07 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2023-06-28 16:05:07 +0200allbery_b(~geekosaur@xmonad/geekosaur)
2023-06-28 16:05:12 +0200allbery_bgeekosaur
2023-06-28 16:23:14 +0200malook(~Thunderbi@2a02:9b0:4048:2916:dc6d:cf0f:826a:c92b) (Ping timeout: 260 seconds)
2023-06-28 16:34:11 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 264 seconds)
2023-06-28 16:56:51 +0200ectospasm(~ectospasm@user/ectospasm) (Quit: WeeChat 3.8)
2023-06-28 17:14:08 +0200diep(~diep@172-104-137-130.ip.linodeusercontent.com)
2023-06-28 17:20:06 +0200ectospasm(~ectospasm@user/ectospasm)
2023-06-28 17:24:56 +0200Natch(~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) (Ping timeout: 250 seconds)
2023-06-28 17:26:23 +0200diep(~diep@172-104-137-130.ip.linodeusercontent.com) (Remote host closed the connection)
2023-06-28 17:28:22 +0200Natch(~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se)
2023-06-28 17:49:45 +0200ml|(~ml|@user/ml/x-5298235) (Ping timeout: 240 seconds)
2023-06-28 18:04:09 +0200ml|(~ml|@user/ml/x-5298235)
2023-06-28 18:54:55 +0200deebo(~globe@stonebay32.com) (Server closed connection)
2023-06-28 18:55:11 +0200deebo(~globe@stonebay32.com)
2023-06-28 19:21:13 +0200amenonsen(~amenonsen@pitta.toroid.org) (Remote host closed the connection)
2023-06-28 19:21:33 +0200amenonsen(~amenonsen@pitta.toroid.org)
2023-06-28 19:24:27 +0200burp(~quassel@hedgewars/sysadmin/burp) (Server closed connection)
2023-06-28 19:24:37 +0200burp(~quassel@hedgewars/sysadmin/burp)
2023-06-28 19:32:13 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Quit: Leaving)
2023-06-28 19:32:28 +0200xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack) (Remote host closed the connection)
2023-06-28 19:39:15 +0200ft(~ft@p508db151.dip0.t-ipconnect.de)
2023-06-28 19:39:53 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2023-06-28 19:44:37 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com)
2023-06-28 19:44:38 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com) (Changing host)
2023-06-28 19:44:38 +0200xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack)
2023-06-28 20:30:07 +0200 <xmonadtrack> xmonad Brandon S Allbery KF8NH {GitHub} * v0.17.2-71-g1aac661: Correctly cite Conor McBride's paper (70 seconds ago, 1 file, 4+ 1-) https://github.com/xmonad/xmonad/commit/1aac6611d820
2023-06-28 20:30:25 +0200unclechu(~unclechu@2001:470:69fc:105::354)
2023-06-28 23:29:02 +0200malook(~Thunderbi@5.110.139.81)
2023-06-28 23:55:26 +0200malook(~Thunderbi@5.110.139.81) (Ping timeout: 252 seconds)