mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-12 09:08:21 -05:00
river: put XKB env var in the config
This commit is contained in:
parent
e7f660d8db
commit
d74ad42b84
@ -1,5 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
export XKB_DEFAULT_LAYOUT="us,jp"
|
||||||
|
export XKB_DEFAULT_OPTIONS="grp:rshift_toggle"
|
||||||
|
|
||||||
# Output configuration ─────────────────────────────────────────────────────────
|
# 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'
|
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
|
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"
|
export XDG_CURRENT_DESKTOP="$1"
|
||||||
# $HOME/.config/emacs-config/doom/bin/doom env
|
# $HOME/.config/emacs-config/doom/bin/doom env
|
||||||
exec dbus-run-session "$@" > "${XDG_RUNTIME_DIR}/$1-$(date "+%Y-%m-%d").log" 2>&1
|
exec dbus-run-session "$@" > "${XDG_RUNTIME_DIR}/$1-$(date "+%Y-%m-%d").log" 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user