Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 793 794 795 796 797 798 799 800 801 802 803 .. 1850
184,968 events total
2022-08-15 14:57:58 <geekosaur> where is `avoidStruts` in your config?
2022-08-15 14:58:30 <geekosaur> I suspect you have `layout = avoidStruts myLayout` somewhere?
2022-08-15 15:01:04 <Alok[m]> there's no avoidStruts
2022-08-15 15:01:36 <Alok[m]> https://batbin.me/unthorny
2022-08-15 15:02:51 <geekosaur> huh. I wonder how the bar is visible at all, then. must be on top instead of below
2022-08-15 15:03:43 <geekosaur> (which means it's overlapping windows instead of displaying below/above them)
2022-08-15 15:03:44 <geekosaur> do you have an xmobar config?
2022-08-15 15:04:39 <geekosaur> `myLayout = smartBorders $ toggleLayouts Full $ avoidStruts $ tiled ||| Mirror tiled ||| Full`
2022-08-15 15:04:50 <geekosaur> and make sure xmobar is set with `lowerOnStart = True`
2022-08-15 15:05:19 <Alok[m]> geekosaur: it was on top, I changed it to below lol. I was following official xmonad tutorial
2022-08-15 15:05:30 <Alok[m]> geekosaur: Ye, lemme send
2022-08-15 15:05:56 <geekosaur> not lower as in bottom of the screen, lower as in "below all other windows"
2022-08-15 15:06:10 <geekosaur> instead of overlapping them because it's over them
2022-08-15 15:06:56 <Alok[m]> https://batbin.me/overurbanization
2022-08-15 15:07:09 <Alok[m]> geekosaur: oh no
2022-08-15 15:07:43 <Alok[m]> sometimes it is above them sometimes below, idk how but yeah I've noticed that too
2022-08-15 15:12:33 <geekosaur> right, without the `lowerOnStart` it'll be wherever it was relative to other windows when it launched, so it'll float around. `avoidStruts` and `lowerOnStart` should make it behave
2022-08-15 15:13:18 <geekosaur> and the modified `myLayout` aith `avoidStruts` should stop it from overlapping when `Full` is toggled on, once `lowerOnStart` is set
2022-08-15 15:17:06 <Alok[m]> how to fix ;(
2022-08-15 15:17:36 <geekosaur> ?
2022-08-15 15:17:44 <geekosaur> didn't I just tell you?
2022-08-15 15:19:12 <geekosaur> first, edit your xmobar config and add `, lowerOnStart = True` to it, just after the first line
2022-08-15 15:19:39 <geekosaur> second, change your xmonad config the way I said earlier
2022-08-15 15:19:49 <geekosaur> [15 15:04:38] <geekosaur> `myLayout = smartBorders $ toggleLayouts Full $ avoidStruts $ tiled ||| Mirror tiled ||| Full`
2022-08-15 15:31:26 × catman quits (~catman@user/catman) (Quit: WeeChat 3.6)
2022-08-15 15:34:34 catman joins (~catman@user/catman)
2022-08-15 15:47:47 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 248 seconds)
2022-08-15 15:51:35 cfricke joins (~cfricke@user/cfricke)
2022-08-15 15:53:59 logzet joins (~quassel@2001:9e8:e518:c800:dabb:c1ff:fed3:a1b9)
2022-08-15 15:57:20 × catman quits (~catman@user/catman) (Quit: WeeChat 3.6)
2022-08-15 15:59:51 catman joins (~catman@user/catman)
2022-08-15 16:04:11 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.6)
2022-08-15 16:31:05 × chomwitt quits (~chomwitt@2a02:587:dc15:5e00:1cf8:31f1:edb9:8492) (Ping timeout: 255 seconds)
2022-08-15 16:46:48 steve_ joins (~steve@ool-182c2b80.dyn.optonline.net)
2022-08-15 17:16:42 chomwitt joins (~chomwitt@2a02:587:dc15:5e00:ece7:3fb3:7c32:eccf)
2022-08-15 17:24:40 diep joins (~diep@2a01:cb11:2d7:4a00:a13f:e40c:c4e8:736c)
2022-08-15 17:25:41 mvk joins (~mvk@2607:fea8:5ce3:8500::a1ec)
2022-08-15 17:46:33 × benin0 quits (~benin@183.82.206.125) (Quit: The Lounge - https://thelounge.chat)
2022-08-15 18:32:05 <zim0369[m]1> <geekosaur> "[ ((0,k),windows $ W.greedyView..." <- not exactly what I'm trying to do
2022-08-15 18:33:23 zim0369[m]1 sent a hs code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/3cc62d6066da8a53f6df89ac9ed1ef4db7d91260
2022-08-15 18:33:50 <zim0369[m]1> but I prolly would have to do something like a nested submap
2022-08-15 18:34:57 <geekosaur[m]> No, that would replace the existing one since they both bind the same keys
2022-08-15 18:35:27 <geekosaur[m]> But I guess I don't understand how you're expecting to have both
2022-08-15 18:36:02 <zim0369[m]1> no I want the last one to be under a "m" submap instead of using shift
2022-08-15 18:36:40 <zim0369[m]1> `M-o m a` to move a window to workspace 1 and take focus to workspace 1
2022-08-15 18:36:40 <zim0369[m]1> while `M-o a` to just take focus to workspace 1
2022-08-15 18:36:59 <geekosaur[m]> Then yes, you need another submap
2022-08-15 18:39:40 zim0369[m]1 sent a hs code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/4f1cbbacaabbbc547ad568d5df28052553ba46f3
2022-08-15 18:42:16 <geekosaur> no, that's not quite right. the list comprehension produces a complete list, you need to append to it with ++, not just add an item with a comma
2022-08-15 18:42:17 <zim0369[m]1> or maybe this?... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/1ba9aa96cd556474deb78c535aea92f40c4cee2a)
2022-08-15 18:44:51 <geekosaur> https://paste.tomsmeding.com/h12iePrn
2022-08-15 18:45:27 <geekosaur> (I haven't syntax checked that but I think everything matches up)
2022-08-15 18:47:53 <geekosaur> a comma inside a list comprehension introduces a filter condition, not a new list item
2022-08-15 18:52:02 <zim0369[m]1> geekosaur: I couldn't quite understand this
2022-08-15 18:52:04 <zim0369[m]1> but your implementation works flawlessly
2022-08-15 18:52:21 <zim0369[m]1> I'm rather convinced with the use of `++` and why it didn't come to my mind
2022-08-15 19:04:49 <zim0369[m]1> but doesn't work
2022-08-15 19:04:50 <zim0369[m]1> I'm trying to combine this with the previous implementation:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/6ecf610b50f32bbe88849a6b05a602a7c8fed02c)
2022-08-15 19:05:51 <geekosaur> I think you need to pastebin your whole xmonad.hs, or at least the whole keybindings part
2022-08-15 19:07:51 × sogens quits (~sogens@211.30.173.20) (Ping timeout: 252 seconds)
2022-08-15 19:08:32 <geekosaur> tbh I tried checking it locally and had an unmatched brace somewhere, but I had to make several edits because my workspace list is named differently and I don't have shiftRL
2022-08-15 19:09:55 sogens joins (~sogens@211.30.156.66)
2022-08-15 19:10:59 <geekosaur> missed a line when testing in ghci, maybe it's okay as is
2022-08-15 19:11:30 <zim0369[m]1> https://paste.tomsmeding.com/b5iF3uJf
2022-08-15 19:14:10 <geekosaur> not sure that would work as written, since additionalKeysP doesn't control the submap you manually created
2022-08-15 19:15:42 <geekosaur> https://paste.tomsmeding.com/egfv9ETB
2022-08-15 19:16:35 <geekosaur> you would have to have additionalKeysP create the submaps for you, by defining the keys as e.g. "M-o a"
2022-08-15 19:18:43 <zim0369[m]1> oh just had to add it inside the submap list
2022-08-15 19:18:47 <zim0369[m]1> nice
2022-08-15 19:18:48 <geekosaur> right
2022-08-15 19:19:15 <zim0369[m]1> sometimes I feel like I get the smartest ideas about/for tiling wms
2022-08-15 19:19:32 isaacthekind[m] uploaded an image: (120KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/NldBAIkawKMgvksDkITlbRQq/image.png >
2022-08-15 19:19:33 <isaacthekind[m]> sorry to butt in, i have this xmobar config. but no matter what i do to it, it doesn't seem to change, the status bar just always looks the same. tried rebooting, building, recompiling xmonad. not sure what to do. this is my current file:
2022-08-15 19:20:50 <geekosaur> not sure I can help much since I don't really do xmobar. I think Solid has some clue about this but don't know if he's about
2022-08-15 19:22:32 <isaacthekind[m]> any chance you wanna show what your status bar looks like? iirc you said you built it just using xmonad?
2022-08-15 19:22:40 <zim0369[m]1> isaacthekind[m]: why don't u put your xmobar config in .xmobarrc instead?
2022-08-15 19:22:41 <isaacthekind[m]> and yeah hopefully solid shows up, i'm stuck
2022-08-15 19:22:54 <isaacthekind[m]> zim0369[m]1: vastly prefer working with haskell
2022-08-15 19:23:15 <zim0369[m]1> oh
2022-08-15 19:23:43 <zim0369[m]1> then I can't help with this way of configuring things. I've configured xmobar a lot before with the traditional way.
2022-08-15 19:24:30 <isaacthekind[m]> that's ok, i am patient, i'll work on xmonad for now
2022-08-15 19:25:22 <geekosaur> my status bar isn't xmobar
2022-08-15 19:25:51 <geekosaur> it's mate-panel, using xmonad-log-applet via dbus
2022-08-15 19:28:02 <geekosaur> I did find Solid's own xmobar config, dunno how much that might help you: https://gitlab.com/slotThe/dotfiles/-/blob/master/xmobar/.config/xmobarrc/src/xmobarrc.hs
2022-08-15 19:32:06 <geekosaur> you probably want to install it under a name different from "xmobar" so you don't run the standard one with its defaults instead
2022-08-15 19:32:31 <isaacthekind[m]> could you clarify that last bit
2022-08-15 19:33:03 <isaacthekind[m]> the file is somewhat helpful, but it's not the haskell syntax part that's weird. it's that i think i'm not calling it properly elsewhere and it's defaulting to whatever the base config is.
2022-08-15 19:33:16 <isaacthekind[m]> that's at least what it looks like, without knowing what's happening under the hood
2022-08-15 19:33:53 <geekosaur> right, so when yiou build the xmobar config, are you building it separately like Solid is or are you passing your .hs as a parameter?
2022-08-15 19:35:02 <isaacthekind[m]> no, i'm doing the first, i didn't realize the second was possible
2022-08-15 19:35:17 <geekosaur> so what is the name of the result?
2022-08-15 19:35:56 <isaacthekind[m]> i'm really confused with that kinda stuff. like i don't really understand any of the compilation things, i just know how to write the actual haskell code and run it in a cmd line.
2022-08-15 19:36:02 <isaacthekind[m]> like what is the "result"
2022-08-15 19:36:27 <isaacthekind[m]> i can show my basic structure here if that helps.
2022-08-15 19:36:29 <geekosaur> when you compile a config like this (or an xmonad.hs) it produces an executable
2022-08-15 19:36:54 <isaacthekind[m]> oh
2022-08-15 19:36:58 <geekosaur> https://gitlab.com/slotThe/dotfiles/-/blob/master/xmobar/.config/xmobarrc/xmobarrc.cabal <-- Solid calls his "xmobar" and then uses hiw $PATH to make sure the correct "xmobar" is run
2022-08-15 19:37:01 <isaacthekind[m]> like the executable name specified in the cabal
2022-08-15 19:37:09 <geekosaur> *his
2022-08-15 19:37:38 <isaacthekind[m]> mine is "xmobad"

All times are in UTC.