Fixed keyboard layout switching, other minor stuff
This commit is contained in:
@@ -7,12 +7,14 @@
|
|||||||
export XDG_CURRENT_DESKTOP=river
|
export XDG_CURRENT_DESKTOP=river
|
||||||
export XDG_SESSION_TYPE=wayland
|
export XDG_SESSION_TYPE=wayland
|
||||||
|
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
|
||||||
export XCURSOR_SIZE=36
|
export XCURSOR_SIZE=36
|
||||||
|
|
||||||
## Start portals
|
## Start portals
|
||||||
dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
xdg-desktop-portal-wlr &
|
/usr/libexec/xdg-desktop-portal-wlr &
|
||||||
xdg-desktop-portal &
|
/usr/libexec/xdg-desktop-portal &
|
||||||
|
|
||||||
## Start easyeffects
|
## Start easyeffects
|
||||||
#flatpak run com.github.wwmm.easyeffects --gapplication-service &
|
#flatpak run com.github.wwmm.easyeffects --gapplication-service &
|
||||||
@@ -126,36 +128,8 @@ riverctl map passthrough Mod1 F11 enter-mode normal
|
|||||||
|
|
||||||
# Lock screen
|
# Lock screen
|
||||||
#riverctl map normal Mod1+Shift L spawn waylock
|
#riverctl map normal Mod1+Shift L spawn waylock
|
||||||
riverctl map normal Mod1+Shift L spawn 'swaylock \
|
riverctl map normal Mod1+Shift L spawn lockscreen
|
||||||
--clock \
|
swayidle timeout 300 lockscreen &
|
||||||
--indicator-idle-visible \
|
|
||||||
--indicator-radius 100 \
|
|
||||||
--indicator-thickness 7 \
|
|
||||||
--ring-color 2D464D \
|
|
||||||
--key-hl-color be5046 \
|
|
||||||
--text-color ffffff \
|
|
||||||
--line-color 00000000 \
|
|
||||||
--inside-color 00000088 \
|
|
||||||
--separator-color 00000000 \
|
|
||||||
--fade-in 0.2 \
|
|
||||||
--effect-blur 7x1 \
|
|
||||||
--image ~/Pictures/bg-astronaut.jpg'
|
|
||||||
|
|
||||||
swayidle \
|
|
||||||
timeout 300 'swaylock \
|
|
||||||
--clock \
|
|
||||||
--indicator-idle-visible \
|
|
||||||
--indicator-radius 100 \
|
|
||||||
--indicator-thickness 7 \
|
|
||||||
--ring-color 2D464D \
|
|
||||||
--key-hl-color be5046 \
|
|
||||||
--text-color ffffff \
|
|
||||||
--line-color 00000000 \
|
|
||||||
--inside-color 00000088 \
|
|
||||||
--separator-color 00000000 \
|
|
||||||
--fade-in 0.2 \
|
|
||||||
--effect-blur 7x1 \
|
|
||||||
--image ~/Pictures/bg-astronaut.jpg' &
|
|
||||||
|
|
||||||
# Various media key mapping examples for both normal and locked mode which do
|
# Various media key mapping examples for both normal and locked mode which do
|
||||||
# not have a modifier
|
# not have a modifier
|
||||||
@@ -194,8 +168,9 @@ riverctl border-width 1
|
|||||||
riverctl set-repeat 30 200
|
riverctl set-repeat 30 200
|
||||||
|
|
||||||
# Keyboard layouts
|
# Keyboard layouts
|
||||||
riverctl keyboard-layout -options "grp:win_space_toggle" "us,cz(qwerty)"
|
riverctl map normal Mod1 c spawn 'riverctl keyboard-layout "cz(qwerty)"'
|
||||||
#riverctl keyboard-layout CShack
|
riverctl map normal Mod1 u spawn 'riverctl keyboard-layout "us"'
|
||||||
|
riverctl keyboard-layout "us" # default layout
|
||||||
|
|
||||||
# Make all views with an app-id that starts with "float" and title "foo" start floating.
|
# Make all views with an app-id that starts with "float" and title "foo" start floating.
|
||||||
riverctl rule-add -app-id 'float*' -title 'foo' float
|
riverctl rule-add -app-id 'float*' -title 'foo' float
|
||||||
@@ -259,3 +234,5 @@ filtile \
|
|||||||
smart-padding 0, \
|
smart-padding 0, \
|
||||||
main-ratio 55, \
|
main-ratio 55, \
|
||||||
main-location left
|
main-location left
|
||||||
|
|
||||||
|
riverctl spawn ssh-agent
|
||||||
|
|||||||
Reference in New Issue
Block a user