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/
catman has quit [Quit: WeeChat 4.3.0-dev]
catman has joined #river
waleee has quit [Ping timeout: 268 seconds]
eShaev9z has joined #river
eShaev9z_ has quit [Ping timeout: 268 seconds]
angry_vincent has joined #river
NickH has quit [Ping timeout: 268 seconds]
NickH has joined #river
TheAnachron has joined #river
Guest48 has joined #river
Guest48 has quit [Quit: Client closed]
leopoldek has quit [Remote host closed the connection]
lbia has quit [Ping timeout: 252 seconds]
hmht has joined #river
osaut has joined #river
sadome has joined #river
sadome has joined #river
sadome has quit [Excess Flood]
osaut has quit [Ping timeout: 268 seconds]
osaut has joined #river
mohan43u has joined #river
osaut has quit [Ping timeout: 255 seconds]
osaut has joined #river
Szadek0 has joined #river
Szadek has quit [Ping timeout: 264 seconds]
Szadek0 is now known as Szadek
Franciman has quit [Ping timeout: 255 seconds]
lbia has joined #river
hspak has quit [Read error: Connection reset by peer]
hspak has joined #river
alexherbo2 has joined #river
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #river
<ifreund> pushed some naming tweaks and documentation improvements to the river-xkb-keybinds-v1 draft
mohan43u has quit [Quit: WeeChat 4.2.2]
mohan43u has joined #river
waleee has joined #river
osaut has quit [Ping timeout: 268 seconds]
osaut has joined #river
cydox has joined #river
osaut has quit [Quit: WeeChat 4.3.0]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #river
ThatGuestAgain has joined #river
<ThatGuestAgain> ifreund You still have "default state" on line 99, and I still have questions :)
<ThatGuestAgain> If the modifiers for release are checked on press, what about the mode/state? Is the one from the press or release time used?
leopoldek has joined #river
catman has quit [Remote host closed the connection]
catman has joined #river
catman has quit [Client Quit]
<ifreund> thanks for the line 99 catch
<ifreund> I think what we should do is specify that on key press bindings that have their trigger set to press or repeat are check first and if a match is found can trigger a state transition
<ifreund> then after that possible trigger and state transition the modifiers for release bindings are checked
<ifreund> Though that begs the question: "what if some other key press triggers another state transition before the key is released, and transitions into a state where there is no release keybind defined"
<ifreund> pehaps a better model is that we make note of the modifiers that were held on key press and use those saved modifiers to check the binding on release
<ifreund> and always check against the current mode
<ifreund> I think I like that approach most
<ThatGuestAgain> Maybe I should make an example of why I am asking in the first place. Lets say I have two physical special function keys I never use, foo and bar. I want each to enter a mode on press and leave it on release. There is also a combined mode foobar.
<ThatGuestAgain> Now pressing foo, pressing bar and releasing foo should get me through the states init->foo->foobar->bar. I wonder if that will be possible, or (due to early-checking) not.
<ifreund> yes, that should be possible if you define a release keybind for foo in the foobar state that transitions to the bar state
catman has joined #river
<ifreund> (with my proposed model of saving the mods that were held at press but checking for a keybind in the current state on release)
<ifreund> and it would work even if foo and bar were instead Super foo and Super bar and you released super before releasing foo
<ThatGuestAgain> Great! (I'd make the combination modes automatically from the user configured base ones in the wm of course).
<ifreund> yeah, makes sense :)
<ifreund> ThatGuestAgain: pushed another change to the protocol spelling this out explicitly and adding an example :)
lbia has quit [Ping timeout: 252 seconds]
lbia has joined #river
hmht has left #river [#river]
alexherbo2 has quit [Remote host closed the connection]
TheAnachron has quit [Quit: TheAnachron]
belanthor has joined #river
ayushnix has joined #river
waleee has quit [Ping timeout: 260 seconds]
<The_Buhs> Re the issue about idle inhibit and Firefox and whatever: Why does the idle inhibit protocol require a surface anyways? Like what if I just wanted to temporarily inhibit it without a specific surface being the cause?
<The_Buhs> Like I know that's not a river-specific thing, just wondering if anyone here knows lol
angry_vincent has quit [Remote host closed the connection]
ThatGuestAgain has quit [Quit: Client closed]
angry_vincent has joined #river
mcdougal has joined #river
alexherbo2 has joined #river
mcdougal has quit [Quit: Textual IRC Client: www.textualapp.com]
mcdougal has joined #river
mcdougal_ has joined #river
mcdougal has quit [Ping timeout: 255 seconds]
mcdougal_ has quit [Quit: Textual IRC Client: www.textualapp.com]
mcdougal has joined #river
mcdougal has quit [Client Quit]
alexherbo2 has quit [Remote host closed the connection]
mcdougal has joined #river
<ifreund> the protocol is only intended to deal with visual content and dimming/turning off displays
mcdougal has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mcdougal has joined #river
belanthor has quit [Quit: Leaving]
waleee has joined #river
TheAnachron has joined #river
mcdougal has quit [Ping timeout: 240 seconds]
mcdougal has joined #river
<The_Buhs> Makes sense, I guess. I guess I didn't think about the fact that like, you could want your computer to lock but still have music playing (or something like that).
angry_vincent has quit [Ping timeout: 264 seconds]
mcdougal has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mcdougal has joined #river
mcdougal has quit [Client Quit]
TheAnachron has quit [Quit: TheAnachron]
ninewise has quit [Remote host closed the connection]
ninewise has joined #river
mcdougal has joined #river
mcdougal has quit [Client Quit]