river: Use built-in option to set compose key
So far, we used the external `setxkbmap` tool to map the compose key to the 'menu' button (AltGr on my keyboard). With this I am able to type äöü€ß. Now using the built-in option in riverctl which I just discovered, so we rely on fewer external programs. Also setting the keyboard itself to 'us(altgr-intl)' which I _think_ I had enabled before. If it turns out not, well, can always change back to us layout with a single line.
This commit is contained in:
parent
4082d92ed9
commit
343c1f0a35
1 changed files with 1 additions and 1 deletions
|
@ -44,6 +44,7 @@ should_start() { # 1=program binary name
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
riverctl keyboard-layout -options compose:menu "us(altgr-intl)"
|
||||||
## OPTIONS
|
## OPTIONS
|
||||||
riverctl spawn "dbus-update-activation-environment SEATD_SOCK DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river"
|
riverctl spawn "dbus-update-activation-environment SEATD_SOCK DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river"
|
||||||
riverctl focus-follows-cursor normal
|
riverctl focus-follows-cursor normal
|
||||||
|
@ -301,7 +302,6 @@ for pad in $(riverctl list-inputs | grep -i touchscreen); do
|
||||||
riverctl input "$pad" pointer-accel 0.5
|
riverctl input "$pad" pointer-accel 0.5
|
||||||
done
|
done
|
||||||
|
|
||||||
setxkbmap -option "compose:menu"
|
|
||||||
|
|
||||||
# We are not in voidlinux, so no nice turnstile user services will take care of us
|
# We are not in voidlinux, so no nice turnstile user services will take care of us
|
||||||
# have to start everything manually here.
|
# have to start everything manually here.
|
||||||
|
|
Loading…
Reference in a new issue