Logs on 2022-11-25 (liberachat/#xmonad)
| 00:12:14 | → | minnie joins (~minnie@159.196.202.199) |
| 00:37:59 | × | chomwitt quits (~chomwitt@ppp-94-67-236-76.home.otenet.gr) (Ping timeout: 264 seconds) |
| 00:43:49 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::efb) |
| 00:44:23 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::efb) (Client Quit) |
| 01:20:18 | → | srz joins (~srz@179.36.100.166) |
| 01:44:07 | × | srz quits (~srz@179.36.100.166) (Read error: Connection reset by peer) |
| 01:45:08 | → | srz joins (~srz@179.36.100.166) |
| 01:45:22 | × | srz quits (~srz@179.36.100.166) (Remote host closed the connection) |
| 01:45:44 | → | srz joins (~srz@179.36.100.166) |
| 01:48:03 | × | srz quits (~srz@179.36.100.166) (Read error: Connection reset by peer) |
| 01:48:06 | → | srz_ joins (~srz@179.36.100.166) |
| 01:48:52 | × | srz_ quits (~srz@179.36.100.166) (Remote host closed the connection) |
| 02:24:47 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 264 seconds) |
| 02:32:09 | → | AskYourself[m] joins (~ask-yours@2001:470:69fc:105::2:9793) |
| 02:42:43 | → | noex joins (~null@user/noex) |
| 03:03:29 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 260 seconds) |
| 03:24:33 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 03:54:28 | × | minnie quits (~minnie@159.196.202.199) (Ping timeout: 260 seconds) |
| 03:58:36 | × | td_ quits (~td@83.135.9.50) (Ping timeout: 256 seconds) |
| 04:00:16 | → | td_ joins (~td@83.135.9.38) |
| 05:31:25 | → | minnie joins (~minnie@159.196.202.199) |
| 05:43:49 | → | clu joins (~clu@user/varjax) |
| 07:23:43 | → | chomwitt joins (~chomwitt@2a02:587:7a0d:dd00:1ac0:4dff:fedb:a3f1) |
| 07:45:09 | × | ft quits (~ft@p508dbd59.dip0.t-ipconnect.de) (Quit: leaving) |
| 08:17:35 | × | clu quits (~clu@user/varjax) (Ping timeout: 264 seconds) |
| 09:00:05 | × | HAL[m] quits (~evadk8mat@2001:470:69fc:105::3ed0) (Quit: You have been kicked for being idle) |
| 09:12:17 | → | cfricke joins (~cfricke@user/cfricke) |
| 09:59:55 | → | aureliju[m] joins (~aurelijum@2001:470:69fc:105::2:c720) |
| 10:32:20 | <aureliju[m]> | Hello there,... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/f63eeed530b814d5495deb41c20032c9596f7fa7>) |
| 10:54:20 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 12:35:26 | → | ft joins (~ft@p508dbd59.dip0.t-ipconnect.de) |
| 12:43:18 | × | thunderrd quits (~thunderrd@183.182.115.215) (Ping timeout: 265 seconds) |
| 13:02:09 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 265 seconds) |
| 13:23:13 | → | rpana joins (~rpana@141.30.130.27) |
| 14:06:53 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.7.1) |
| 14:13:57 | → | srz joins (~srz@devil.dm.uba.ar) |
| 14:22:34 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 14:29:59 | × | rpana quits (~rpana@141.30.130.27) (Quit: Client closed) |
| 14:57:47 | × | minnie quits (~minnie@159.196.202.199) (Ping timeout: 264 seconds) |
| 15:27:23 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::efb) |
| 15:29:19 | × | [Leary] quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection) |
| 15:29:37 | → | [Leary] joins (~Leary]@user/Leary/x-0910699) |
| 15:29:40 | → | minnie joins (~minnie@159.196.202.199) |
| 15:30:28 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::efb) (Client Quit) |
| 16:01:28 | × | srz quits (~srz@devil.dm.uba.ar) (Ping timeout: 265 seconds) |
| 16:02:50 | → | escobear joins (~gknux@user/galaxy-knuckles/x-3015990) |
| 16:03:10 | × | gknux quits (~gknux@user/galaxy-knuckles/x-3015990) (Ping timeout: 260 seconds) |
| 16:03:37 | escobear | is now known as gknux |
| 16:09:24 | × | Forkk quits (~forkk@li926-228.members.linode.com) (Ping timeout: 248 seconds) |
| 16:26:57 | → | srz joins (~srz@devil.dm.uba.ar) |
| 16:53:35 | × | srz quits (~srz@devil.dm.uba.ar) (Ping timeout: 264 seconds) |
| 19:29:57 | <liskin> | Oh crap, we never triggered https://github.com/xmonad/xmonad-docs/actions to generate docs for 0.17.1 :-( |
| 19:30:10 | → | liskin[m] joins (~liskinmat@2001:470:69fc:105::768) |
| 19:30:14 | <liskin> | I should add that to MANTAINERS.dm |
| 19:34:30 | <xmonadtrack> | xmonad Tomas Janousek * v0.17.1-33-g40f8246: MAINTAINERS: Add xmonad-docs build step to the release process (2 minutes ago, 1 file, 6+ 1-) https://github.com/xmonad/xmonad/commit/40f8246080e1 |
| 19:40:23 | × | minnie quits (~minnie@159.196.202.199) (Ping timeout: 264 seconds) |
| 19:42:52 | → | srz joins (~srz@devil.dm.uba.ar) |
| 20:12:01 | → | Forkk joins (~forkk@li926-228.members.linode.com) |
| 20:18:08 | → | Guest62 joins (~Guest62@180.195.206.166) |
| 20:18:45 | <Guest62> | Hello is anyone around? |
| 20:19:20 | <geekosaur> | yes |
| 20:20:37 | <Guest62> | Hey I'm having a problem when I changed my config according to the newest tutorial. |
| 20:21:15 | <Guest62> | If I set my layout to "full" the xmobar panel is not being hidden. |
| 20:21:42 | <Guest62> | I tried following this https://github.com/xmonad/xmonad/blob/master/TUTORIAL.md |
| 20:22:20 | <geekosaur> | the Full layout doesn't by itself hide panels |
| 20:22:35 | <Guest62> | Ooof, |
| 20:22:40 | <geekosaur> | if you want that then you need to play games with avoidStruts |
| 20:23:01 | <geekosaur> | or perhaps you want actual fullscreen, which is not what Full is |
| 20:23:10 | <Guest62> | Yea, already added on to the myLayout section. |
| 20:24:01 | <geekosaur> | not enough just to havge it, you need to use it specially. see https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L144-L145 |
| 20:25:02 | <geekosaur> | avoidStrutsOn [] means struts default disabled there |
| 20:26:16 | <geekosaur> | if you want this as part of a layout rotation with ||| ten you do something like: avoidStruts (layout1 ||| layout2 ||| whatever) ||| avoidStrutsOn [] Full |
| 20:26:31 | <Guest62> | Previously before I started to use the XMonadLog whenever I change my layout to "full" actual wholescreen is used by the window. |
| 20:26:40 | <Guest62> | I used it like this. |
| 20:26:42 | <Guest62> | avoidStruts (tiled ||| column) ||| Full |
| 20:26:42 | <geekosaur> | (or omit the avoidStrutsOn [] part; I have that so I can toggle them on if I want) |
| 20:27:00 | <geekosaur> | that should work fine, I'd think |
| 20:27:23 | <geekosaur> | just don't have another avoidStruts above it because that will take precedence |
| 20:28:18 | <Guest62> | Uhm, above it I have only smartborders and spacingraw. |
| 20:29:17 | <geekosaur> | hm, that's not guaranteed to work right, struts need to be outside of/above spacing |
| 20:30:43 | <geekosaur> | but you'd want Full to be outside of spacing for that to be fullscreen anyway |
| 20:30:54 | <geekosaur> | your layoutHook would end up somewhat more complex |
| 20:31:33 | <geekosaur> | (avoidStruts $ spacingRaw … $ tiled ||| column) ||| Full |
| 20:32:03 | <Guest62> | Interesting. |
| 20:32:17 | <Guest62> | I will try your suggestion. |
| 20:34:19 | <Guest62> | No dice. xmobar is still not being hidden. |
| 20:34:27 | <geekosaur> | if spacingRaw includes edge spacing then the status bar will again be visible, since we never actually hide it, we only allow it to be overlapped |
| 20:35:01 | <geekosaur> | there's a setting for xmobar for actual hiding iirc but I'm not an xmobar user so I can't tell you much about it |
| 20:35:36 | <Guest62> | What do you use if I may ask? |
| 20:35:56 | <geekosaur> | I run xmonad as window manager for MATE so I use mate-panel and xmonad-log-applet |
| 20:36:20 | <geekosaur> | which means I have half of hackage as dependencies for my xmonad.hs because xmonad-log-applet uses dbus 🙂 |
| 20:38:52 | <Guest62> | Ooof sounds more complicated than what I can handle. :') |
| 20:40:02 | <geekosaur> | well, you can do quite a lot with just EWMH properties. I wanted some extra stuff so I have a very customized DynamicLog setup |
| 20:42:06 | <Guest62> | I thought DynamicLog is frozen? |
| 20:42:33 | <geekosaur> | DynamicLog is still the underpinning for logging |
| 20:42:50 | <geekosaur> | so you can still use it if you're doing a custom setup like I am |
| 20:43:28 | × | gknux quits (~gknux@user/galaxy-knuckles/x-3015990) (Ping timeout: 268 seconds) |
| 20:43:53 | <geekosaur> | X.H.DynamicLog now just reexports X.H.StatusBar.PP, but the low level logging function is still dynamicLogWithPP |
| 20:45:49 | <geekosaur> | and I have to use it directly because there's no way to use the StatusBar stuff to initialize dbus and associate the resulting handle with the PP |
| 20:46:21 | <geekosaur> | and I'm not sure we want one given all the deps dbus has 🙂 |
| 20:47:12 | <Guest62> | If I comment out the line with easySB ... in the main section the full layout works :') |
| 20:47:33 | <geekosaur> | that's because xmobar is no longer running 🙂 |
| 20:47:43 | <geekosaur> | easySB is what launches it |
| 20:50:09 | <Guest62> | If you don't mind, can you share your dotfiles? |
| 20:50:42 | <geekosaur> | I pointed to the main one earlier |
| 20:51:03 | <geekosaur> | https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs |
| 20:51:43 | <geekosaur> | there's some other ones in the same repo and branch; since I have that dbus dependency I use cabal to build my setup |
| 20:52:00 | <geekosaur> | (stack would work as well but I don't like stack) |
| 20:56:47 | <Guest62> | Your config looks so different. |
| 20:58:21 | <geekosaur> | yes, I format it a lot differently than most folks |
| 20:58:33 | <geekosaur> | plus it predates the tutorial by some 15 years 🙂 |
| 20:59:01 | <Guest62> | Can you take a look at mine? Maybe there is more that I am missing? |
| 20:59:03 | <Guest62> | https://github.com/Meeekow/arch/blob/main/dotfiles/xmonad.hs |
| 20:59:15 | <Guest62> | Holy shit. 15 years? |
| 20:59:47 | <Guest62> | I haven't even got 1 year using xmonad. |
| 21:00:23 | <AskYourself[m]> | Is there a good example of how to set up Xmonad on NixOS? I still have my config from Arch, but I'm struggling to get things working. In the greeter screen I can see Xmonad is an option, now that I've added windowManager.xmonad.enable = true;, but I can't figure out how to actually make it use my Xmonad config. |
| 21:00:41 | → | gknux joins (~gknux@user/galaxy-knuckles/x-3015990) |
| 21:16:11 | <geekosaur> | Guest62, looks to me like you still have spacingRaw before your other layout stuff (including avoidStruts, which makes it malfunction), and it adds a space of 10 on the bottom so that allows xmobar to be visible |
| 21:17:17 | <geekosaur> | AskYourself[m], I'm sorry but I don't know NixOS. I think you have to watch out for home-manager though, it may need to be configured to use a custom xmonad.hs instead of one it builds? but you need a NixOS user to confirm that |
| 21:17:19 | <Guest62> | I'll try to rewrite it. Thank you so much! |
| 21:17:46 | <geekosaur> | [25 20:31:33] <geekosaur> (avoidStruts $ spacingRaw … $ tiled ||| column) ||| Full |
| 21:18:23 | <geekosaur> | this way (a) avoidStruts is in the right place relative to spacing; (b) both avoidStruts and spacing apply only to the non-Full layouts |
| 21:18:35 | <AskYourself[m]> | geekosaur: Dang ok. Thanks anyway. I appreciate the reply. |
| 21:23:34 | <geekosaur> | Guest62, note that Full doesn't override avoidStruts *or* spacingRaw, it uses the space left after both are applied |
| 21:24:04 | <geekosaur> | which is why you need to arrange your layoutHook to not apply either if you want Full to actually use the full screen |
| 21:25:26 | <geekosaur> | this is a general rule for layouts; the screen rectangle is passed in, then layout modifiers make modifications and pass on the resulting rectangle to other layouts |
| 21:26:24 | <Guest62> | Still no go. I removed the smartBorders and spacingRaw and wrote it like this for testing but xmobar is still showing when full screen layout is selected. |
| 21:26:25 | <Guest62> | myLayout = (avoidStruts $ tiled ||| column) ||| Full |
| 21:26:40 | <geekosaur> | is a window open? |
| 21:26:47 | <Guest62> | Yes. |
| 21:26:59 | <Guest62> | Should I close everything? |
| 21:27:02 | <geekosaur> | also you may need to configure xmobar to lowerOnStart |
| 21:27:22 | <geekosaur> | no, just making sure because it would be visible if nothing else were open |
| 21:27:49 | <geekosaur> | I think xmobar needs to be configured with lowerOnStart = True; overrideRedirect = False |
| 21:28:25 | <geekosaur> | oh and it looks like your manageHook is missing manageDocks |
| 21:28:56 | <Guest62> | In xmobarrc, both are already the way you mentioned. |
| 21:29:01 | <geekosaur> | put it before line 170 in the paste you showed me |
| 21:31:41 | <Guest62> | Like this? |
| 21:31:42 | <Guest62> | manageDocks $ (avoidStruts $ tiled ||| column) ||| Full |
| 21:34:46 | <geekosaur> | manageDocks goes in the manageHook, not the layoutHook |
| 21:35:03 | <geekosaur> | https://github.com/Meeekow/arch/blob/main/dotfiles/xmonad.hs#L170 |
| 21:35:09 | <geekosaur> | insert it there |
| 21:38:19 | <Guest62> | Like this? |
| 21:38:19 | <Guest62> | , manageDocks resource =? "desktop_window" --> doIgnore |
| 21:39:35 | <geekosaur> | comma also after manageDocks |
| 21:40:47 | <Guest62> | , manageDocks |
| 21:40:47 | <Guest62> | , resource =? "desktop_window" --> doIgnore |
| 21:40:48 | <Guest62> | I did it like this and was able to compile. Still not hiding xmobar panel. ;( |
| 21:41:04 | <geekosaur> | no, I suspected that wouldn't help much |
| 21:41:16 | <geekosaur> | it prevents other problems but not that |
| 21:41:21 | <Guest62> | It was worth the try. |
| 21:42:18 | <geekosaur> | can you ppush your latest changes so I can see them? |
| 21:42:37 | <Guest62> | One sec. |
| 21:43:14 | <Guest62> | Done. |
| 21:44:34 | <geekosaur> | ah,m I just noticed you already had manageDocks separate from the others (line 258). won't hurt anything |
| 21:45:46 | <geekosaur> | I don't see anything wrong here 😞 |
| 21:48:03 | <Guest62> | Maybe I have to reinstall via Cabal? |
| 21:48:14 | <Guest62> | I installed via Stack. |
| 22:01:08 | → | sagax joins (~sagax_nb@user/sagax) |
| 22:02:34 | <geekosaur> | shouldn't matter |
| 22:02:49 | <geekosaur> | I use cabal but that's because of the dbus dependency, which you don't have |
| 22:03:08 | <geekosaur> | and because I maintain the cabal integration |
| 22:04:23 | <Guest62> | Maybe I need to rewrite my whole config. |
| 22:04:48 | <geekosaur> | it looked fine to me |
| 22:05:20 | <geekosaur> | but really we need someone who knows xmobar better, and I don't use it |
| 22:06:08 | <Guest62> | I don't even know what to search now. |
| 22:10:06 | <geekosaur> | hm. I wonder if you actually need the `avoidStrutsOn []` that I use |
| 22:10:34 | <geekosaur> | (avoidStruts $ tiled ||| column) ||| avoidStrutsOn [] Full |
| 22:11:09 | <geekosaur> | I would expect that to be optional but I may not have fully understood the last strut rewrite |
| 22:11:18 | <Guest62> | Worth a try. One sec. |
| 22:15:01 | <Guest62> | Sadly it doesn't work. |
| 22:16:57 | <geekosaur> | didn't think so. the avoidStruts in the one leg shouldn't be able to affect the other, I'd expect |
| 22:17:57 | <geekosaur> | mm, are you just doing mod-q to restart? just barely possible that a mod-shift-space is needed (I don't think so since the layout's type should be changing) |
| 22:18:41 | geekosaur | is kinda digging randomly at this point since nothing seems to be wrong with the layout |
| 22:19:27 | <geekosaur> | oh, hm. is xmobar overlaying the bottom of the window, or is the window bottom abutting xmobar? |
| 22:20:33 | <Guest62> | I can't tell because of the colors. Let me try and change that. |
| 22:25:22 | <Guest62> | It seems xmobar is overlaying? The title bar from the browser(firefox) seems fine to me. Terminal(kitty) seems to have a bit more spacing when it is under the browser in the slave side compared to the terminal(kitty) on the master pane. |
| 22:26:01 | × | srz quits (~srz@devil.dm.uba.ar) (Remote host closed the connection) |
| 22:27:09 | <geekosaur> | that would mean it's not an xmonad issue at this point, I think; xmobar is doing something wrong (maybe lowerOnStart isn't taking effect?) |
| 22:28:39 | <geekosaur> | the strut stuff requires that both the window manager and the dock behave according to certain rules, and either one can get it wrong |
| 22:32:26 | <Guest62> | Best thing I can do now is maybe try another panel? Like polybar? |
| 22:33:55 | <Guest62> | If xmonad is not the problem I am happy with that because I don't really know haskell so I only depend on the modules man page :') |
| 22:40:15 | × | Guest62 quits (~Guest62@180.195.206.166) (Quit: Ping timeout (120 seconds)) |
| 22:40:27 | → | Guest62 joins (~Guest62@180.195.206.166) |
| 22:45:13 | × | Guest62 quits (~Guest62@180.195.206.166) (Client Quit) |
| 22:45:29 | → | Guest62 joins (~Guest62@180.195.206.166) |
| 22:48:31 | × | Guest62 quits (~Guest62@180.195.206.166) (Client Quit) |
| 22:56:41 | → | Guest62 joins (~Guest62@180.195.206.166) |
| 23:01:46 | × | Guest62 quits (~Guest62@180.195.206.166) (Quit: Ping timeout (120 seconds)) |
| 23:40:27 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::efb) |
| 23:40:33 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::efb) (Client Quit) |
| 23:42:43 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 260 seconds) |
| 23:54:27 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
All times are in UTC on 2022-11-25.