Logs: liberachat/#xmonad
| 2023-06-27 15:06:42 | → | [Leary] joins (~Leary]@user/Leary/x-0910699) |
| 2023-06-27 15:19:00 | → | malook joins (~Thunderbi@2a02:9b0:4028:2f26:8f81:a15e:d870:468c) |
| 2023-06-27 15:21:08 | × | malook quits (~Thunderbi@2a02:9b0:4028:2f26:8f81:a15e:d870:468c) (Client Quit) |
| 2023-06-27 15:53:40 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection) |
| 2023-06-27 15:58:06 | × | [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection) |
| 2023-06-27 15:58:27 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2023-06-27 15:58:39 | → | [Leary] joins (~Leary]@user/Leary/x-0910699) |
| 2023-06-27 17:03:15 | × | redgloboli quits (~redglobol@user/redgloboli) (Quit: ...enter the matrix...) |
| 2023-06-27 17:05:37 | → | redgloboli joins (~redglobol@user/redgloboli) |
| 2023-06-27 17:08:28 | → | koad joins (~koad@5.180.242.110) |
| 2023-06-27 17:37:37 | × | koad quits (~koad@5.180.242.110) (Quit: Client closed) |
| 2023-06-27 19:25:36 | → | ft joins (~ft@p508db151.dip0.t-ipconnect.de) |
| 2023-06-27 20:51:20 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2023-06-27 21:06:04 | <HB|ANetSecECESIT> | To be honest with you, I am seriously getting tired of Linux. It simply doesn't want to work as a Desktop OS. I hate Windows. I don't know what to do. ☹️ |
| 2023-06-27 21:29:43 | <liskin> | Nothing works as well as I'd want it to :-( |
| 2023-06-27 21:30:10 | <liskin> | Apart from a new well maintained bicycle or rollerblades, those do! |
| 2023-06-27 21:31:08 | → | unclechu joins (~unclechu@2001:470:69fc:105::354) |
| 2023-06-27 22:53:58 | → | liskin[m] joins (~liskinmat@2001:470:69fc:105::768) |
| 2023-06-27 22:55:35 | → | Twily[m] joins (~twilypony@2001:470:69fc:105::a106) |
| 2023-06-27 23:01:48 | → | VarikValefor[m] joins (~varikvale@2001:470:69fc:105::a5d) |
| 2023-06-27 23:01:48 | → | geekosaur[m] joins (~geekosaur@xmonad/geekosaur) |
| 2023-06-27 23:02:00 | → | johnabs[m] joins (~johnabsma@2001:470:69fc:105::2:95c4) |
| 2023-06-27 23:02:00 | → | ChaoticMist[m] joins (~gilganixm@2001:470:69fc:105::3d09) |
| 2023-06-27 23:42:54 | <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-27 23:59:22 | <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 00:01:34 | <geekosaur> | (use `kill` as the action to run to close all windows / all windows with a given tag) |
| 2023-06-28 00:02:54 | <[Leary]> | Probably need `killWindow`. |
| 2023-06-28 00:03:35 | <geekosaur> | hm, probably |
| 2023-06-28 00:04:18 | <geekosaur> | oh, roight, for some reason I misremembered tose as kill and kill1 |
| 2023-06-28 00:04:32 | <geekosaur> | don't use kill directly unless you really want a hard kill |
| 2023-06-28 00:06:02 | <Twily[m]> | Looking at the souce “kill” is just a shorthand for “killWindow” for a currently focused window |
| 2023-06-28 00:06:57 | <geekosaur> | wow, I'm not doing well tonight. sigh. killClient is the one to avoid… |
| 2023-06-28 00:07:26 | <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 | <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 | <geekosaur> | you don't have to tag all windows on a workspace, use WithAll instead |
| 2023-06-28 00:09:16 | <Twily[m]> | Yeah, now I see, was looking at the second link first |
| 2023-06-28 00:09:20 | <Twily[m]> | Thanks |
| 2023-06-28 00:10:19 | <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 | <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 | <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 | <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 | <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 | <geekosaur> | we don't set it, we respond to it |
| 2023-06-28 00:19:53 | <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 | <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 | <Twily[m]> | I guess I’ll be totally fine with the custom tag solution. |
| 2023-06-28 00:22:14 | <geekosaur> | setting _NET_WM_STATE is irrelevant because the only thing that would care is us… |
| 2023-06-28 00:22:20 | <geekosaur> | so just use tags or whatever |
| 2023-06-28 00:45:14 | <Twily[m]> | If I add a tag to a window should I see it in xprop output? |
| 2023-06-28 00:45:41 | <Twily[m]> | Hm.. actually I can see it now |
| 2023-06-28 00:46:47 | <Twily[m]> | It seems it’s just my manage-hook that is not working |
| 2023-06-28 00:51:27 | <Twily[m]> | isStickyWindow = XMonad.liftX . TagWindows.hasTag stickyWindowTag =<< XMonad.ask |
| 2023-06-28 00:51:33 | <Twily[m]> | isStickyWindow --> XMonad.doF copyToAll |
| 2023-06-28 00:51:54 | <Twily[m]> | Am I doing it wrong. I can see the tag is set in xprop output |
| 2023-06-28 00:52:16 | <Twily[m]> | But the window does not appear on other workspaces when I’m switching to them |
| 2023-06-28 00:55:03 | <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 | <Twily[m]> | Hm... I just had the same though that it is the case. |
| 2023-06-28 00:57:28 | <Twily[m]> | So maybe instead of this taggin I can just do copyToAll in a key handler? |
| 2023-06-28 00:58:16 | <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 | <geekosaur> | `killAllOtherCopies` |
| 2023-06-28 00:59:10 | <geekosaur> | and if you do this in a key handler it's probably `withFocused $ windows . copyToAll` |
| 2023-06-28 01:01:17 | <geekosaur> | hold on, it's not |
| 2023-06-28 01:02:20 | → | hightower3 joins (~hightower@141-136-163-93.dsl.iskon.hr) |
| 2023-06-28 01:03:41 | <geekosaur> | oh, it's just `windows copyToAll` |
| 2023-06-28 01:04:46 | <Twily[m]> | Does it apply still only to a currently focused window? |
| 2023-06-28 01:04:54 | <geekosaur> | yes |
| 2023-06-28 01:05:15 | <geekosaur> | copyToAll knows which window is focused because it's given the whole StackSet |
| 2023-06-28 01:05:23 | × | hightower2 quits (~hightower@141-136-230-213.dsl.iskon.hr) (Ping timeout: 264 seconds) |
| 2023-06-28 01:07:10 | <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 | <Twily[m]> | Okay, this copyToAll works just weird when you have multiple screens |
| 2023-06-28 01:27:08 | <Twily[m]> | As soon as copyToAll riggers the window jumps to another screen. |
| 2023-06-28 01:27:20 | <Twily[m]> | If I switch to that another screen it jumps back |
| 2023-06-28 01:27:27 | <Twily[m]> | Hard to tell what’s going on |
| 2023-06-28 01:28:16 | <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 | <[Leary]> | The screen-swapping misbehaviour is fixed in git master. |
| 2023-06-28 01:31:41 | <Twily[m]> | xmonad or xmonad-contrib? |
| 2023-06-28 01:31:50 | <[Leary]> | xmonad |
| 2023-06-28 02:27:29 | × | td_ quits (~td@i5387090F.versanet.de) (Ping timeout: 240 seconds) |
| 2023-06-28 02:29:41 | → | td_ joins (~td@i5387093D.versanet.de) |
| 2023-06-28 06:14:48 | × | FatBoyXPC quits (~FatBoyXPC@user/fatboyxpc) (Server closed connection) |
| 2023-06-28 06:17:30 | → | FatBoyXPC joins (~FatBoyXPC@user/fatboyxpc) |
| 2023-06-28 07:00:00 | × | hightower3 quits (~hightower@141-136-163-93.dsl.iskon.hr) (Quit: Leaving) |
| 2023-06-28 08:07:15 | → | cfricke joins (~cfricke@user/cfricke) |
| 2023-06-28 09:07:31 | × | mc47[m] quits (~mc47matri@2001:470:69fc:105::733) (Remote host closed the connection) |
| 2023-06-28 09:09:54 | × | unclechu quits (~unclechu@2001:470:69fc:105::354) (Remote host closed the connection) |
| 2023-06-28 09:10:59 | × | m5zs7k quits (aquares@web10.mydevil.net) (Ping timeout: 246 seconds) |
| 2023-06-28 09:12:48 | → | m5zs7k joins (aquares@web10.mydevil.net) |
| 2023-06-28 09:27:14 | × | ft quits (~ft@p508db151.dip0.t-ipconnect.de) (Quit: leaving) |
| 2023-06-28 09:53:32 | × | fizzie quits (irc@selene.zem.fi) (Server closed connection) |
| 2023-06-28 09:54:11 | → | fizzie joins (irc@selene.zem.fi) |
| 2023-06-28 11:35:25 | → | malook joins (~Thunderbi@2a02:9b0:4048:2916:dc6d:cf0f:826a:c92b) |
| 2023-06-28 11:52:29 | → | emma-underscores joins (~emma-unde@2001:470:69fc:105::2:cdfc) |
| 2023-06-28 11:53:46 | × | mncheck-m quits (~mncheck@193.224.205.254) (Read error: Connection reset by peer) |
| 2023-06-28 11:53:54 | × | smashgrab quits (~smashgrab@188.166.8.80) (Ping timeout: 250 seconds) |
| 2023-06-28 11:54:29 | → | smashgrab joins (~smashgrab@188.166.8.80) |
| 2023-06-28 12:45:27 | → | obimod joins (~weechat@gateway/tor-sasl/obimod) |
| 2023-06-28 12:45:54 | × | incertia quits (~incertia@209.122.71.127) (Ping timeout: 250 seconds) |
| 2023-06-28 12:46:05 | → | incertia_ joins (~incertia@209.122.71.127) |
| 2023-06-28 12:46:29 | incertia_ | is now known as incertia |
| 2023-06-28 12:47:17 | × | obimod quits (~weechat@gateway/tor-sasl/obimod) (Changing host) |
All times are in UTC.