ChanServ changed the topic of #river to: river - a dynamic tiling Wayland compositor || https://codeberg.org/river/river || channel logs: https://libera.irclog.whitequark.org/river/
mtm has quit [Ping timeout: 248 seconds]
mtm has joined #river
lordmzte4 has joined #river
lordmzte has quit [Ping timeout: 245 seconds]
lordmzte4 is now known as lordmzte
<gbrlsnchs> Momentum: adding to the convo, I use sv (runsv, runsvdir) to run my local services, it's pretty minimal and easy to set up
yiyu75 has joined #river
andyrtr has quit [Quit: ZNC 1.9.1 - https://znc.in]
andyrtr has joined #river
Guest23 has joined #river
Guest23 has quit [Client Quit]
yiyu75 has quit [Ping timeout: 256 seconds]
angry_vincent has joined #river
waleee has quit [Ping timeout: 252 seconds]
eShaev9z has joined #river
eShaev9z_ has quit [Ping timeout: 248 seconds]
Palanix_ has joined #river
Palanix has quit [Ping timeout: 272 seconds]
Palanix_ is now known as Palanix
Guest10 has joined #river
Guest10 has quit [Client Quit]
leopoldek has quit [Remote host closed the connection]
Den4ikRus has joined #river
alexherbo2 has joined #river
<Momentum> gbrlsnchs: Interesting. Can that coexist with systemd?
isonat has joined #river
isonat has quit [Quit: Client closed]
<ninewise> Momentum, you can run it as systemd service, yes.
ninewise has quit [Remote host closed the connection]
ninewise has joined #river
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #river
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #river
alexherbo2 has quit [Remote host closed the connection]
waleee has joined #river
TheAnachron has joined #river
<Den4ikRus> how do I debug river, I get no errors and it won't start
<TheAnachron> How are you trying to start river? is seatd running?
<TheAnachron> what happens when you redirect stdout and stderr into a file?
<Den4ikRus> I figured it out
<Den4ikRus> I was missing xwayland
<Den4ikRus> got it running
<TheAnachron> ah, neat. :)
<TheAnachron> leon-p this is your reminder to tag a new version of wayprompt ;)
<TheAnachron> today I actually had to uncomment the "all-tags" mapping as I needed it (video that follows me everywhere)
waleee has quit [Ping timeout: 264 seconds]
Guest30 has joined #river
Guest30 has quit [Client Quit]
leopoldek has joined #river
leopoldek has quit [Remote host closed the connection]
sm222 has joined #river
<TheAnachron> Question: When I put a window with all tags on fullscreen and switch to a different tag, is there a logic how to tell river to automatically de-fullscreen the alltagged window?
kotto has joined #river
siaal has quit [Quit: ZNC - https://znc.in]
siaal has joined #river
sm222 has quit [Ping timeout: 248 seconds]
<leon-p> TheAnachron: I'll get to it in a moment
sm222 has joined #river
<leon-p> there you go
<leon-p> kinda wondering if I should collect all the various UI code I write (especially the stuff from the last two weeks) into a micro-toolkit library. Would add one step for packaging / installing my tools, but I copy-paste the same code so often it may be worth it. Not sure yet. I have like five projects that could make use of that.
<leon-p> if I add the shm buffer stuff, a generic wayland event loop and maybe a theme parser it could be quite neat
<gbrlsnchs> Momentum: yes, you can run it as a regular user, it will not conflict with systemd in any way
waleee has joined #river
talismanick has quit [Remote host closed the connection]
sm222 has quit [Read error: Connection reset by peer]
leopoldek has joined #river
<Momentum> Thank you!
alexherbo2 has joined #river
<TheAnachron> leon-p that sounds like a smart idea (the shared repo)
<TheAnachron> leon-p and thanks for the tag! :)
<TheAnachron> is there currently any good way how to handle backlight via a script on Wayland (wlroots)? The only thing working so far is ddcutil which takes 2 seconds to fetch the brightness and another 2 to set it.
angry_vincent has quit [Ping timeout: 246 seconds]
sm222 has joined #river
<leon-p> TheAnachron: should be somewhere in /sys/class/backlight, if you want to roll your own; But I am reasonably happy with the one called `light`
<TheAnachron> yeah that only got the backlight of my desktop panel, not of my HDMI connected display.
<leon-p> ah yeah, just daw the "DDC"
<leon-p> IIRC the necessary driver wiring the DDC stuff into the backlight handling of the kernel is not merged
<TheAnachron> daw?
<leon-p> ?
<TheAnachron> what do you mean with "daw" the DDC?
<leon-p> s/daw/saw/
<TheAnachron> I am thinking about writing a temporary cache on the computer to not need to request the display brightness from it, but that means reading the value is not always correct (delay of 2 seconds)
<leon-p> the DDC thing is quite a shame, because you can change a lot of settings of external displays with them
<TheAnachron> The biggest issue however stays: Seeing the lightning changes takes around 2 seconds, which is bad for key binding
<leon-p> but the driver is stuck in unmerged limbo
<leon-p> I wanted to control backlights of external screens as well a while ago, but I just ended up using the monitors built-in controls since the DDC stuff is a bit painful to use
<leon-p> you know, some monitors even have accelerometers in them, so with a proper driver a wayland server could respond to you turning the screen by changing the output rotation
<leon-p> but that's not the world we live in
<TheAnachron> I wrote my own light script right now.
<TheAnachron> It's just a shame, really. Wayland is much better than X in many cases, but in others its totally lacking basic functionality.
<leon-p> perhaps the delay with ddcutil comes from opening / closing some sort of connection. So you might be able to write a service that keeps all resources open and exposes a simple IPC interface to control external backlight
<gbrlsnchs> Momentum: btw, it's runit, not sv. sv is the command
<TheAnachron> I'll try out https://www.ddcutil.com/performance_options/ first
<TheAnachron> especially the --sleep-multiplier parameter
<TheAnachron> The multiplier did nothing on my monitor. Well, was worth a try. I figured offsets are possible with setvcp, so thats at least neat: https://www.ddcutil.com/command_setvcp/
<Momentum> gbrlsnchs: yeah i figured; since i used voidlinux for a while :D
<gbrlsnchs> Yeah me too lol, I loved runit's simplicity, so I brought it to Gentoo for user services
<TheAnachron> I keep my sanity because I can use runit.
sm222 has quit [Read error: Connection reset by peer]
sm222 has joined #river
<TheAnachron> I just realized my OLED display is so bright I have it on around 10% brightness all the time and on night I even drop it to 7.5%. :D
leopoldek has quit [Remote host closed the connection]
sm222 has quit [Remote host closed the connection]
<leon-p> friendly reminder that sufficient ambient lighting is a better idea to reduce eye strain at night than reducing your screen brightness
<TheAnachron> I am doing it both ways.
<TheAnachron> Actually, triple.
<TheAnachron> I use gammastep to change color temperature and brightness and also have a good local light source
<TheAnachron> Weirdly enough, a one-shot setting of brightness in gammastep doesnt seem to work as it claims no device has such feature, but modifing the config and running gammastep again works.
<TheAnachron> Any idea on how I could solve my issues? I basically am fine with setting something at the display once (like 30%) and then using my local compositor or whatever tool to adjust based on this max brightness.
<leon-p> I know there is also wlsunset for colour temp adjustments. Worked without issue that one time I tried it
<TheAnachron> wlsunset does not seem to support changing the brightness?
alexherbo2 has quit [Remote host closed the connection]
<leon-p> didn't it support executing a custom command? I only looked at it for like ten minutes before discovering that I don't like colour temp adjustment
<TheAnachron> Doesnt look like it: https://man.voidlinux.org/wlsunset
<TheAnachron> got an even weirder issue: My XF86MonBrightness{Up,Down} keys dont spawn (checked with wev). What.
TheAnachron has quit [Remote host closed the connection]
TheAnachron has joined #river
<TheAnachron> ok figured out my XF86MonBrightness issue. The keys were captured by river which was looking at a wrong PATH for that script. TIL those keys are not normally captured via xev/wev then :)
<leon-p> yeah, any key river "eats" is not send to clients
<leon-p> (release events might though)
<TheAnachron> leon-p did you check my comment about a window with all-tags and me wanting to un-fullscreen it when switching to other tags?
<leon-p> I did, but I couldn't tell from memory and didn't have time to look it up
<leon-p> give me a second, I'll check
<TheAnachron> ah right, no problem. I wasn't able to find anything, but maybe I just dont know what to look for.
<leon-p> ah, ok I parsed your question correctly now (easier with coffee). Probably not.
<leon-p> as with all window management issues, it's probably best to wait for the WM protocol.
<TheAnachron> ok, am I trying to do something stupid or is this case just not thought about?
<leon-p> the latter
<TheAnachron> Would it make sense to bring it up for the protocol?
<TheAnachron> Or would it be so high-level that it wouldn't even make sense to talk about such things?
<leon-p> what you want would require per-tag window state, which isn't something river has
<leon-p> the protocol will already support that
<leon-p> given a WM actually implements tags that way, it may not
<leon-p> f.e. I won't spend much time on any fancy workspace or tags code, since these days I basically only ever have like four windows open, but that's beside the point
<TheAnachron> looks like I found another issue, today seems to be a good day for that. PiP works and I can pause in external window, but cant continue in there (other buttons work) and I got to click on it in the original tab. Thanks, firefox?
<TheAnachron> I have at least 8-10 windows open on any day.
<leon-p> maybe also caused by whatever video player that site you are on has. some are ... funky
<leon-p> I have two firefox windows, 1 to 3 emacs windows and an IRC terminal
<TheAnachron> that's my minimal setup. then 2-3 for packaging, 2-3 for outside ssh sessions, pdf reader (zathura), etc. it sums up very fast
<TheAnachron> yeah its yt, it probably tries to mess with PiP.
<leon-p> since switching to emacs and making heavy use of eshell I actually only use a single shell instance globally. That greatly reduced how many windows I have open and despite my initial fears did not impact my productivity at all. It's actually quite nice to close my shell window without losing the session
<TheAnachron> yep, watching it with another YT frontend works as expected. Oh Google. Can't you be nice for once.
<leon-p> TheAnachron: actually wait a bit before doing anything with that wayprompt tag
<leon-p> turns out a hash value was wrong
<leon-p> I did not notice until deleting my global zig cache
<leon-p> quite the footgun...
<leon-p> ok, fixed
<TheAnachron> huh, good thing I dont package things after a certain hour ;) I would've been starting to update my local package template tomorrow morning at earliest
TheAnachron has quit [Quit: TheAnachron]
autisticshark has quit [Remote host closed the connection]
autisticshark has joined #river
leopoldek has joined #river