Home liberachat/#xmonad: Logs Calendar

Logs on 2022-01-27 (liberachat/#xmonad)

00:17:05 dirtcastle joins (~dirtcastl@2409:4072:6d9a:1fdc:8807:cdff:fe42:4534)
00:21:17 × dirtcastle quits (~dirtcastl@2409:4072:6d9a:1fdc:8807:cdff:fe42:4534) (Ping timeout: 240 seconds)
00:25:42 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 250 seconds)
00:27:57 jao joins (~jao@68.235.43.173)
00:46:04 × bsjd quits (~user@2a02:a020:a7:28e3:7ec8:c543:d26b:f0e) (Ping timeout: 250 seconds)
01:10:39 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds)
01:12:33 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
01:26:03 dirtcastle joins (~dirtcastl@2409:4072:6d9a:1fdc:fc6b:55ff:fee4:24ce)
01:30:17 × dirtcastle quits (~dirtcastl@2409:4072:6d9a:1fdc:fc6b:55ff:fee4:24ce) (Ping timeout: 240 seconds)
02:41:31 dirtcastle joins (~dirtcastl@103.43.203.229)
03:02:57 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 240 seconds)
03:09:53 × dirtcastle quits (~dirtcastl@103.43.203.229) (Remote host closed the connection)
03:13:03 × td_ quits (~td@94.134.91.245) (Ping timeout: 256 seconds)
03:14:37 td_ joins (~td@muedsl-82-207-238-147.citykom.de)
03:22:34 banc joins (banc@gateway/vpn/airvpn/banc)
03:54:59 × steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 256 seconds)
04:31:50 Guest93 joins (~Guest93@47.153.196.157)
04:33:06 <Guest93> myScratchpads :: [NamedScratchpad]
04:33:07 <Guest93> myScratchpads = [ NS "ncspot" "alacritty -e ncspot -t scratchpad" (resource =? "ncspot")
04:33:07 <Guest93>                       (customFloating $ W.RationalRect (1/4) (1/4) (2/4) (2/4))]
04:33:08 <Guest93> Hi I am tryihng to make a floating scratchpad for ncspot but it just crashes instantly, if I remove the -t it will start in a non scratchpad window and keep opening infinite ones? how can i make this work
04:33:16 denbrahe[m] joins (~denbrahem@2001:470:69fc:105::19c0)
04:33:16 craige[m] joins (~craigemcw@2001:470:69fc:105::35f1)
04:33:16 Drishal[m] joins (~drishalma@2001:470:69fc:105::a36)
04:33:30 TheWizardTower[m joins (~thewizard@2001:470:69fc:105::a5b)
04:33:30 KittyOwO[m] joins (~wrinklehu@2001:470:69fc:105::84e)
04:33:30 VarikValefor[m] joins (~varikvale@2001:470:69fc:105::a5d)
04:33:42 eezo[m] joins (~eezomatri@2001:470:69fc:105::1:7)
04:33:54 fabfianda[m] joins (~fabfianda@2001:470:69fc:105::6db)
04:33:54 prrxddq[m] joins (~prrxddqma@2001:470:69fc:105::1:4f72)
04:34:07 peterstorm[m] joins (~peterstor@2001:470:69fc:105::1:107b)
04:34:28 iMaaNor[m] joins (~imaanorma@2001:470:69fc:105::1:5988)
04:41:54 <Guest93> i got it im sorry for bothering
04:45:17 × dpn` quits (~dpn@203-206-161-39.perm.iinet.net.au) (Ping timeout: 240 seconds)
04:48:41 dpn` joins (~dpn@203-206-161-39.perm.iinet.net.au)
05:12:00 × Guest93 quits (~Guest93@47.153.196.157) (Quit: Ping timeout (120 seconds))
05:12:09 Guest93 joins (~Guest93@47.153.196.157)
05:12:40 <Guest93> the fix was putting alacritty -t "name" -e [program] with (title=? "name") if anyone else runs into that!
05:17:48 dirtcastle joins (~dirtcastl@103.43.203.227)
05:26:34 <dirtcastle> i really like xmonad. but since wayland is becoming popular and I heard it's better technically too, I've been thinking to switch to that eventually. the last commit on wayland github page is 3 yrs ago. is there a reason why waymonad is abandoned? is your team related to that project?
05:30:14 × jao quits (~jao@68.235.43.173) (Remote host closed the connection)
06:57:12 jao joins (~jao@68.235.43.173)
07:01:59 × jao quits (~jao@68.235.43.173) (Ping timeout: 256 seconds)
07:03:49 × Guest93 quits (~Guest93@47.153.196.157) (Quit: Client closed)
07:08:42 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
07:11:46 × borisbosnjak[m] quits (~borisbosn@2001:470:69fc:105::1:56a6) (Quit: Client limit exceeded: 20000)
07:16:40 geekosaur joins (~geekosaur@xmonad/geekosaur)
07:26:19 × dpn` quits (~dpn@203-206-161-39.perm.iinet.net.au) (Quit: WeeChat 3.3)
07:39:40 steve__ joins (~steve@ool-182c2b80.dyn.optonline.net)
07:41:31 mc47 joins (~mc47@xmonad/TheMC47)
07:45:01 <mc47> dirtcastle we're not related to that project, and I think there's a fork that was picked up around june of last year. We would consider doing something for wayland, but it may be a bit of a stretch
07:45:14 borisbosnjak[m] joins (~borisbosn@2001:470:69fc:105::1:56a6)
07:45:25 <mc47> There's just not enough people who can work on that full-time, and it's quite a beast
07:45:41 <mc47> (we talk about it in the sponsors' page https://github.com/sponsors/xmonad)
07:47:12 <dirtcastle> what do you mean by beast? it's a hard project?
07:47:35 <dirtcastle> that link gives 404 error
07:50:04 <dirtcastle> even in that the last commit was 7 months ago 😢
07:55:36 <mc47> It's not an easy task
07:56:26 <mc47> and the problem with xmonad is that many parts are really tied to X11, so it might be better to just take notes of the lessons learned and start from scratch
07:57:58 <mc47> I don't know much about the details though
08:09:29 edun joins (~qbt@user/edun)
08:12:14 × diaspora[m] quits (~diasporae@2001:470:69fc:105::93e) (Quit: Client limit exceeded: 20000)
08:14:57 × mvk quits (~mvk@2607:fea8:5cdc:bf00::a2bf) (Ping timeout: 240 seconds)
08:24:05 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
09:02:05 chomwitt joins (~chomwitt@2a02:587:dc16:6e00:12c3:7bff:fe6d:d374)
09:17:32 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
09:17:32 allbery_b joins (~geekosaur@xmonad/geekosaur)
09:17:35 allbery_b is now known as geekosaur
09:55:33 cfricke joins (~cfricke@user/cfricke)
10:35:24 × defjam quits (~eb0t@90.209.247.249) (Quit: WeeChat 3.0)
10:36:24 vanvik2 joins (~vanvik@78.156.12.223)
10:36:49 <geekosaur> dirtcastle, wayland is "technically" better but is still very immature and still wquite likely to crash and kill your session. most of us are waiting for it to settle down.
10:37:07 × lambdabot quits (~lambdabot@haskell/bot/lambdabot) (Ping timeout: 256 seconds)
10:38:15 × vanvik quits (~vanvik@78.156.12.223) (Ping timeout: 256 seconds)
10:38:15 vanvik2 is now known as vanvik
10:38:58 <geekosaur> as for waymonad, you probably want https://github.com/L-as/waymonad as the most recently maintained one, but it is a few months out of date (but we don't update that often either if we're being honest)
10:39:25 lambdabot joins (~lambdabot@haskell/bot/lambdabot)
10:40:29 <geekosaur> xmonad is kind of difficult to do in wayland and last I'd heard waymonad had hit an impasse of sorts and may need a complete redesign to get past it
10:48:14 <Las[m]> yep that's basically it
10:49:02 <Las[m]> It's basically necessary to redo 90% of the code.
10:49:02 <Las[m]> I will probably do it one day when I stop procrastinating.
10:52:03 <liskin> Las[m]: is there a writeup of what the problem is somewhere?
10:52:42 liskin 's time/procrastionation situation isn't much better but still curious :-)
10:54:10 <geekosaur> I found one at one point
10:54:32 <Las[m]> I had one but I lost it!
10:54:43 <liskin> :-D
10:54:49 <Las[m]> There are a lot of problems, but a big one is that wlroots has basically changed a huge amount.
10:55:03 <Las[m]> The current bindings were made ad-hoc, and are neither type safe nor thread safe.
10:55:32 <Las[m]> Waymonad without -threaded isn't very useful.
10:56:32 <geekosaur> mm, there's a fair amount of stuff just in the readme
10:56:42 <geekosaur> after "contributing"
10:56:49 <liskin> well at least it'd keep the xmonad tradition of -threaded being a can of worms :-D
10:57:00 <Las[m]> The bindings should optimally be automatically be generated from the C headers, and should ensure that the calls into wlroots are always done from the safe thread too.
10:57:23 <Las[m]> I assume that's because XMonad also uses non-thread-safe C libraries?
10:57:33 <geekosaur> Xlib isn't thread safe
10:57:51 <geekosaur> and redesigning for xcb would break pretty much everything :(
10:58:02 <liskin> Xlib can be thread safe probably but would need to be used a bit differently
10:58:17 <liskin> xmobar does it
10:58:17 <Las[m]> Yeah, there's a standard trick to fix that AFAICT, you just have a dedicated Haskell thread that acts as a proxy.
10:58:26 <geekosaur> you can make a call to enable thread safety but it throws everything behind a global lock anbd slows everything down
10:58:27 <Las[m]> So any "call" to the Haskell function will do some STM stuff to communicate with the Haskell thread to get it to do it.
10:58:42 <Las[m]> that's true
10:58:51 <geekosaur> in any case the current xmonad design only uses threads in a very limited fashion
10:59:12 <geekosaur> since a bigger problem with threadedness is xmonad's state can't sanely be passed between threads
10:59:20 <Las[m]> It's a hard problem
10:59:26 <Las[m]> And performance is important because it's critical for e.g. battery life
11:05:37 <liskin> it's not that critical for xmonad fortunately, because the X server and the compositor run in separate processes :-)
11:06:03 <liskin> still, it would be nice if you could kick off a thread and have it communicate with the main X monad loop
11:06:33 <liskin> or at least make safe Xlib calls
11:06:56 <liskin> (but then, doing this would be fairly easy, and if there was a real need for it it'd be done by now)
11:13:14 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3)
11:33:16 × de-vri-es quits (~de-vri-es@voyager.de-vri.es) (Quit: Bathrobe!)
11:33:46 de-vri-es joins (~de-vri-es@voyager.de-vri.es)
12:02:44 mvk joins (~mvk@2607:fea8:5cdc:bf00::a2bf)
12:11:37 × sogens quits (~sogens@pa49-182-138-25.pa.qld.optusnet.com.au) (Ping timeout: 240 seconds)
12:13:45 sogens joins (~sogens@pa49-197-169-154.pa.qld.optusnet.com.au)
12:21:16 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
13:01:39 denbrahe[m] is now known as denbrahe
13:04:35 × denbrahe quits (~denbrahem@2001:470:69fc:105::19c0) (Quit: Reconnecting)
13:30:54 × catman quits (~catman@user/catman) (Ping timeout: 250 seconds)
13:48:25 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3)
14:00:22 catman joins (~catman@user/catman)
14:11:34 × noex quits (~null@user/noex) (Quit: :q!)
14:11:59 noex joins (~null@user/noex)
15:29:01 seschwar joins (~seschwar@user/seschwar)
15:42:17 edun is now known as qbt
15:50:55 × dirtcastle quits (~dirtcastl@103.43.203.227) (Remote host closed the connection)
15:55:00 × Ocelot quits (~ocelot@50-78-208-189-static.hfc.comcastbusiness.net) (Remote host closed the connection)
16:04:46 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.3)
16:26:20 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
16:28:02 geekosaur joins (~geekosaur@xmonad/geekosaur)
17:09:21 jao joins (~jao@static-68-235-44-73.cust.tzulo.com)
18:00:12 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
18:02:07 geekosaur joins (~geekosaur@xmonad/geekosaur)
18:36:51 × noex quits (~null@user/noex) (Quit: :q!)
18:37:29 noex joins (~null@user/noex)
19:02:57 × qbt quits (~qbt@user/edun) (Quit: Leaving.)
20:40:40 arjun joins (~arjun@user/arjun)
20:40:59 <arjun> hi all
20:41:03 denbrahe joins (~denbrahe@2001:470:69fc:105::19c0)
20:41:12 <arjun> just shifted to xmonad
20:41:27 <arjun> how do i split panes IN a tabbed layout?
20:43:02 GooseYArd joins (~GooseYArd@70.123.32.124)
20:46:12 <geekosaur> the simple tabbed layout doesn't have panes. you can use `addTabs` to add tabs to a layout with panes instead of a full-screen layout, though
20:53:27 <geekosaur> replace `simpleTabbed` with `addTabs shrinkText def (Tall 1 (3/100) (1/2))` or something like that (substitute your preferred layout for Tall)
20:53:42 <GooseYArd> weird random question, I unfortunately need to use Ciscos Webex Linux app, and it has this goofy effect for popup windows where it draws a second solid black window, which is meant to be behind another window with the actual content I want to see, like replying to a thread. I think its meant to look like a drop-shadow effect, but when using it
20:53:43 <GooseYArd> under Xmonad, the black window floats directly overtop of the window I want and has to be dragged out of the way every time. I tried poking around with xprops to see if the black window had some class value that I could match on to try to get rid of it, but no dice. Anyone know if there's a setting I could change to adjust how floating transient
20:53:43 <GooseYArd> windows are stacked?
20:54:33 <geekosaur> not really. we don't handle floating windows well, I'm afraid
20:55:51 <GooseYArd> ok, I'm going to see if I can hassle Cisco into eliminating the useless second window
20:56:10 <GooseYArd> it looks cheesy, if nothing else :)
21:17:29 <arjun> geekosaur, i did that, how do i tab it now? (key combo)?
21:18:08 <geekosaur> hm. I don't think tabs can be activated with keys, aside from the usual mod-j/mod-k
21:18:29 <geekosaur> tabs are clickable alternatives to mod-j/k
21:18:57 <arjun> 'addTabs shrinkText def (Tall 1 (3/100) (1/2))'
21:19:03 <arjun> this has no tabs?
21:19:53 <arjun> seems to behave like a regular Tall
21:20:04 <arjun> am i missing something?
21:22:32 <geekosaur> how many windows do you have open? I think it needs minimum two in that workspace before it shows tabs
21:23:03 <geekosaur> try addTabsAlways instead of addTabs if that's not what you want
21:25:35 <arjun> 3-4?
21:25:46 <arjun> lemme try the other one, hang on
21:26:28 <geekosaur> hm. lemme poke
21:27:11 <arjun> no tabs : |
21:28:33 <arjun> https://pastebin.com/Rf4Hwr7H
21:28:49 <arjun> this is it right geekosaur ?
21:30:09 <geekosaur> works here. oh,m are you on xmonad 0.15? you may have to override the font or install misc-fixed from your package manager
21:30:41 <arjun> xmonad 0.17.0.9
21:30:55 <geekosaur> and yes, that's right although it could be simplified since I didin't know if you had the `tiled` definition already or not
21:31:13 <geekosaur> huh. no tabs suggests a font problem but 0.17 should use the correct font already
21:31:26 <arjun> simpleTabbed works just fine
21:31:42 <arjun> so does simpleTabbedRight
21:32:01 <geekosaur> mm, right. then I'm not sure what would be wrong. I put that definition in my config and I get tabs
21:32:56 <geekosaur> o.O the tabs behave a bit strangely though, more like titlebars
21:33:54 <arjun> hmm. weird
21:33:57 <arjun> i'll check it out
21:34:12 <arjun> if the config is fine and works for you, should work for me
21:34:56 × jao quits (~jao@static-68-235-44-73.cust.tzulo.com) (Ping timeout: 250 seconds)
21:35:02 <arjun> thanks for the tutorial on xmonad.org by the way
21:35:11 <arjun> i remember seeing your name there : )
21:35:31 <geekosaur> it's not mine actually
21:35:47 <arjun> sure, but you're here now
21:35:57 <geekosaur> I think we're all listed in it but iirc it's Solid's
21:36:19 <arjun> yea, my config is just expanding on it
21:36:50 <arjun> i really liked how i3 could switch entire layouts in tabs
21:37:24 jao joins (~jao@static-68-235-44-10.cust.tzulo.com)
21:41:00 <geekosaur> https://imgur.com/oODVfYI fwiw
21:42:36 <arjun> wanna switch machines? :troll
21:43:08 <arjun> also, if that screen was any wider, it'd need it's own country code lol
21:43:38 <geekosaur> actually the first screen is a normal 1080p monitor. the other's my laptop display
21:44:15 <arjun> same as mine, sweet
21:44:29 <arjun> how'd ya screenshot them like 1 big screen like this?
21:44:35 <geekosaur> scrot
21:44:56 <arjun> ah, i see
21:45:22 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L166
21:46:14 <geekosaur> (that oen doesn't iinclude the addTabs I dropped in locally without committing. if you expand the right half a bit I show that snippet from my xmonad.hs
21:46:16 <geekosaur> )
21:46:27 <arjun> thanks for the link
21:46:43 <arjun> imma rip off your config so bad lmao
21:47:44 <geekosaur> hm. you didn't get tabs… did the layout act like fullscreen or a normal Tall layout?
21:48:54 <arjun> just like it would if i never called addTabs or the always variant
21:49:06 <arjun> i guess i'll just shutdown and try tomorrow
21:49:17 <arjun> heck, the shutdown might even fix it xD
21:50:46 × arjun quits (~arjun@user/arjun) (Remote host closed the connection)
21:51:08 <geekosaur> well, at least you confirm the layout isn't simply aborting
21:51:18 <geekosaur> which leaves me wondering what;s wrong
21:51:37 <geekosaur> just for grins and giggles, try hitting mod-shift-space
22:26:42 × chomwitt quits (~chomwitt@2a02:587:dc16:6e00:12c3:7bff:fe6d:d374) (Remote host closed the connection)
23:06:11 <geekosaur> @tell arjun just for grins and giggles, try hitting mod-shift-space
23:06:11 <lambdabot> Consider it noted.
23:07:41 <Benzi-Junior> hey, I'm having a little problem with xmobar under debian, when I try to build with a xmobar.hs config it doesnt find the module xmobar
23:12:21 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
23:20:45 <Benzi-Junior> any ideas ?
23:25:09 <Benzi-Junior> nvm the issue is that under debian xmobar is seperate from the xmobar libs and there is no dependency between them
23:27:16 <Benzi-Junior> humm or not
23:27:23 <Benzi-Junior> that didn't solve the issue
23:29:54 × seschwar quits (~seschwar@user/seschwar) (Quit: :wq)

All times are in UTC on 2022-01-27.