Logs on 2022-03-20 (liberachat/#xmonad)
| 00:46:04 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 02:16:37 | × | n8nl quits (~n8nl@c-24-61-77-34.hsd1.ma.comcast.net) (Ping timeout: 240 seconds) |
| 03:04:02 | × | banc quits (~banc@217.138.195.27) (Ping timeout: 240 seconds) |
| 03:26:23 | → | banc joins (~banc@217.138.195.27) |
| 03:27:51 | → | abradabara joins (~abradabar@185.183.97.187) |
| 03:28:53 | <abradabara> | Does anyone have Intel HD 3000 GPU? Which driver is best for it? Intel vs modesetting? |
| 03:43:32 | × | steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 240 seconds) |
| 04:15:22 | × | abradabara quits (~abradabar@185.183.97.187) (Quit: Lost terminal) |
| 05:00:22 | → | Guest58 joins (~Guest58@184.101.93.127) |
| 05:03:23 | <Guest58> | hello, I had a quick question about some xmonad configuration. I have three monitors and I am using IndependentScreens. The independent workspaces work just fine and like i want them to (9 workspaces per screen), but when I first start XMonad all three screens are places on the 3 workspaces of my leftmost monitor. In other words, they are showing |
| 05:03:24 | <Guest58> | the left monitor's workspaces, and I have to manually adjust the workspaces to make each screen start at the proper workspaces (i.e., screen 1 starts at workspace 1, screen2 starts at workspace 10, screen3 starts at workspace 19) |
| 05:03:53 | <Guest58> | i also would like to know if there is a possible way i could change a workspace on another screen without focusing the screen |
| 06:12:32 | × | abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 240 seconds) |
| 06:13:31 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 256 seconds) |
| 06:17:15 | → | redgloboli joins (~redglobol@user/redgloboli) |
| 06:34:05 | × | Guest58 quits (~Guest58@184.101.93.127) (Quit: Client closed) |
| 06:43:38 | <Drishal[m]> | aaa that xmobar/xmonad issue is driving me crazy lmao |
| 06:44:23 | Drishal[m] | uploaded an image: (191KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/pIQPagGoZxBRRBjEfvbMELhy/image.png > |
| 06:44:35 | <Drishal[m]> | Full layout for some reason does not cover the entire screen lmao |
| 06:47:15 | <Drishal[m]> | (my config) |
| 06:47:15 | <Drishal[m]> | https://gitlab.com/drishal/dotfiles/-/tree/master/xmonad |
| 06:47:56 | <Drishal[m]> | anyone please help me why does the ToggleLayout does not make it proper fullscreen and still displays the bar? |
| 06:52:12 | → | Guest58 joins (~Guest58@184.101.93.127) |
| 06:53:05 | × | Guest58 quits (~Guest58@184.101.93.127) (Client Quit) |
| 06:57:52 | → | dissociate[m] joins (~jessehorn@2001:470:69fc:105::1:41af) |
| 07:20:19 | <Solid> | Drishal[m]: you probably need to add avoidStruts to that toggled layout as well |
| 07:24:03 | <Drishal[m]> | Solid: nope |
| 07:24:36 | <Drishal[m]> | interestingly enough even if I add ```haskell |
| 07:24:36 | <Drishal[m]> | myLayout = avoidStruts $ noBorders Full``` |
| 07:24:36 | <Drishal[m]> | yet the xmobar shows up |
| 07:24:49 | <Drishal[m]> | s///, s/// |
| 07:25:03 | <Drishal[m]> | * interestingly enough even if I keep only ` myLayout = avoidStruts $ noBorders Full` |
| 07:25:03 | <Drishal[m]> | yet the xmobar shows up |
| 07:25:19 | <Drishal[m]> | and even on removing avoidStruts still RIP |
| 07:26:08 | <Drishal[m]> | BUT interestingly if I press the keybind for ` , ("M-S-m", setLayout $ Layout myLayout)` then it works 🤔 |
| 07:27:06 | <Drishal[m]> | seems like `layoutHook = myLayout ` either ` layoutHook = myLayout ,` is not working properly or I have set it in a wrong way |
| 07:27:15 | <Drishal[m]> | s/`layoutHook = myLayout `// |
| 07:27:48 | <Drishal[m]> | or something strange is happening here... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/ad69913a918ebaa7088cbc11379b54793d47b27b) |
| 07:32:31 | <Drishal[m]> | * works 🤔 (if I dont use avoidStruts ofc |
| 07:32:48 | <Drishal[m]> | this is something absolutely strange which does not make any sense to me |
| 07:38:48 | <Drishal[m]> | hmm seems like for some reason by default it turns on avoidstruts by default |
| 07:47:10 | <Drishal[m]> | I figured out whats happening |
| 07:47:30 | <Drishal[m]> | for some reason xmonad likes to keep avoidstruts on my default |
| 08:03:22 | <Drishal[m]> | aaaaa ffs why tf does avoid struts kick in |
| 08:03:58 | <Drishal[m]> | I even tried this... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/1578973277e2780517a36705aa388db86bb98e9b) |
| 08:11:36 | <Drishal[m]> | hmm its something on this line which is causing avoidStruts to kick in by defualt |
| 08:11:36 | <Drishal[m]> | ```haskell |
| 08:11:36 | <Drishal[m]> | . withEasySB (statusBarProp "/home/drishal/.local/bin/xmobar ~/dotfiles/xmobar/xmobar-dracula.hs" (pure myXmobarPP)) defToggleStrutsKey |
| 08:11:36 | <Drishal[m]> | ``` |
| 08:18:33 | <Drishal[m]> | is there any way to disable avoidstruts by default in withEasySB? |
| 08:21:24 | <Solid> | no, withEasySB adds avoidStruts in either case |
| 08:21:35 | <Solid> | withSB does not add it (which is what withEasySB wraps) |
| 08:22:10 | <Solid> | Your layout issues are due to the fact that layouts can set state and xmonad keeps that around after a restart (which is usually what you want, just not in this case) |
| 08:22:21 | <Solid> | resetting the state then makes things like avoidStruts work |
| 08:22:31 | <Solid> | i.e., this will also work after a restart or something |
| 08:22:37 | <Solid> | you don't have to do it every time |
| 08:23:32 | <Drishal[m]> | Solid: hmm I found here in the source https://xmonad.github.io/xmonad-docs/xmonad-contrib/src/XMonad.Hooks.StatusBar.html |
| 08:23:37 | Drishal[m] | uploaded an image: (125KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/sExmMfptIegJVJlwauAsjCyE/image.png > |
| 08:24:36 | <Drishal[m]> | now the question is, how do I go about modifying this so that it does not use avoidStruts? |
| 08:25:12 | <Solid> | like I said, just use withSB |
| 08:25:19 | <Solid> | that one's also exported |
| 08:25:27 | <Drishal[m]> | Solid: an example? |
| 08:26:59 | <Solid> | remove the defToggleStrutsKey from your call to withEasySB and replace that function with withSB |
| 08:27:06 | <Solid> | that should work; the APIs are rather similar |
| 08:27:28 | <Solid> | but at this point I'm not sure what your problem is; didn't you want to _not_ have xmobar above windows? |
| 08:27:38 | <Solid> | in which case, don't you _want_ avoidStruts? |
| 08:30:12 | <Drishal[m]> | Solid: I want to set avoidStruts manually in myLayout so that it does not intefere with `Full` |
| 08:30:20 | Drishal[m] | sent a haskell code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/648b60c8a11c5b46e0ffca1e08069cb4b69141d1 |
| 08:30:24 | <Drishal[m]> | like this? |
| 08:30:56 | <Drishal[m]> | * ```haskell... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/cd2d0bbfce61e304e91826bec0d17c40883db4ba) |
| 08:31:47 | <Solid> | sure |
| 08:31:53 | <Solid> | but I'm still a bit confused; your original question was "[...] why does the ToggleLayout [...] still displays the bar?" |
| 08:32:12 | <Solid> | in which case you do want avoidStruts on the toggled full layout |
| 08:32:44 | <Solid> | you also said "BUT interestingly if I press the keybind for [...] then it works" |
| 08:32:57 | <Solid> | which would suggest manually adding avoidStruts to toggle Full in your previous config indeed worked? |
| 08:33:31 | <Drishal[m]> | Solid: nope its togglestruts which causes the bar to display |
| 08:34:10 | <Drishal[m]> | and btw using withSB instead of easySB it finally works |
| 08:34:10 | <Drishal[m]> | I can now toggle fullscreen without isses, thanks for help |
| 08:34:40 | <Solid> | well if it works for you then I'm happy, although still confused :D |
| 08:39:16 | <Drishal[m]> | Solid: what happens is... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/19d590f4ef266da82643a383d4d2aa0c70b9eaa8) |
| 08:40:07 | <Solid> | oooooooh you _don't_ want avoidStruts with Full |
| 08:40:17 | <Solid> | well I somehow managed to get the entire conversation wrong |
| 08:40:27 | <Solid> | and yet we still managed to fix your issue \o/ |
| 08:43:58 | <Drishal[m]> | Solid: exactly |
| 08:43:58 | <Drishal[m]> | I only want in very specific layout(s) lmao |
| 08:44:10 | <Drishal[m]> | > <@Solid:libera.chat> oooooooh you _don't_ want avoidStruts with Full |
| 08:44:10 | <Drishal[m]> | * exactly |
| 08:44:10 | <Drishal[m]> | I only want in very specific layout(s), i.e tile lmao |
| 08:44:11 | <lambdabot> | <hint>:1:1: error: parse error on input ‘<@’ |
| 09:00:11 | × | liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle) |
| 09:46:21 | → | bfrk joins (~Thunderbi@i59F7ABB3.versanet.de) |
| 10:07:40 | × | mvk quits (~mvk@2607:fea8:5cc3:7e00::45ee) (Ping timeout: 250 seconds) |
| 10:07:53 | → | seschwar joins (~seschwar@user/seschwar) |
| 10:50:29 | <geekosaur> | typically with Full I use `avoidStrutsOn []` so I can toggle them on if I need to |
| 10:50:33 | <geekosaur> | but they defaultoff |
| 10:50:41 | → | liskin[m] joins (~liskinmat@2001:470:69fc:105::768) |
| 12:39:31 | × | bfrk quits (~Thunderbi@i59F7ABB3.versanet.de) (Ping timeout: 245 seconds) |
| 14:47:09 | → | n8nl joins (~n8nl@c-24-61-77-34.hsd1.ma.comcast.net) |
| 15:07:51 | → | srk- joins (~sorki@user/srk) |
| 15:10:23 | → | piele_ joins (~piele@tbonesteak.creativeserver.net) |
| 15:11:31 | → | The_Czernobog joins (~Czernobog@user/czernobog) |
| 15:12:05 | × | srk quits (~sorki@user/srk) (Ping timeout: 240 seconds) |
| 15:12:05 | × | RSBach quits (~guygastin@137.184.131.156) (Ping timeout: 240 seconds) |
| 15:12:05 | × | piele quits (~piele@tbonesteak.creativeserver.net) (Ping timeout: 240 seconds) |
| 15:12:05 | × | Czernobog quits (~Czernobog@user/czernobog) (Ping timeout: 240 seconds) |
| 15:12:05 | srk- | is now known as srk |
| 15:12:29 | The_Czernobog | is now known as Czernobog |
| 15:12:37 | → | RMSBach joins (~guygastin@137.184.131.156) |
| 15:15:03 | × | ectospasm quits (~ectospasm@user/ectospasm) (Quit: WeeChat 3.4) |
| 15:16:43 | piele_ | is now known as piele |
| 15:24:25 | → | theproffesor_ joins (~theproffe@2601:282:847f:8010::7f59) |
| 15:24:31 | × | the_proffesor quits (~theproffe@2601:282:847f:8010::7f59) (Read error: Connection reset by peer) |
| 15:26:41 | × | incertia quits (~incertia@207.98.163.88) (Ping timeout: 250 seconds) |
| 15:27:28 | → | incertia joins (~incertia@207.98.163.88) |
| 15:28:36 | → | nomadxxxx3 joins (~lanomadx@69.167.36.76) |
| 15:28:37 | → | The_Czernobog joins (~Czernobog@user/czernobog) |
| 15:29:56 | → | ectospasm joins (~ectospasm@user/ectospasm) |
| 15:30:19 | × | nomadxx3 quits (~lanomadx@69.167.36.76) (Ping timeout: 250 seconds) |
| 15:30:19 | × | Czernobog quits (~Czernobog@user/czernobog) (Ping timeout: 250 seconds) |
| 15:30:22 | The_Czernobog | is now known as Czernobog |
| 15:35:32 | × | ectospasm quits (~ectospasm@user/ectospasm) (Quit: WeeChat 3.4.1) |
| 15:36:14 | → | ectospasm joins (~ectospasm@user/ectospasm) |
| 16:00:09 | × | iffsid quits (~iffsid@2001:470:69fc:105::a3e) (Quit: You have been kicked for being idle) |
| 16:00:15 | × | mahene[m] quits (~mahenemat@2001:470:69fc:105::1:6a93) (Quit: You have been kicked for being idle) |
| 16:19:27 | → | gdd joins (~gdd@129.199.146.230) |
| 17:58:17 | → | Nahra joins (~user@static.161.95.99.88.clients.your-server.de) |
| 18:59:00 | × | ml| quits (~ml|@user/ml/x-5298235) (Ping timeout: 240 seconds) |
| 19:10:52 | → | abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) |
| 19:11:53 | × | Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer) |
| 19:12:29 | → | ml| joins (~ml|@user/ml/x-5298235) |
| 19:13:40 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 19:14:03 | → | Czernobog joins (~Czernobog@user/czernobog) |
| 19:49:58 | → | bfrk joins (~Thunderbi@i59F7ABB3.versanet.de) |
| 20:34:27 | × | bfrk quits (~Thunderbi@i59F7ABB3.versanet.de) (Ping timeout: 250 seconds) |
| 21:20:46 | × | abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 245 seconds) |
| 21:23:38 | → | JaredMohammed[m] joins (~librejare@2001:470:69fc:105::1:83b7) |
| 21:26:08 | → | mvk joins (~mvk@2607:fea8:5cc3:7e00::7980) |
| 21:27:53 | → | abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) |
| 21:50:36 | → | sagax joins (~sagax_nb@user/sagax) |
| 22:06:39 | × | sagax quits (~sagax_nb@user/sagax) (Ping timeout: 256 seconds) |
| 23:00:33 | → | steve__ joins (~steve@ool-182c2b80.dyn.optonline.net) |
| 23:25:46 | × | mvk quits (~mvk@2607:fea8:5cc3:7e00::7980) (Ping timeout: 245 seconds) |
All times are in UTC on 2022-03-20.