2023/06/28

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