Logs: freenode/#xmonad
| 2021-02-16 18:32:15 | <ttmx> | oh, lmao |
| 2021-02-16 18:32:24 | <geekosaur> | was gonna say that looked like a multitoggle instance |
| 2021-02-16 18:32:44 | <ttmx> | It also doesn't like the Toggle :( |
| 2021-02-16 18:33:03 | <mc47> | what do you mean? |
| 2021-02-16 18:33:23 | <ttmx> | Uploaded file: https://uploads.kiwiirc.com/files/7c0698f4b007767ee9016e5fa16f10ca/image.png |
| 2021-02-16 18:35:33 | <mc47> | are you importing it correctly? |
| 2021-02-16 18:35:57 | <ttmx> | import XMonad.Layout.MultiToggle.Instances ? |
| 2021-02-16 18:36:19 | <mc47> | you also need XMonad.Layout.MultiToggle |
| 2021-02-16 18:36:25 | <ttmx> | Oh, thank you |
| 2021-02-16 18:36:41 | <ttmx> | My hand is very warm from all this hand holding xD |
| 2021-02-16 18:37:01 | <mc47> | hahaha :D |
| 2021-02-16 18:38:05 | <mc47> | I have to go eat something now and probably study ;) |
| 2021-02-16 18:38:09 | <ttmx> | Alsoooooooooooo, togglestruts does not toggle my bar :( |
| 2021-02-16 18:39:06 | <ttmx> | Huh, it does not seem to eliminate borders noes |
| 2021-02-16 18:39:13 | <ttmx> | But good luck with studies! |
| 2021-02-16 18:39:18 | geekosaur | wonders if combining struts and gaps is to blame since they use the same underlying mechanism |
| 2021-02-16 18:39:35 | <ttmx> | I'm really happy with what you helped me do! |
| 2021-02-16 18:39:51 | <ttmx> | Is this the correct way to restart xmonad? |
| 2021-02-16 18:39:52 | <ttmx> | , ((modm , xK_F2 ), spawn "xmonad --restart") |
| 2021-02-16 18:40:12 | <ttmx> | I feel its a little weird to spawn a shell to do something "inside" xmonad |
| 2021-02-16 18:40:21 | <mc47> | with pleasure :D thanks |
| 2021-02-16 18:40:44 | <ttmx> | I'll hop onto geekosaur :P |
| 2021-02-16 18:41:20 | <ttmx> | ToggleStruts only toggles accounting it for gaps or not |
| 2021-02-16 18:41:24 | <ttmx> | But it doesn't hide it. |
| 2021-02-16 18:42:09 | <geekosaur> | there's a built-in function but we don't use it, even the default config shells out to xmonad --restart |
| 2021-02-16 18:42:31 | <geekosaur> | I'm only partially around this afternoon |
| 2021-02-16 18:43:00 | <ttmx> | Thats fair! |
| 2021-02-16 18:43:08 | <geekosaur> | one oddity of how we handle docks is if they put themselves on top then toggling struts overlays the window instead of hiding the dock |
| 2021-02-16 18:43:16 | <ttmx> | But yep, got it. It just feels weird to spawn a shell. |
| 2021-02-16 18:43:33 | <ttmx> | How would "toggleStruts" even know it is a dock? |
| 2021-02-16 18:44:01 | <geekosaur> | manageDocks |
| 2021-02-16 18:44:19 | <geekosaur> | a "strut" is a property attached to a window saying how much space to leave for it |
| 2021-02-16 18:44:22 | <ttmx> | Well I think thats the issue, I don't have that anywhere on my config. |
| 2021-02-16 18:44:51 | <geekosaur> | if you have the docks combinator then it added manageStruts for you |
| 2021-02-16 18:45:07 | <ttmx> | Docks combinator? |
| 2021-02-16 18:45:26 | <ttmx> | I have very manual docks I think? |
| 2021-02-16 18:45:44 | <ttmx> | I'm surprised it is even picked up by togglestruts at all |
| 2021-02-16 18:46:13 | <geekosaur> | pastebin your config |
| 2021-02-16 18:46:18 | <geekosaur> | @where paste |
| 2021-02-16 18:46:18 | <lambdabot> | Help us help you: please paste full code, input and/or output at eg https://paste.tomsmeding.com |
| 2021-02-16 18:47:03 | <ttmx> | I already pasted it, but I will again! Give me a sec |
| 2021-02-16 18:47:14 | <Liskni_si> | spawning the shell for restart is almost definitely wrong |
| 2021-02-16 18:47:18 | <ttmx> | https://termbin.com/kbbn2 |
| 2021-02-16 18:47:29 | <Liskni_si> | there's a "restart" function in XMonad.Operations |
| 2021-02-16 18:47:37 | <Liskni_si> | or maybe in core or wherever |
| 2021-02-16 18:47:43 | <Liskni_si> | it's imported by import XMonad |
| 2021-02-16 18:48:39 | <geekosaur> | Liskni_si, did you look at the default config's keybindings? it's not used directly any more |
| 2021-02-16 18:48:46 | <geekosaur> | hasn't been for several versions |
| 2021-02-16 18:49:01 | <geekosaur> | https://github.com/xmonad/xmonad/blob/master/src/XMonad/Config.hs#L222 |
| 2021-02-16 18:49:17 | <Liskni_si> | oh |
| 2021-02-16 18:50:42 | <geekosaur> | ttmx, you have the docks combinator |
| 2021-02-16 18:51:02 | <geekosaur> | xmonad $ docks . ewmh $ def |
| 2021-02-16 18:51:16 | <Liskni_si> | now I remember my config uses the restart function so that it can execute a wrapper that resets environment variables instead |
| 2021-02-16 18:51:20 | <geekosaur> | (no line numbers so that's the best I can do) |
| 2021-02-16 18:51:47 | <Liskni_si> | sorry for the confusion then |
| 2021-02-16 18:52:48 | <ttmx> | Right uh... I did not know that was the docks combinator xD |
| 2021-02-16 18:54:00 | <ttmx> | Also geekosaur, fun hack I learned the other day for line numbers curl "https://termbin.com/kbbn2" |nl |
| 2021-02-16 18:54:22 | <ttmx> | Well, how would I fix the dock behaviour then? |
| 2021-02-16 18:54:29 | <ttmx> | If I already have the docks combinator setup? |
| 2021-02-16 18:56:22 | × | geekosaur quits (82650c7a@130.101.12.122) (Ping timeout: 240 seconds) |
| 2021-02-16 19:04:59 | × | idhugo quits (~idhugo@80-62-117-97-mobile.dk.customer.tdc.net) (Ping timeout: 265 seconds) |
| 2021-02-16 19:07:44 | <vrs> | ahh xmobarstrip, that's the one I have a patch in :D |
| 2021-02-16 19:09:35 | <vrs> | (https://github.com/xmonad/xmonad-contrib/pull/2) |
| 2021-02-16 19:10:15 | → | geekosaur joins (82650c7a@130.101.12.122) |
| 2021-02-16 19:14:36 | × | hexo quits (~hexo@gateway/tor-sasl/hexo) (Remote host closed the connection) |
| 2021-02-16 19:14:55 | → | hexo joins (~hexo@gateway/tor-sasl/hexo) |
| 2021-02-16 19:21:09 | <ttmx> | Riight, how do I get an XMB icon? |
| 2021-02-16 19:21:17 | <ttmx> | or XPM |
| 2021-02-16 19:23:15 | <ttmx> | I wanna grab these into xmonad :( https://github.com/Barbarossa93/Genome/tree/main/.config/qtile/icons |
| 2021-02-16 19:25:26 | <Liskni_si> | you can use icons in xmobar via <icon=…> |
| 2021-02-16 19:25:33 | <Liskni_si> | although maybe not PNG |
| 2021-02-16 19:29:11 | <ttmx> | Yeah exactly... |
| 2021-02-16 19:29:14 | × | sundbry quits (~quassel@99-42-143-129.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds) |
| 2021-02-16 19:29:31 | <ttmx> | that format is vectorial right? |
| 2021-02-16 19:29:44 | <ttmx> | So I can't convert it from the png :( |
| 2021-02-16 19:34:07 | <Liskni_si> | xbm is bitmap |
| 2021-02-16 19:34:39 | <Liskni_si> | it can even use xpm |
| 2021-02-16 19:34:57 | <Liskni_si> | if you're feeling adventurous enough for such bleeding edge technology |
| 2021-02-16 19:34:58 | <Liskni_si> | :-D |
| 2021-02-16 19:35:20 | <Liskni_si> | (The XBM format is superseded by XPM, which first appeared for X11 in 1989.) |
| 2021-02-16 19:36:57 | <ttmx> | Goddamn |
| 2021-02-16 19:37:13 | <ttmx> | B o o m e r formats |
| 2021-02-16 19:37:18 | <ttmx> | Older than me by quite a bit |
| 2021-02-16 19:37:30 | <mc47> | I made the cut, I'm barely older than it :D |
| 2021-02-16 19:37:35 | <ttmx> | Right, if its bitmap then it must be convertible from png |
| 2021-02-16 19:37:45 | <ttmx> | B o o m e r |
| 2021-02-16 19:37:53 | <Liskni_si> | mc47: oh, how come you're still studying then? |
| 2021-02-16 19:39:03 | <mc47> | I'm almost 23, and in my 5th semester of my bachelor's |
| 2021-02-16 19:39:23 | <mc47> | with one "gap" year after highschool (actually, language year) |
| 2021-02-16 19:39:37 | <Liskni_si> | oh, so it's more of a off-by-10 than actually being a boomer |
| 2021-02-16 19:39:54 | <mc47> | yeah :D |
| 2021-02-16 19:40:18 | <Liskni_si> | you'd need to be 32+ to be alive when XBM was hot stuff |
| 2021-02-16 19:40:35 | <mc47> | oh, I read that 1999 |
| 2021-02-16 19:40:52 | <mc47> | that's what happens when I spend the whole day in front of a screen, things get blurry... |
| 2021-02-16 19:41:01 | <Liskni_si> | :-) |
| 2021-02-16 19:41:23 | geekosaur | hides |
| 2021-02-16 19:43:53 | <mc47> | On another note, is there an easy way to access the "base" constructor of the current layout? |
| 2021-02-16 19:44:23 | <mc47> | like the number of windows of the master pane, when I have the tall layout active |
| 2021-02-16 19:47:58 | <Liskni_si> | no |
| 2021-02-16 19:48:04 | <geekosaur> | no, in part because you have no guarantee that it's even meaningful (the best you can do is introspecting the description to see that it's "Tall") |
All times are in UTC.