mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-25 00:38:23 -05:00
river: put XKB env var in the config
This commit is contained in:
parent
c933bc279c
commit
c2eee8ce71
@ -1,5 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
export XKB_DEFAULT_LAYOUT="us,jp"
|
||||
export XKB_DEFAULT_OPTIONS="grp:rshift_toggle"
|
||||
|
||||
# Output configuration ─────────────────────────────────────────────────────────
|
||||
|
||||
riverctl spawn 'wlr-randr --output DP-2 --mode 1920x1080@60.000000Hz --pos -1920,0 --transform normal --scale 1.000000 --output eDP-1 --mode 1920x1080@60.000000Hz --pos 0,0 --transform normal --scale 1.000000 --output HDMI-A-1 --mode 1920x1080@60.000000Hz --pos 1920,0 --transform normal --scale 1.000000'
|
||||
|
@ -29,13 +29,6 @@ export MOZ_ENABLE_WAYLAND=1
|
||||
|
||||
export PATH=$HOME/.local/bin/Wayland:$PATH
|
||||
|
||||
# river configures xkb through env vars
|
||||
if [ "$1" = "river" ]
|
||||
then
|
||||
export XKB_DEFAULT_LAYOUT="us,jp"
|
||||
export XKB_DEFAULT_OPTIONS="grp:rshift_toggle"
|
||||
fi
|
||||
|
||||
export XDG_CURRENT_DESKTOP="$1"
|
||||
# $HOME/.config/emacs-config/doom/bin/doom env
|
||||
exec dbus-run-session "$@" > "${XDG_RUNTIME_DIR}/$1-$(date "+%Y-%m-%d").log" 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user