Home liberachat/#xmonad: Logs Calendar

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

00:09:29 × zawaken quits (~zawaken@user/zawaken) (Quit: ZNC 1.9.x-nightly-20220808-32d4a4d5 - https://znc.in)
00:18:02 mvk joins (~mvk@2607:fea8:5ce3:8500::a1ec)
00:26:43 zawaken joins (~zawaken@user/zawaken)
00:35:01 × zawaken quits (~zawaken@user/zawaken) (Remote host closed the connection)
00:37:11 zawaken joins (~zawaken@user/zawaken)
00:51:58 <geekosaur> re spawnPipe and throwing the result away, there is a common misunderstanding that that means xmonad will track the spawned program and kill it on restart
00:52:19 <geekosaur> the truth is the *pipe* does that, so throwing the pipe away defeats it
00:56:39 × sogens quits (~sogens@211.30.173.20) (Quit: WeeChat 3.5)
02:03:34 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 268 seconds)
02:24:48 banc joins (banc@gateway/vpn/airvpn/banc)
02:28:51 × td_ quits (~td@muedsl-82-207-238-051.citykom.de) (Ping timeout: 268 seconds)
02:30:35 td_ joins (~td@94.134.91.250)
02:51:42 × mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 264 seconds)
02:53:12 mvk joins (~mvk@2607:fea8:5ce3:8500::a1ec)
03:09:19 sogens joins (~sogens@211.30.173.20)
03:18:02 Alok[m] uploaded an image: (64KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/EGPNeZNnMGhJUdpWIogFbjKX/image.png >
03:18:10 <Alok[m]> Audio keys are working fine, but the brightness ones aren't
03:18:18 <Alok[m]> Using EzConfig
03:18:20 noex joins (~null@user/noex)
03:53:15 <jao> Alok[m], in my config, i have "<XF86BrightnessUp>" (withouth the Kb)
03:58:54 <Alok[m]> Nop, doesn't work
04:11:40 × mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 244 seconds)
04:23:23 <Solid> Alok[m]: try >XF86MonBrightnessUp> and <XF86MonBrightnessDown> perhaps
04:24:25 <Alok[m]> Solid: yay it works, Thanks
04:24:57 <Alok[m]> Mon is for fn keys ig and kbd for keyboards with dedicated brightness keys
04:25:04 <Alok[m]> * `Mon` is for fn keys ig and `kbd` for keyboards with dedicated brightness keys
04:32:53 thunderrd joins (~thunderrd@183.182.110.20)
04:48:04 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 268 seconds)
05:07:33 xmonadgood joins (~xmonadgoo@42.107.80.24)
05:07:57 <xmonadgood> geekosaur I want to create a submap like:
05:11:21 <xmonadgood> Moving focus to a workspace: "M-o a"(moves focus to workspace 1), "M-o b"(moves focus to workspace 2)...
05:11:22 <xmonadgood> Moving windows to a workspace: "M-o m a"(moves the focused window as well as a window as well as the focus to workspace a), "M-o m b"....
05:16:21 × thunderrd quits (~thunderrd@183.182.110.20) (Ping timeout: 252 seconds)
05:17:40 <xmonadgood> anyone?
05:29:58 × xmonadgood quits (~xmonadgoo@42.107.80.24) (Ping timeout: 252 seconds)
05:39:20 thunderrd joins (~thunderrd@183.182.110.20)
05:58:30 <isaacthekind[m]> hey sorry i don't wanna cut you off, so maybe after ppl answer you they can address this. i really love the way this guy has set up a blue highlight bar as opposed to a full window highlight. i notice this is like over 5 years old though, and the repo has not been updated. i'm just wondering if maybe something has been implemented in recent years that will allow me to get this kind of behavior without having to make the bar from
05:58:30 <isaacthekind[m]> scratch.
05:58:30 <isaacthekind[m]> https://www.youtube.com/watch?v=70IxjLEmomg
06:02:25 <Solid> Lears once implemented this as a decoration style, but it never made its way into contrib
06:02:33 <Solid> you can find it here: https://github.com/xmonad/xmonad/issues/152#issuecomment-362716434
06:02:56 qbt joins (~qbt@user/edun)
06:03:01 Solid is thinking maybe we should just make it into a proper module; enough people have been requesting it lately
06:08:39 <zim0369[m]1> > <@isaacthekind:matrix.org> hey sorry i don't wanna cut you off, so maybe after ppl answer you they can address this. i really love the way this guy has set up a blue highlight bar as opposed to a full window highlight. i notice this is like over 5 years old though, and the repo has not been updated. i'm just... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/43dd6f7fc87793c8170b38766b7e6d6a62a7cd53)
06:08:41 <lambdabot> <hint>:1:1: error: parse error on input ‘<@’
06:09:23 <zim0369[m]1> isaacthekind: https://github.com/zim0369/dots/blob/main/config/xmonad/xmonad.hs
06:10:06 <zim0369[m]1> At the bottom there's a highlight bar section. and there are imports related to it at the top. Then apply myDecorate on your layout as in myLayout in my config
06:11:15 <isaacthekind[m]> > * <@Solid:libera.chat> is thinking maybe we should just make it into a proper module; enough people have been requesting it lately
06:11:15 <isaacthekind[m]> plz!
06:11:16 <lambdabot> <hint>:1:1: error: parse error on input ‘*’
06:11:29 <isaacthekind[m]> zim0369[m]1: perfect, i'm gonna try this, thank you
06:11:38 <isaacthekind[m]> ahh i see it there, it's similar to what solid sent
06:11:48 <isaacthekind[m]> awesome thank you both
06:20:50 × noex quits (~null@user/noex) (Ping timeout: 244 seconds)
06:22:35 noex joins (~null@user/noex)
06:26:38 <Hash> I'm kind of getting tired of having to use/rely on kde panels
06:27:07 <Hash> What panel do you use that doesn't have any gtk/qt or whatever silly depenendyc and has a full menu, app switcher, virtual desktop switcher, systray, etc.
06:27:45 <Hash> Oh that works with mouse.
06:28:43 <quarkQuark[m]111> <xmonadgood> "geekosaur I want to create a..." <- If you're using XMonad.Util.EZConfig, at least, you can define these in exactly the same way as normal keybindings
06:28:49 <Solid> sounds like you want a GUI panel without a GUI dependency
06:28:54 <Solid> probably going to be quite difficult to find
06:29:06 <Hash> There are some that use xlib only
06:30:20 <Solid> I reckon people are tired of writing stuff so low level when toolkits do it as well, but better
06:30:54 <Solid> and, I mean, it's not like you're not going to have GTK and QT installed anyways
06:31:10 <quarkQuark[m]111> Have you tried Tint2? Feels a bit hacky to use with XMonad but IIRC it might fit your requirements
06:31:16 <Hash> Yes, but I don't want to have to use KDE panels and well I use KDE and hate GTK
06:31:34 <Hash> Because I'd have to maintain a silly bugfix from KDE that makes it work with Xmonad
06:31:46 <Hash> and if moving from Ubuntu LTS to opensuse tumbleweed
06:32:00 <Hash> It will be hard to maintain and I'll have to patch a lot, as it's a rolling release.
06:32:16 <Hash> KDE really screwed us Xmonad people over, man.
06:32:18 <Hash> :(
06:34:34 <quarkQuark[m]111> You also might want to look into jgmenu
06:36:39 <isaacthekind[m]> also, do we have a crypto tracker.
06:36:50 <isaacthekind[m]> like if i want a little ticker in my xmobar that gives me the current price of ADA
06:37:05 <Hash> I do
06:37:10 <Hash> han gon
06:37:17 <isaacthekind[m]> yussss
06:37:18 <isaacthekind[m]> thank you
06:37:25 <isaacthekind[m]> i love this chat haha
06:37:33 <Hash> https://i.imgur.com/jl6HcWU.png
06:37:35 <Hash> like this?
06:38:11 <isaacthekind[m]> that looks like it's showing your total amount or smth?
06:38:26 <isaacthekind[m]> i was picturing something that can give me the current price in USD or ideally CAD
06:38:55 <isaacthekind[m]> i like that you even added the symbol
06:40:23 <Hash> cat bin/btcticker; #!/bin/bash\ncurl --silent --compressed https://api.bitcointicker.co/trades/coinbase/btcusd/60/ | jq 'reverse' | jq '.[0]["price"]' | sed 's/"//g';
06:40:38 <Hash> Put something like that wherever you want
06:40:56 <Hash> Run Com "/home/stoned/bin/btcticker" [""] "btcticker" 300,
06:41:00 <Hash> Then just run it in xmobar
06:41:02 <isaacthekind[m]> ohhh
06:41:02 <isaacthekind[m]> ok wait can you clarify this
06:41:05 <isaacthekind[m]> is the 0 quantity
06:41:11 <Hash> I forgot.
06:41:20 <Hash> No It's just whatever api you want t use
06:41:28 <Hash> I use those guy, I reverse the shit and get the 0
06:41:29 <isaacthekind[m]> ok, i'm going to try to get this set up, i just am tripping out about one thing here tho
06:41:30 <Hash> meaning the latest
06:41:39 <Hash> cuz their data was like, oldest, then something, If orgot.
06:41:43 <Hash> I don't know I was high.
06:41:58 <isaacthekind[m]> hahahah
06:42:07 <isaacthekind[m]> cardano, cannabis, this guy is like me
06:42:19 <isaacthekind[m]> next thing i know you'll say you're ripping a volcano with obsidian or smth
06:42:23 <isaacthekind[m]> but yeah back to xmonad
06:42:25 isaacthekind[m] uploaded an image: (3KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/vRhREWIdcwIegntLvDFYVXtG/image.png >
06:42:40 <isaacthekind[m]> is that btc price there beside ada icon?
06:42:55 <isaacthekind[m]> i'm just confused why the price is so high, ada is like 50 cents
06:43:17 <Hash> \o/
06:43:41 <Hash> You're gonna have to find an api, query it with whatever, get your data, make sure yoru script/command works, then run it from xmobar
06:44:11 <Hash> it reads it from stdin and puts it in the xmobar status bar thing
06:44:26 <isaacthekind[m]> but my question is what that number is
06:44:28 <Hash> your command has to echo out whtever you're wanting to display
06:44:35 <Hash> I can't help you with the api man.
06:44:45 <Hash> You're gonna have to figure oout yoru coin, your api how to use it.
06:44:54 <Hash> I just use these guys for my bitcoin ticker
06:45:12 <isaacthekind[m]> yeah i just got a bit confused, i see this api is for btc
06:45:13 <Hash> 0 is the first element in the json arrayh
06:45:14 chomwitt joins (~chomwitt@2a02:587:dc15:5e00:4394:5e3a:258b:d8da)
06:45:28 <isaacthekind[m]> i was tripped out by the btc price beside the ada symbol
06:45:39 <Hash> Since when you get the json array, oldest items are at top, newest items at are bottom
06:45:42 <Hash> by items I mean prices
06:45:50 <isaacthekind[m]> yeah of course
06:45:53 <isaacthekind[m]> makes sense
06:45:54 <Hash> so its an arbitrary # of items
06:45:58 <Hash> I didn't want to have to coutn and all that
06:46:09 <Hash> so I just reverse it, so latest data is on top, and grab the 0th element
06:46:12 <Hash> latest price
06:46:23 <isaacthekind[m]> right
06:46:38 <isaacthekind[m]> ok i'm gonna try to implement something like this, thank you!
06:47:05 <Hash> Sure man
06:47:25 <Hash> I'm just wasting time on stupid things. I'll just continue using KDE I guess.
06:47:32 <Hash> For now*
06:47:48 × thunderrd quits (~thunderrd@183.182.110.20) (Remote host closed the connection)
06:48:05 <isaacthekind[m]> i refuse to return to kde
06:48:12 <Hash> Not the desktop.
06:48:20 <Hash> Just the panels.
06:48:22 <Hash> They are nice.
06:48:41 <Hash> Also, if I just load the Xmonad session and start kde apps or anything, they're not styled
06:48:48 <Hash> all appears crazy and horrible.
06:49:05 <Hash> Which is weird, because the settings are there, but dont' take effect unti you start kde services
06:49:17 <Hash> so if you use kde apps outsdie kde, they'll pretty much look like crap
06:49:20 <Hash> unless i'm wrong.
06:50:59 <Hash> Mioght check out trinity desktop env.
06:51:09 <Hash> kicker was my favorite panel ever, kde 3.5.10
06:52:14 <Hash> I'm going to try enlightenment w/ xmonad in a vm
06:54:17 <Hash> https://www.bodhilinux.com/ this hasn't been updaed to 22 yet
06:54:59 <Hash> Moksha is a continuation of the Enlightenment 17 desktop. but I wonder if like how the new enlightenment is differnent from e17 from moksha
07:41:13 <quarkQuark[m]111> <Hash> "so if you use kde apps outsdie..." <- Does setting QT_STYLE_OVERRIDE help? https://wiki.archlinux.org/title/Qt#Styles_in_Qt_5
07:45:47 <Alok[m]> Hello, I want to remove the border if only one window is open, how can I do that?
07:45:47 <Alok[m]> https://batbin.me/stoppel here's my xmonad config
07:51:00 <Alok[m]> > <@alok8bb:matrix.org> Hello, I want to remove the border if only one window is open, how can I do that?
07:51:00 <Alok[m]> > https://batbin.me/stoppel here's my xmonad config
07:51:00 <Alok[m]> adding `smartBorders` $ tiled ||| .....
07:51:00 <Alok[m]> is the right way?
07:51:02 <lambdabot> <hint>:1:1: error: parse error on input ‘<@’
07:51:02 <lambdabot> error: Variable not in scope: httpserror:
07:51:02 <lambdabot> • Data constructor not in scope: (://) :: t0 -> (a0 -> c0) -> t
07:51:02 <lambdabot> • Perhaps you meant variable ‘//’ (imported from Data.Array)error: Varia...
07:52:16 <Solid> Alok[m]: yes
07:53:10 <Alok[m]> Solid: And how about gaps? I would want same gaps around every window. I tried to set gaps yesterday but then bar's behavior broke.
07:55:19 <Solid> broke in what way?
07:56:55 <Alok[m]> Solid: When hiding bar, the windows overlapped it but bar didn't hide
07:58:20 <Solid> "Hiding" the bar via the xmonad keybinding is just telling windows to ignore there's a bar; since gaps are "part of the window", this is to be expected
07:58:50 <Solid> you can either also disable gaps when hiding the bar, or tell the bar itself to properly hide itself (afaik xmobar can do that via dbus)
08:00:13 <Alok[m]> or just don't use gaps 😂
08:00:28 <Solid> or that, yes; waste of screen space anyways :)
08:04:57 <Alok[m]> are there any default keybindings for resizing a floating window with keyboard?
08:06:01 <Solid> I don't think so, no
08:14:17 thunderrd joins (~thunderrd@183.182.110.20)
09:05:09 × noex quits (~null@user/noex) (Remote host closed the connection)
09:06:29 noex joins (~null@user/noex)
09:38:17 benin0 joins (~benin@183.82.206.125)
12:13:13 × zawaken quits (~zawaken@user/zawaken) (Quit: ZNC 1.9.x-nightly-20220808-32d4a4d5 - https://znc.in)
12:15:02 zawaken joins (~zawaken@user/zawaken)
12:15:12 × zawaken quits (~zawaken@user/zawaken) (Client Quit)
12:18:12 zawaken joins (~zawaken@user/zawaken)
12:47:50 × defjam quits (~eb0t@33bb4bbf.skybroadband.com) (Ping timeout: 244 seconds)
12:49:47 defjam joins (~eb0t@33b77162.skybroadband.com)
12:58:56 <xmonadtrack> New xmonad-contrib branch created: pull/742 (1 commit) https://github.com/xmonad/xmonad-contrib/pull/742
12:58:56 <xmonadtrack> xmonad-contrib Tony Zorman https://github.com/xmonad/xmonad-contrib/pull/742 * v0.17.0-215-gbcda2961: New module: XMonad.Layout.SideBorderDecoration (6 hours ago, 3 files, 130+ 0-) https://github.com/xmonad/xmonad-contrib/commit/bcda29610888
13:51:47 <geekosaur> re moving and resizing floating windows: https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Actions-FloatKeys.html
13:52:31 <geekosaur> Alok[m], ^
14:12:08 steve_ joins (~steve@ool-182c2b80.dyn.optonline.net)
14:51:27 bubbler joins (~bubbler@2a02:810d:8cc0:3fa0:28f1:2f9d:d0e4:6494)
16:00:42 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
17:07:42 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
17:20:14 banc- joins (banc@gateway/vpn/airvpn/banc)
17:21:03 × catman quits (~catman@user/catman) (Ping timeout: 268 seconds)
17:21:59 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 252 seconds)
17:22:29 catman joins (~catman@user/catman)
17:40:38 × benin0 quits (~benin@183.82.206.125) (Quit: The Lounge - https://thelounge.chat)
17:44:27 × catman quits (~catman@user/catman) (Ping timeout: 268 seconds)
17:46:00 catman joins (~catman@user/catman)
17:52:01 × catman quits (~catman@user/catman) (Quit: WeeChat 3.6)
18:01:03 × noex quits (~null@user/noex) (Quit: :q!)
18:07:48 vreahli joins (~vreahli@2601:647:5700:1380:7900:ab45:4951:dbee)
18:11:59 catman joins (~catman@user/catman)
18:24:28 × qbt quits (~qbt@user/edun) (Quit: WeeChat 3.5)
18:35:22 × vreahli quits (~vreahli@2601:647:5700:1380:7900:ab45:4951:dbee) (Ping timeout: 252 seconds)
19:58:04 noex joins (~null@user/noex)
21:42:41 <isaacthekind[m]> are there a plans to make xmonad compatible with wayland?
21:50:54 <geekosaur> xmonad itself, or any other X11 window manager, can't be. there are vague plans for an xmonad-alike for wayland but none of us can write it because we don't know wayland
21:51:07 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
21:52:42 <geekosaur> in the meantime you can use sway, or if you're willing to accept the occasional crash see https://github.com/L-as/waymonad
21:53:17 <geekosaur> (wayland window managers are compositor plugins, or must come with compositors to plug themselves into)
22:03:25 <isaacthekind[m]> not for me personally, i'm just curious if there are plans to move. i'm under the impression that wayland has a lot of advantages over x11
22:05:31 <geekosaur> it also has a bunch of disadvantages though. it's crashy still, it still doesn't handle multiple monitors even as well as x11 does (even though it has the potential to do better), etc.
22:06:49 <geekosaur> if an x11 component wigs out you can restart it. if something connected to the compositor wigs out your whole session is toast
22:09:16 <geekosaur> it still handles the case of an internal standard res monitor and an external 4k monitor worse than x11, even though it should be better
22:12:08 <geekosaur> red hat was forced by its customers to commit to x11 support through 2030 because they rejected wayland
22:18:38 <geekosaur> anyway, it's on the list, there isn't a lot of rush for it though
22:19:32 <geekosaur> we'll probably have to pay someone to write it given the compositor situation in wayland (that is, that we would have to provide our own and the compositor is effectively the equivalent of an X11 server)
22:22:28 <geekosaur> the current waymonad uses sway's compositor, which is a poor fit and leads to it being unstable
22:23:11 <geekosaur> especially since sway makes no promises about api/abi stability of wlroots for uses other than sway itself
22:29:24 <isaacthekind[m]> hmm ok i didn't realize there were trade offs, i thought basically that wayland was just the new thing
22:29:32 <isaacthekind[m]> good points
22:36:56 × noex quits (~null@user/noex) (Ping timeout: 255 seconds)
22:38:22 noex joins (~null@user/noex)
22:44:20 <geekosaur> personally I'm still waiting for RH to find itself between a rock and a hard place
22:44:47 <geekosaur> its customers are still pissed that it forced them over to systemd when it wasn't stable
22:45:05 <geekosaur> they're not sitting still for the same with wayland
22:45:24 <geekosaur> but the gnome devs (who de facto are the wayland devs) keep trying to desupport x11
22:46:23 <geekosaur> I suspect they're going to lose some major customers before it gets through that they mean it
22:49:44 × chomwitt quits (~chomwitt@2a02:587:dc15:5e00:4394:5e3a:258b:d8da) (Ping timeout: 268 seconds)
23:47:27 vreahli joins (~vreahli@2601:647:5700:1380::59e1)
23:50:20 vreahli10 joins (~vreahli@2601:647:5700:1380:7900:ab45:4951:dbee)
23:51:42 <vreahli10> Heya - I finished compiling xmonad a few hours ago, but after adding it to .xinitrc it runs, the process dies (somewhere), and Xorg stays running. Any ideas on troubleshooting or what to check?
23:55:32 <geekosaur[m]> What does your .xinitrc look like?
23:58:15 <vreahli> Currently: https://gist.github.com/vreahli/a89b54a6f343cca75636f4d75ca40a5c - ending with `exec xmonad`

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