Logs: liberachat/#xmonad
| 2022-03-19 19:23:21 | <jimr> | helps if you look at the patch file lol |
| 2022-03-19 19:25:15 | <jimr> | thanks for the help |
| 2022-03-19 19:25:28 | <geekosaur> | np |
| 2022-03-19 19:25:33 | <jimr> | i didnt even think of deleting the on from pacman |
| 2022-03-19 19:26:28 | <MrElendig> | I would make my own pacman package instead of sudo make install |
| 2022-03-19 19:26:42 | <MrElendig> | the later will break in all kinds of fun ways |
| 2022-03-19 19:27:47 | <jimr> | im still relatively a noob when it comes to linux...sometimes going into configs scare me a little...but i do read up..and really only ask for help if i cant get it |
| 2022-03-19 19:28:50 | <MrElendig> | adding a patch to a PKGBUILD is much easier than building by hand |
| 2022-03-19 19:29:09 | <jimr> | k |
| 2022-03-19 19:29:33 | <MrElendig> | also avoid the whole problem of you not remembering how/what you did in 3 months when you have to rebuild it |
| 2022-03-19 19:29:46 | <jimr> | lol |
| 2022-03-19 19:30:01 | <jimr> | yea going to back up my .config files... |
| 2022-03-19 19:30:29 | <jimr> | and write down what i did where i did it and why i did it |
| 2022-03-19 20:20:38 | → | mvk joins (~mvk@2607:fea8:5cc3:7e00::45ee) |
| 2022-03-19 20:41:41 | × | jimr quits (~jimr@2603-7080-7640-b000-0000-0000-0000-0003.res6.spectrum.com) (Quit: Leaving) |
| 2022-03-19 21:30:32 | × | bfrk quits (~Thunderbi@i59F7ABAC.versanet.de) (Ping timeout: 240 seconds) |
| 2022-03-19 21:47:18 | × | Buliarous quits (~gypsydang@46.232.210.139) (Quit: leaving) |
| 2022-03-19 21:47:32 | → | Buliarous joins (~gypsydang@46.232.210.139) |
| 2022-03-19 22:16:40 | → | alethkit joins (23bd17ddc6@2604:bf00:561:2000::3ce) |
| 2022-03-19 22:19:28 | <alethkit> | Is asking xmobar questions here fair game? |
| 2022-03-19 22:22:44 | <geekosaur> | yes |
| 2022-03-19 22:22:59 | <geekosaur> | I probably can't answer but others can |
| 2022-03-19 23:18:27 | → | steve__ joins (~steve@ool-182c2b80.dyn.optonline.net) |
| 2022-03-20 00:46:04 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 2022-03-20 02:16:37 | × | n8nl quits (~n8nl@c-24-61-77-34.hsd1.ma.comcast.net) (Ping timeout: 240 seconds) |
| 2022-03-20 03:04:02 | × | banc quits (~banc@217.138.195.27) (Ping timeout: 240 seconds) |
| 2022-03-20 03:26:23 | → | banc joins (~banc@217.138.195.27) |
| 2022-03-20 03:27:51 | → | abradabara joins (~abradabar@185.183.97.187) |
| 2022-03-20 03:28:53 | <abradabara> | Does anyone have Intel HD 3000 GPU? Which driver is best for it? Intel vs modesetting? |
| 2022-03-20 03:43:32 | × | steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 240 seconds) |
| 2022-03-20 04:15:22 | × | abradabara quits (~abradabar@185.183.97.187) (Quit: Lost terminal) |
| 2022-03-20 05:00:22 | → | Guest58 joins (~Guest58@184.101.93.127) |
| 2022-03-20 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 |
| 2022-03-20 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) |
| 2022-03-20 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 |
| 2022-03-20 06:12:32 | × | abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 240 seconds) |
| 2022-03-20 06:13:31 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 256 seconds) |
| 2022-03-20 06:17:15 | → | redgloboli joins (~redglobol@user/redgloboli) |
| 2022-03-20 06:34:05 | × | Guest58 quits (~Guest58@184.101.93.127) (Quit: Client closed) |
| 2022-03-20 06:43:38 | <Drishal[m]> | aaa that xmobar/xmonad issue is driving me crazy lmao |
| 2022-03-20 06:44:23 | Drishal[m] | uploaded an image: (191KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/pIQPagGoZxBRRBjEfvbMELhy/image.png > |
| 2022-03-20 06:44:35 | <Drishal[m]> | Full layout for some reason does not cover the entire screen lmao |
| 2022-03-20 06:47:15 | <Drishal[m]> | (my config) |
| 2022-03-20 06:47:15 | <Drishal[m]> | https://gitlab.com/drishal/dotfiles/-/tree/master/xmonad |
| 2022-03-20 06:47:56 | <Drishal[m]> | anyone please help me why does the ToggleLayout does not make it proper fullscreen and still displays the bar? |
| 2022-03-20 06:52:12 | → | Guest58 joins (~Guest58@184.101.93.127) |
| 2022-03-20 06:53:05 | × | Guest58 quits (~Guest58@184.101.93.127) (Client Quit) |
| 2022-03-20 06:57:52 | → | dissociate[m] joins (~jessehorn@2001:470:69fc:105::1:41af) |
| 2022-03-20 07:20:19 | <Solid> | Drishal[m]: you probably need to add avoidStruts to that toggled layout as well |
| 2022-03-20 07:24:03 | <Drishal[m]> | Solid: nope |
| 2022-03-20 07:24:36 | <Drishal[m]> | interestingly enough even if I add ```haskell |
| 2022-03-20 07:24:36 | <Drishal[m]> | myLayout = avoidStruts $ noBorders Full``` |
| 2022-03-20 07:24:36 | <Drishal[m]> | yet the xmobar shows up |
| 2022-03-20 07:24:49 | <Drishal[m]> | s///, s/// |
| 2022-03-20 07:25:03 | <Drishal[m]> | * interestingly enough even if I keep only ` myLayout = avoidStruts $ noBorders Full` |
| 2022-03-20 07:25:03 | <Drishal[m]> | yet the xmobar shows up |
| 2022-03-20 07:25:19 | <Drishal[m]> | and even on removing avoidStruts still RIP |
| 2022-03-20 07:26:08 | <Drishal[m]> | BUT interestingly if I press the keybind for ` , ("M-S-m", setLayout $ Layout myLayout)` then it works 🤔 |
| 2022-03-20 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 |
| 2022-03-20 07:27:15 | <Drishal[m]> | s/`layoutHook = myLayout `// |
| 2022-03-20 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) |
| 2022-03-20 07:32:31 | <Drishal[m]> | * works 🤔 (if I dont use avoidStruts ofc |
| 2022-03-20 07:32:48 | <Drishal[m]> | this is something absolutely strange which does not make any sense to me |
| 2022-03-20 07:38:48 | <Drishal[m]> | hmm seems like for some reason by default it turns on avoidstruts by default |
| 2022-03-20 07:47:10 | <Drishal[m]> | I figured out whats happening |
| 2022-03-20 07:47:30 | <Drishal[m]> | for some reason xmonad likes to keep avoidstruts on my default |
| 2022-03-20 08:03:22 | <Drishal[m]> | aaaaa ffs why tf does avoid struts kick in |
| 2022-03-20 08:03:58 | <Drishal[m]> | I even tried this... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/1578973277e2780517a36705aa388db86bb98e9b) |
| 2022-03-20 08:11:36 | <Drishal[m]> | hmm its something on this line which is causing avoidStruts to kick in by defualt |
| 2022-03-20 08:11:36 | <Drishal[m]> | ```haskell |
| 2022-03-20 08:11:36 | <Drishal[m]> | . withEasySB (statusBarProp "/home/drishal/.local/bin/xmobar ~/dotfiles/xmobar/xmobar-dracula.hs" (pure myXmobarPP)) defToggleStrutsKey |
| 2022-03-20 08:11:36 | <Drishal[m]> | ``` |
| 2022-03-20 08:18:33 | <Drishal[m]> | is there any way to disable avoidstruts by default in withEasySB? |
| 2022-03-20 08:21:24 | <Solid> | no, withEasySB adds avoidStruts in either case |
| 2022-03-20 08:21:35 | <Solid> | withSB does not add it (which is what withEasySB wraps) |
| 2022-03-20 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) |
| 2022-03-20 08:22:21 | <Solid> | resetting the state then makes things like avoidStruts work |
| 2022-03-20 08:22:31 | <Solid> | i.e., this will also work after a restart or something |
| 2022-03-20 08:22:37 | <Solid> | you don't have to do it every time |
| 2022-03-20 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 |
| 2022-03-20 08:23:37 | Drishal[m] | uploaded an image: (125KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/sExmMfptIegJVJlwauAsjCyE/image.png > |
| 2022-03-20 08:24:36 | <Drishal[m]> | now the question is, how do I go about modifying this so that it does not use avoidStruts? |
| 2022-03-20 08:25:12 | <Solid> | like I said, just use withSB |
| 2022-03-20 08:25:19 | <Solid> | that one's also exported |
| 2022-03-20 08:25:27 | <Drishal[m]> | Solid: an example? |
| 2022-03-20 08:26:59 | <Solid> | remove the defToggleStrutsKey from your call to withEasySB and replace that function with withSB |
| 2022-03-20 08:27:06 | <Solid> | that should work; the APIs are rather similar |
| 2022-03-20 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? |
| 2022-03-20 08:27:38 | <Solid> | in which case, don't you _want_ avoidStruts? |
| 2022-03-20 08:30:12 | <Drishal[m]> | Solid: I want to set avoidStruts manually in myLayout so that it does not intefere with `Full` |
| 2022-03-20 08:30:20 | Drishal[m] | sent a haskell code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/648b60c8a11c5b46e0ffca1e08069cb4b69141d1 |
| 2022-03-20 08:30:24 | <Drishal[m]> | like this? |
| 2022-03-20 08:30:56 | <Drishal[m]> | * ```haskell... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/cd2d0bbfce61e304e91826bec0d17c40883db4ba) |
| 2022-03-20 08:31:47 | <Solid> | sure |
| 2022-03-20 08:31:53 | <Solid> | but I'm still a bit confused; your original question was "[...] why does the ToggleLayout [...] still displays the bar?" |
| 2022-03-20 08:32:12 | <Solid> | in which case you do want avoidStruts on the toggled full layout |
| 2022-03-20 08:32:44 | <Solid> | you also said "BUT interestingly if I press the keybind for [...] then it works" |
| 2022-03-20 08:32:57 | <Solid> | which would suggest manually adding avoidStruts to toggle Full in your previous config indeed worked? |
| 2022-03-20 08:33:31 | <Drishal[m]> | Solid: nope its togglestruts which causes the bar to display |
| 2022-03-20 08:34:10 | <Drishal[m]> | and btw using withSB instead of easySB it finally works |
All times are in UTC.