Home liberachat/#xmonad: Logs Calendar

Logs on 2022-08-03 (liberachat/#xmonad)

00:00:51 <thyriaen> ah nice thanks
00:00:58 <geekosaur> not the prettiest way to do it but it works
00:01:16 <geekosaur> I'd actually rearrange things a bit more to make it prettier
00:01:50 <thyriaen> is there a way to change the color and layout of the tabs itself ? and maybe make the overall lengh of the tabs smaller to fit the size of the windows ?
00:02:40 <geekosaur> https://paste.tomsmeding.com/RvrwgHgD
00:03:34 <geekosaur> easiest way to make the tabs fit the windows is to move the spacingRaw inside the combineTwo, but then you have to adjust the spacing parameters to avoid an extra-wide space down the middle
00:04:57 <thyriaen> ah ok nice
00:04:58 <geekosaur> the color can be changed by adding parameters to the `def` in the `tabbedBottom`; see the example `myTabConfig` in https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-Tabbed.html and look at the fields in `Theme`
00:06:52 <thyriaen> how can i move the windows with windownavigation enabled ?
00:06:53 <geekosaur> not sure what you mean by the layout
00:07:31 <geekosaur> there are some keybindings shown in https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-Combo.html
00:07:43 <geekosaur> (and more in the WindowNavigation docs)
00:08:30 <geekosaur> in this case U and D won't be helpful since they're side by side, but you can use the Move L and Move R keybindings to move windows between columns
00:09:29 <thyriaen> got a parseerror on gaps
00:09:30 <thyriaen> https://paste.tomsmeding.com/ZOzHLXFM
00:10:19 <geekosaur> it looks indented by one space? that would be taken as a continuation of doubleTabs, which would fail to parse
00:10:32 <geekosaur> (indented relative to doubleTabs)
00:10:43 <thyriaen> aha
00:10:43 <geekosaur> haskell really cares about its indentation
00:12:03 <thyriaen> still the same -
00:12:10 <thyriaen> ah i have to put gaps inside ?
00:12:19 <thyriaen> so gaps $ tabbedbottom ?
00:12:35 <geekosaur> yes
00:12:56 <geekosaur> and you'll find you need to change some of those 4s to 2s to keep the gaps from being doubled across the center
00:13:41 × mvk quits (~mvk@2607:fea8:5ce3:8500::d5f2) (Ping timeout: 255 seconds)
00:14:22 <thyriaen> yea sure
00:15:23 <thyriaen> nope it still is the same
00:15:36 <thyriaen> tabs didnt shrink
00:16:07 <thyriaen> https://paste.tomsmeding.com/hrfg3B3s
00:16:50 <geekosaur> hm. I would have expected that to work
00:17:09 <geekosaur> that said I don't use spacing and don't know how it interacts with tabs very well
00:17:11 <thyriaen> me too
00:17:55 <geekosaur> and tabs kinda abuse things a bit
00:18:02 <thyriaen> :p
00:18:04 × thyriaen quits (~thyriaen@2a02:8109:8340:686c:3cdc:1de0:eddb:5de6) (Quit: Leaving)
00:18:05 <geekosaur> (and are a little fragile as a result)
00:18:08 <geekosaur> I ...
00:18:16 × catman quits (~catman@user/catman) (Quit: WeeChat 3.6)
00:18:34 thyriaen joins (~thyriaen@2a02:8109:8340:686c:3cdc:1de0:eddb:5de6)
00:18:37 <thyriaen> okay
00:18:46 <thyriaen> well thank you alot for all your help
00:19:07 <geekosaur> you're welcome
00:19:12 <geekosaur> possibly someone else can help
00:19:20 <thyriaen> i will take a sleeping break
00:19:32 <thyriaen> and tomorrow with a fresh start i will solve it :p
00:19:40 <geekosaur> I think one of the other maintainers knows spacing better, but most of them are busy this week
00:19:54 <thyriaen> i am sure he will help me :p
00:20:04 <thyriaen> take care, hun
00:20:23 × thyriaen quits (~thyriaen@2a02:8109:8340:686c:3cdc:1de0:eddb:5de6) (Client Quit)
00:26:00 catman joins (~catman@user/catman)
00:47:24 × catman quits (~catman@user/catman) (Ping timeout: 268 seconds)
00:49:23 catman joins (~catman@user/catman)
00:49:28 × catman quits (~catman@user/catman) (Client Quit)
00:55:46 catman joins (~catman@user/catman)
01:51:03 × darkstarx quits (~darkstard@50.53.212.60) (Remote host closed the connection)
01:51:44 darkstarx joins (~darkstard@50.53.212.60)
02:03:52 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 268 seconds)
02:23:19 banc joins (banc@gateway/vpn/airvpn/banc)
02:40:52 × td_ quits (~td@muedsl-82-207-238-045.citykom.de) (Ping timeout: 268 seconds)
02:42:37 td_ joins (~td@94.134.91.79)
02:57:50 × catman quits (~catman@user/catman) (Ping timeout: 240 seconds)
03:01:23 catman joins (~catman@user/catman)
03:05:32 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 268 seconds)
04:23:53 × darkstarx quits (~darkstard@50.53.212.60) (Remote host closed the connection)
04:24:57 darkstarx joins (~darkstard@50.53.212.60)
04:30:27 × darkstarx quits (~darkstard@50.53.212.60) (Ping timeout: 245 seconds)
04:31:56 sogens joins (~sogens@pa49-182-88-68.pa.qld.optusnet.com.au)
04:40:44 × catman quits (~catman@user/catman) (Quit: WeeChat 3.6)
04:50:44 catman joins (~catman@user/catman)
04:55:00 catman_ joins (~catman@user/catman)
04:55:16 catman is now known as Guest479
04:55:16 catman_ is now known as catman
04:56:38 × Guest479 quits (~catman@user/catman) (Ping timeout: 240 seconds)
04:57:57 × sogens quits (~sogens@pa49-182-88-68.pa.qld.optusnet.com.au) (Ping timeout: 245 seconds)
05:00:12 sogens joins (~sogens@gateway/vpn/pia/sogens)
05:12:14 darkstardevx joins (~darkstard@50.53.212.60)
05:13:18 × darkstardevx quits (~darkstard@50.53.212.60) (Remote host closed the connection)
05:13:42 darkstardevx joins (~darkstard@50.53.212.60)
05:16:36 qbt joins (~e@user/edun)
05:32:26 × qbt quits (~e@user/edun) (Quit: leaving)
05:32:43 qbt joins (~qbt@user/edun)
05:40:34 × qbt quits (~qbt@user/edun) (Quit: WeeChat 3.5)
05:42:37 qbt joins (~qbt@user/edun)
06:11:15 coco joins (~coco@212-51-146-199.fiber7.init7.net)
07:02:26 × sogens quits (~sogens@gateway/vpn/pia/sogens) (Remote host closed the connection)
07:11:01 sogens joins (~sogens@gateway/vpn/pia/sogens)
07:24:34 cfricke joins (~cfricke@user/cfricke)
07:29:27 × cfricke quits (~cfricke@user/cfricke) (Remote host closed the connection)
07:29:41 cfricke joins (~cfricke@user/cfricke)
07:31:17 × cfricke quits (~cfricke@user/cfricke) (Client Quit)
07:51:39 moskalyovd[m] joins (~moskalyov@2001:470:69fc:105::2:5a9d)
07:57:26 × Benzi-Junior quits (~BenziJuni@dsl-149-67-162.hive.is) (Quit: ZNC 1.8.2 - https://znc.in)
07:58:27 × qbt quits (~qbt@user/edun) (Quit: WeeChat 3.5)
07:58:44 qbt joins (~qbt@user/edun)
08:01:14 × Forkk quits (~forkk@li926-228.members.linode.com) (Quit: No Ping reply in 180 seconds.)
08:01:16 × joshproehl_ quits (~quassel@user/joshproehl) (Remote host closed the connection)
08:02:16 joshproehl joins (~quassel@user/joshproehl)
08:02:43 Forkk joins (~forkk@li926-228.members.linode.com)
08:03:06 × qbt quits (~qbt@user/edun) (Client Quit)
08:03:21 qbt joins (~qbt@user/edun)
08:03:43 × qbt quits (~qbt@user/edun) (Client Quit)
08:04:00 qbt joins (~qbt@user/edun)
08:04:28 × sogens quits (~sogens@gateway/vpn/pia/sogens) (Ping timeout: 268 seconds)
08:06:09 sogens joins (~sogens@pa49-182-88-68.pa.qld.optusnet.com.au)
08:09:20 <xmonadtrack> xmonad-contrib Tony Zorman * v0.17.0-214-gee97eec1: Remove all remaining occurences of defaultTConf (8 minutes ago, 3 files, 3+ 3-) https://github.com/xmonad/xmonad-contrib/commit/ee97eec17d7c
08:21:47 benin0 joins (~benin@183.82.177.174)
08:29:37 × sogens quits (~sogens@pa49-182-88-68.pa.qld.optusnet.com.au) (Ping timeout: 245 seconds)
08:31:30 sogens joins (~sogens@pa49-182-88-68.pa.qld.optusnet.com.au)
08:36:35 × coco quits (~coco@212-51-146-199.fiber7.init7.net) (Quit: WeeChat 3.5)
08:41:00 × sogens quits (~sogens@pa49-182-88-68.pa.qld.optusnet.com.au) (Ping timeout: 268 seconds)
10:14:23 mc47 joins (~mc47@xmonad/TheMC47)
11:19:15 sogens joins (~sogens@211.30.173.20)
11:32:28 thyriaen joins (~thyriaen@2a02:8109:8340:686c:3cdc:1de0:eddb:5de6)
11:37:58 <thyriaen> https://paste.tomsmeding.com/ubIFwqXJ i am using combineTwo to get 2 panes with each having tabbed windows. Since I do use gaps the lengh of the tab bar is little longer than the window itself - how can i adjust the length ?
11:56:27 <[Leary]> thyriaen: If combining spacing and tabs in the order you have is no good, try the other order. Note first that `tabbedBottom s c` is just `addTabsBottom s c Simplest`. Right now you have `gaps (combineTwo (...) (addTabsBottom s c Simplest) (addTabsBottom s c Simplest))`, so try `combineTwo (...) (addTabsBottom s c (gaps Simplest)) (addTabsBottom s c (gaps Simplest))`.
11:57:26 <geekosaur> mm, right, forgot there was a third place to put the gaps
11:59:10 <thyriaen> what is this s c ?
11:59:38 <thyriaen> ah i understand
12:00:56 <thyriaen> thanks
12:04:09 <thyriaen> for some reason it says Simplest Data Contructor not in scope
12:04:13 <thyriaen> do i have to import something ?
12:05:09 <[Leary]> XMonad.Layout.Simplest
12:05:18 <thyriaen> are there other layouts ?
12:05:43 <[Leary]> There's a whole acre of 'em.
12:05:57 <thyriaen> is there a list in the documentation somehwere ? :p
12:07:15 <[Leary]> The contents page for the xmonad-contrib haddocks lists all the modules (with links). Everything under XMonad.Layout is a layout or layout modifier or combinator.
12:08:06 <thyriaen> okay
12:08:12 <thyriaen> it works very nicely - thanks Leary !
12:08:19 <[Leary]> np
12:09:59 <geekosaur> we have 300+ contrib modules of which close to half are layouts
12:18:38 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib fwiw
12:19:27 × sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5)
12:20:48 sogens joins (~sogens@211.30.173.20)
12:29:10 <thyriaen> geekosaur, something really strange is happening - sometimes the window doesn't fit anymore and is pushed outside the screen upwards with the top missing ( about the size of the thickness of my tabs )
12:29:39 Benzi-Junior joins (~BenziJuni@dsl-149-67-162.hive.is)
12:33:46 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
12:34:41 <geekosaur> that's a new one on me. law-abiding layouts should not d othat. then again, addTabs… is not law abiding
12:34:52 <geekosaur> but it doesn't fail that way normally
12:35:03 <geekosaur> wonder if it's an interaction between that and gaps
12:35:48 <thyriaen> no - gaps are disabled
12:35:52 <thyriaen> i am checking in fullscreen mode
12:36:04 <thyriaen> it is when i leave fullscreen of youtube
12:38:25 <geekosaur> hm. what happens if you float (mod-leftclick) and re-tile (mod-t) the window?
12:39:41 <geekosaur> (we've had occasional reports of things not returning from fullscreen correctly)
12:40:23 <thyriaen> ewmh fullscreen fixed it for me
12:40:27 <thyriaen> however
12:41:18 <thyriaen> now i have a bar around my fullscreen window :p
12:41:39 <geekosaur> huh
12:42:26 <geekosaur> fullscreen windows are floated, nothing in the layout should apply to them
12:43:17 <thyriaen> oh really ? but i have a colored border around it
12:43:38 <thyriaen> maybe that is because i also have a bordererd color around my floating windows
12:44:08 <thyriaen> btw is there a way to define some windows as always floating and assign size and position to them where they should be when i start them ?
12:44:12 <geekosaur> border is separate from the layout
12:44:35 <geekosaur> see XMonad.Hooks.ManageHelpers, and the manageHook
12:46:09 <geekosaur> doRectFloat or doFloatAt
12:49:55 <geekosaur> you need to know how to match the window, this will vary by app and may be complicated for terminals (watch out for terminal emulator factories)
12:50:02 × [Leary] quits (~Leary]@122-58-224-198-vdsl.sparkbb.co.nz) (Ping timeout: 245 seconds)
12:50:36 <geekosaur> also you can't reliably match browser windows, see https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Hooks-DynamicProperty.html
12:52:21 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L150-L172 example manageHook
12:56:18 arjun joins (~arjun@user/arjun)
12:56:42 <arjun> hi, i've been trying to use 2 (xmo)bars with xmonad
12:57:41 × gowpjmu93[m] quits (~gowpjmu93@2001:470:69fc:105::2:570b) (Quit: User was banned)
12:57:42 <arjun> using `dynamicEasySBs` and `statusBarPropTo`
12:58:14 [Leary] joins (~Leary]@122-58-224-198-vdsl.sparkbb.co.nz)
12:58:29 <arjun> The docs for those say that `StatusBarConfig` is monoid and can be combined with a <> like topBar <> bottomBar
12:59:20 <arjun> but i've been running into an issue where the PP settings of the bar written second is overwriting the PP settings of the bar written later in the `<>` operator
13:00:25 <geekosaur[m]> Do you have them logging to different properties,?
13:00:50 <arjun> hi geekosaur[m]
13:00:53 <arjun> i think i have
13:00:54 <arjun> https://pastebin.com/AzC7j9Qf
13:00:55 <thyriaen> geekosaur[m], ok thanks i will try
13:01:02 × thyriaen quits (~thyriaen@2a02:8109:8340:686c:3cdc:1de0:eddb:5de6) (Quit: Leaving)
13:01:24 logzet joins (~quassel@2001:9e8:e53b:d900:dabb:c1ff:fed3:a1b9)
13:01:39 thyriaen joins (~thyriaen@2a02:8109:8340:686c:3cdc:1de0:eddb:5de6)
13:01:52 <arjun> geekosaur[m], mostly, line 10 is being overwritten by line 39
13:02:14 <geekosaur[m]> If they both log to the same property then the last one will win
13:02:20 <arjun> and as a result i have loger and window titles on both top and bottom bars
13:03:01 <arjun> what i'd like is workspace numbers on top and window lists and layout name on bottom (along with some other things)
13:03:36 <arjun> but i suppose you're right, they both log _XMONAD_LOG_0 or 1 for screen 0 or 1
13:03:57 <geekosaur[m]> I haven't looked but if it's a monoid on (.) then "last" will be first
13:09:44 <arjun> geekosaur[m], you were right, logging different _XMONAD_LOG_0/1/2 etc works
13:10:16 <arjun> the bottom one now logs screenId + 10 now : p
13:10:19 <arjun> hack++
13:11:16 × thyriaen quits (~thyriaen@2a02:8109:8340:686c:3cdc:1de0:eddb:5de6) (Remote host closed the connection)
14:11:26 × logzet quits (~quassel@2001:9e8:e53b:d900:dabb:c1ff:fed3:a1b9) (Ping timeout: 240 seconds)
14:32:09 benin04 joins (~benin@156.146.51.131)
14:34:21 × benin0 quits (~benin@183.82.177.174) (Ping timeout: 268 seconds)
14:34:21 benin04 is now known as benin0
14:37:09 benin01 joins (~benin@183.82.177.174)
14:38:38 × benin0 quits (~benin@156.146.51.131) (Ping timeout: 240 seconds)
14:38:39 benin01 is now known as benin0
15:24:48 × sogens quits (~sogens@211.30.173.20) (Read error: Connection reset by peer)
15:25:31 sogens joins (~sogens@211.30.173.20)
15:26:16 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
16:14:13 × arjun quits (~arjun@user/arjun) (Remote host closed the connection)
16:14:28 arjun joins (~arjun@user/arjun)
16:38:05 × benin0 quits (~benin@183.82.177.174) (Quit: The Lounge - https://thelounge.chat)
17:22:59 kaskal- joins (~kaskal@213-225-33-152.nat.highway.a1.net)
17:25:02 × kaskal quits (~kaskal@213-225-33-152.nat.highway.a1.net) (Ping timeout: 245 seconds)
17:35:33 × sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5)
17:36:55 sogens joins (~sogens@211.30.173.20)
17:42:14 × arjun quits (~arjun@user/arjun) (Quit: tip toe-ing my way outta here)
18:00:54 × sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5)
18:02:19 sogens joins (~sogens@211.30.173.20)
18:08:48 × jeeeun quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
18:12:18 jeeeun joins (~jeeeun@78.40.148.178)
18:35:11 × qbt quits (~qbt@user/edun) (Quit: WeeChat 3.5)
18:41:02 × sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5)
18:41:19 sogens joins (~sogens@211.30.173.20)
18:47:41 × sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5)
18:47:57 sogens joins (~sogens@211.30.173.20)
19:02:37 × sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5)
19:02:54 sogens joins (~sogens@211.30.173.20)
19:07:17 × sogens quits (~sogens@211.30.173.20) (Client Quit)
19:07:33 sogens joins (~sogens@211.30.173.20)
19:37:22 <mesaoptimizer> hi, is there a way to disable dialog boxes of any sort automatically taking away focus from the window you were on
19:37:57 <geekosaur> you might like X.H.InsertPosition
19:39:36 <mesaoptimizer> nice, I'll try it
19:43:26 <geekosaur> (possibly with X.H.ManageHelpers.isDialog)
19:58:43 <mesaoptimizer> geekosaur: `manageHook = composeOne [isDialog -?> insertPosition Above Older]` doesn't throw errors but doesn't work for chromium save dialog and firefox save dialog windows
20:03:18 <geekosaur[m]> Browsers suck. I wouldn't be surprised if they only set the window type after opening it
20:07:13 <mesaoptimizer> disturbing. One more reason I'm convinced that nyxt is the future
20:08:32 × sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5)
20:08:57 sogens joins (~sogens@211.30.173.20)
20:09:56 <mesaoptimizer> oh btw: this may help: `manageHook = insertPosition Below Older` doesn't have any effect for monocled layout for firefox: when you do `C-s`, the dialog box pops up above, _and_ takes focus (even though xmonad thinks that the focus is on the firefox window)
20:11:20 <geekosaur[m]> Focus stealing is sadly another way browsers suck
20:12:57 <geekosaur[m]> But nyxt might be worse if it relies on JavaScript since that's what requires the window be mapped before it can configure it
20:15:15 <geekosaur[m]> And it's painful to match a window by its size information
20:16:11 <geekosaur[m]> There's a manageHook to do that in git
20:17:05 <mesaoptimizer> yeah, it isn't worth the effort to match against size information
20:17:21 <mesaoptimizer> off-topic, but`nyxt` uses pop-in (like doom emacs / spacemacs `M-x` list) as a dialog box, so there's no separate window
20:18:29 rekahsoft joins (~rekahsoft@bras-base-wdston4533w-grc-02-142-113-160-8.dsl.bell.ca)
20:39:58 × sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5)
20:40:14 sogens joins (~sogens@211.30.173.20)
20:52:43 × sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5)
20:52:59 sogens joins (~sogens@211.30.173.20)
20:55:16 × sogens quits (~sogens@211.30.173.20) (Client Quit)
20:55:33 sogens joins (~sogens@211.30.173.20)
21:13:32 × sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5)
21:13:49 sogens joins (~sogens@211.30.173.20)
21:25:30 × sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5)
21:25:47 sogens joins (~sogens@211.30.173.20)
21:25:59 × sogens quits (~sogens@211.30.173.20) (Client Quit)
21:26:15 sogens joins (~sogens@211.30.173.20)
22:14:47 xxxcc joins (~xxxcc@c-67-190-127-51.hsd1.co.comcast.net)
22:15:19 × xxxcc quits (~xxxcc@c-67-190-127-51.hsd1.co.comcast.net) (Client Quit)
22:18:21 × lambdabot quits (~lambdabot@haskell/bot/lambdabot) (Remote host closed the connection)
22:21:17 lambdabot joins (~lambdabot@haskell/bot/lambdabot)
22:50:53 × sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5)
22:51:10 sogens joins (~sogens@211.30.173.20)
23:15:34 × sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5)
23:15:51 sogens joins (~sogens@211.30.173.20)

All times are in UTC on 2022-08-03.