boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
<dnkl>
ovf: what does it do?
jmcantrell has quit [Quit: WeeChat 4.6.0]
boomboxnation-1 has joined #foot
alxfg has joined #foot
boomboxnation-1 has quit [Ping timeout: 252 seconds]
andyrtr_ has joined #foot
andyrtr has quit [Ping timeout: 248 seconds]
andyrtr_ is now known as andyrtr
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
<krobelus>
I feel like there may a better solution to the virtual modifiers problem. Our solution should be independent of the historical quirk in Gnome; that one could get a targeted workaround.
<krobelus>
It would be nice if the user could say Alt-b instead of Mod1-b; but most compositors don't send the virtual modifier (probably for the better) and I'm not sure if the application is supposed to do a "reverse lookup" of the modifiers.
<krobelus>
need more time to think
andyrtr has quit [Ping timeout: 248 seconds]
andyrtr has joined #foot
andyrtr_ has joined #foot
andyrtr has quit [Ping timeout: 246 seconds]
andyrtr_ is now known as andyrtr
boomboxnation has quit [Read error: Connection reset by peer]
<dnkl>
krobelus: we could just implement the default virtual -> real mapping when loading the config. And say "if your layout don't use these mappings, you have to use real modifiers"
<dnkl>
I would also prefer the defaults to continue using Mod1,2 etc. i.e avoid using the virtual modifiers by default
boomboxnation has joined #foot
andyrtr_ has joined #foot
andyrtr has quit [Ping timeout: 245 seconds]
andyrtr_ is now known as andyrtr
<krobelus>
dnkl: yeah that sounds like a step in the right direction. Given that the compositor is allowed to send either "mod1" or "mod1 + virtual alt", it must be responsibility of the application to recognize they are equivalent (assuming we do want to support this feature). I expect that the application successfully match both to a binding like Mod1+Meta+b would work even though that notation is redundant
<krobelus>
of course. If we canonicalize early, setxkbmap changes only apply after a restart.
<krobelus>
Also the docs say "Modifier indices are consecutive. The first modifier has index 0.". Combined with the spec that says there are 8+16 modifiers, we could implement this equality-comparison correctly for all modifiers, without guessing their names at compile-time.
<krobelus>
There is an argument to erroring out on nonsensical bindings like Mod1+Meta+b but the counter argument is that it it's technically valid in a keymap that maps Meta something other than Mod1
<krobelus>
Again, it's a question of how much we want to support virtual modifiers (irrespective of the Gnome quirks)
mcepl has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation-1 has joined #foot
jmcantrell has joined #foot
boomboxnation-1 has quit [Read error: Connection reset by peer]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation-1 has joined #foot
cbb has joined #foot
chiselfuse has quit [Read error: Connection reset by peer]
chiselfuse has joined #foot
boomboxnation-1 has quit [Read error: Connection reset by peer]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation-1 has joined #foot
boomboxnation has quit [Ping timeout: 252 seconds]
molarmanful has joined #foot
boomboxnation-1 has quit [Read error: Connection reset by peer]
molarmanful has quit [Quit: Client closed]
boomboxnation has joined #foot
chiselfuse has quit [Remote host closed the connection]
an3223 has quit [Remote host closed the connection]
chiselfuse has joined #foot
an3223 has joined #foot
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
andyrtr has joined #foot
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
cbb has quit [Quit: cbb]
ttkap has joined #foot
boomboxnation-1 has joined #foot
an3223 has quit [Quit: WeeChat 4.5.2]
boomboxnation has quit [Read error: Connection reset by peer]
an3223 has joined #foot
boomboxnation-1 has quit [Ping timeout: 272 seconds]
an3223 has quit [Client Quit]
boomboxnation has joined #foot
an3223 has joined #foot
an3223 has quit [Remote host closed the connection]
an3223 has joined #foot
<ovf>
dnkl: it just passes whatever i paste into the terminal, \e and all. e.g. printf "\e[3m"|wl-copy and then ctrl+shift+v into a cat running in ghostty, puts everything into elegant cursive
an3223 has quit [Remote host closed the connection]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
an3223 has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]