<kztx>
I want to bind fcitx toggle to caps lock but not toggle caps lock along with it. Is there some flag I can pass to completely override it or do I need to use something like keyd?
<kztx>
My question was intended for `riverctl map`
<leon-p>
kztx: you can set an xkbcommon option to replace caps with some other key and then bind the toggle thing to that key
<leon-p>
not sure if there is an option that remaps caps to anything other than a modifier or escape or menu though
<leon-p>
you might want to create a custom keymap for that
<kztx>
Great, thanks
eShaev9z_ has joined #river
eShaev9z has quit [Ping timeout: 240 seconds]
silv3r has joined #river
kztx has quit [Ping timeout: 255 seconds]
silv3r has quit [Quit: WeeChat 4.1.0]
icp has joined #river
icp has quit [Quit: Client closed]
leopoldek has quit [Remote host closed the connection]
Cornelius-Figgle has quit [Remote host closed the connection]
Cornelius-Figgle has joined #river
traidare has joined #river
Cornelius-Figgle has quit [Remote host closed the connection]
Cornelius-Figgle has joined #river
youpilai has joined #river
<youpilai>
leon-p: i would like to thank you for 'river-bnf', coming from bspwm it was one one the thing i was missing ;)
<leon-p>
youpilai: glad it works for your :)
youpilai has quit [Ping timeout: 248 seconds]
Cornelius-Figgle has quit [Remote host closed the connection]
Cornelius-Figgle has joined #river
traidare has quit [Ping timeout: 255 seconds]
Cornelius-Figgle has quit [Remote host closed the connection]
Cornelius-Figgle has joined #river
traidare has joined #river
TheAnachron has joined #river
dbuckley has quit [Ping timeout: 255 seconds]
traidare has quit [Ping timeout: 260 seconds]
<Cornelius-Figgle>
I recently got a new graphics card, and everytime I turn my monitors' power off, all my windows are moved to my second monitor
<Cornelius-Figgle>
This didn't happen with my old graphics card, so not really an issue with river
<Cornelius-Figgle>
but does anyone have an idea why this is?
<Cornelius-Figgle>
its like the monitors are disconnected from the machine when they loose power
<Cornelius-Figgle>
which makes sense logically but it never happened with the previous graphics card
<leon-p>
that means that turning off your monitors is now registered as a disconnect, which causes the virtual outputs to disappear. river than "evacuates" the windows to the still existing output which happens to be your second monitor
<Cornelius-Figgle>
is there anyway to configure this behaviour?
<leon-p>
no
<Cornelius-Figgle>
so windows don't get 'evacuated'?
<Cornelius-Figgle>
oh
<leon-p>
I don't think river can distinguish between "output disappears because device is removed" or "output disappears because device is turned off"
<Cornelius-Figgle>
can we not disable it moving entirely?
<leon-p>
no
<Cornelius-Figgle>
I don't unplug these outputs so the distinguishment isnt necessary for my use-case
<Cornelius-Figgle>
oh that's annoying :/
<leon-p>
you can propose that change, but I kinda doubt it will get approved. it's super specific and arguably a bit hacky
<leon-p>
funny how smarter hardware and arguably more correct behaviour leads to a usability downgrade
<leon-p>
what's your use case exactly? maybe we can find alternatives
<Cornelius-Figgle>
how would just adding a config option to 'not move windows in the event of a disconnection' be hacky?
<Cornelius-Figgle>
well when I walk away from my machine, I usually lock it (swaylock-effects) then turn the monitors off at the wall (as they are in a seperate extension lead to my pc)
<leon-p>
because output state surviving output disconnect has all kinds of results that may or may not cause things
<leon-p>
I see
<Cornelius-Figgle>
oh right
<leon-p>
here is one idea: use wlopm to turn the monitors off virtually instead of physically. modern monitors will recognize that they no longer have input and enter some sort of energy saving mode
<leon-p>
anothre alternative: we do have the idea of windows remembering their previous outputs, so they would still be evacuated but when the output is turned on again they'll be moved to it again. it's not implemented yet though
Cornelius-Figgle has quit [Remote host closed the connection]
Cornelius-Figgle has joined #river
<Cornelius-Figgle>
first idea could work but is annoying that it has to be this way
<Cornelius-Figgle>
second seems to most logical to me, but requires changes in river's code
<leon-p>
changes which aren't /that/ bad. can't remember if that feature request was accepted, but I don't see why not
<Cornelius-Figgle>
how easy would it be to implement in a custom build?
<leon-p>
somewhere between 50 to 150 lines I'd guess
<leon-p>
¯\_(ツ)_/¯
<Cornelius-Figgle>
hm perhaps a bit beyond my capabilities, being as I've never used zig
<Cornelius-Figgle>
if you think its likely to be accepted I can raise an issue though
<Cornelius-Figgle>
let me go look through the current requests
<leon-p>
it is listed on GH already I think
<Cornelius-Figgle>
I did also just try wlopm and that works perfectly, but annoying its software-side and not hardware side
<leon-p>
if I find some time this week I might look into implementing output-remembering, can't make any promises though
<leon-p>
I don't think you can break kanshi like that with a config
<leon-p>
might be a bug in kanshi, might be one in river or wlroots, no idea 🤷
TheAnachron has quit [Ping timeout: 255 seconds]
<Cornelius-Figgle>
lmao
Cornelius-Figgle has quit [Remote host closed the connection]
Cornelius-Figgle has joined #river
<adamcstephens>
i've had issues with kanshi not correctly detecting a re-attached monitor
<adamcstephens>
in my case, it's the same. turn off monitor, turn it back on, kanshi says the profile doesn't match. restarting kanshi restores the correct profile
<leon-p>
have y'all tried using kanshi git-master? Might be fixed already if it's a bug in kanshi
<Cornelius-Figgle>
no just the version from xbps. I asked the same question in #emersion and they said "some monitors do that. we can't do anything about it" so I take that as meaning its not fixed in master
<Cornelius-Figgle>
the dev is in this channel as well though 👀
<Cornelius-Figgle>
oh apparently its due to how the monitors behave
<leon-p>
I love hardware almost as much as I love software 🫠
<Cornelius-Figgle>
oh dear 😭
<Cornelius-Figgle>
on an unrelated note
<Cornelius-Figgle>
what program do you use for emojis in river?
<Cornelius-Figgle>
I'm currently just copypasting from google
<Cornelius-Figgle>
should I just write a script to pipe them through tofi?
<leon-p>
a simple script I trigger with Super-E which pipes a bunch of emoji and other characters like 𝒜 into fuzzel and after I select one pipes it into wtype
<Cornelius-Figgle>
I also need to setup the clipboard properly at some point
<Cornelius-Figgle>
uuurgh love linux
<leon-p>
note the list is no longer complete, they add new ones all the time
<Cornelius-Figgle>
damn thanks! I will modify it for tofi in a minute
<leon-p>
also you can add combinations. for example there is an entry that prints multiple 👀 because apparently that's how I communicate with my best friend. I swear it's her fault
<Cornelius-Figgle>
lmao I do the same with the 💪
<leon-p>
the 🐦 bird is also fun, although it's only funny with the whatsapp character set
<Cornelius-Figgle>
*picks up phone
<Cornelius-Figgle>
*remembers I have whatsapp on desktop
<Cornelius-Figgle>
omg how has whatsapp transformed that so much
Cornelius-Figgle has quit [Remote host closed the connection]
Cornelius-Figgle has joined #river
traidare has joined #river
Cornelius-Figgle has quit [Remote host closed the connection]
Cornelius-Figgle has joined #river
dbuckley has joined #river
waleee has quit [Ping timeout: 240 seconds]
leopoldek has joined #river
<Cornelius-Figgle>
okay someone in the kanshi channel said to "force the state of the monitor on" by writing "on" to `/sys/class/drm/card0-DP-1/status`
<Cornelius-Figgle>
I have added that to my `rc.local` and it appears to work
Cornelius-Figgle has quit [Ping timeout: 248 seconds]
traidare2 has joined #river
traidare has quit [Read error: Connection reset by peer]
kztx has joined #river
waleee has joined #river
TheAnachron has joined #river
TheAnachron has quit [Ping timeout: 255 seconds]
Szadek15988 has joined #river
traidare2 has quit [Ping timeout: 240 seconds]
_whitelogger has joined #river
travankor has quit [Remote host closed the connection]