Only use emacs style keybinds

This commit is contained in:
Andrew Scott 2023-06-28 02:17:58 -04:00
parent 27fe8763da
commit fb44c861ea
Signed by: a
GPG key ID: 7CD5A5977E4931C1

View file

@ -37,23 +37,14 @@ riverctl map normal Super Q close
riverctl map normal Super+Shift E exit riverctl map normal Super+Shift E exit
# Focus the next/previous view in the layout stack # Focus the next/previous view in the layout stack
riverctl map normal Super J focus-view next
riverctl map normal Super K focus-view previous
# emacs
riverctl map normal Super N focus-view next riverctl map normal Super N focus-view next
riverctl map normal Super P focus-view previous riverctl map normal Super P focus-view previous
# Swap the focused view with the next/previous view in the layout stack # Swap the focused view with the next/previous view in the layout stack
riverctl map normal Super+Alt J swap next
riverctl map normal Super+Alt K swap previous
# emacs
riverctl map normal Super+Alt N swap next riverctl map normal Super+Alt N swap next
riverctl map normal Super+Alt P swap previous riverctl map normal Super+Alt P swap previous
# Focus the next/previous output # Focus the next/previous output
riverctl map normal Super L focus-output next
riverctl map normal Super H focus-output previous
# emacs
riverctl map normal Super V focus-output next riverctl map normal Super V focus-output next
riverctl map normal Super+Alt V focus-output previous riverctl map normal Super+Alt V focus-output previous
@ -65,52 +56,36 @@ riverctl map normal Super Grave send-to-output previous
riverctl map normal Super+Shift Return zoom riverctl map normal Super+Shift Return zoom
# Increase/decrease the main ratio of rivertile(1) # Increase/decrease the main ratio of rivertile(1)
riverctl map normal Super+Alt+Shift L send-layout-cmd rivertile "main-ratio -0.05"
riverctl map normal Super+Alt+Shift H send-layout-cmd rivertile "main-ratio +0.05"
#emacs
riverctl map normal Super B send-layout-cmd rivertile "main-ratio -0.05" riverctl map normal Super B send-layout-cmd rivertile "main-ratio -0.05"
riverctl map normal Super F send-layout-cmd rivertile "main-ratio +0.05" riverctl map normal Super F send-layout-cmd rivertile "main-ratio +0.05"
# Increment/decrement the main count of rivertile(1) # Increment/decrement the main count of rivertile(1)
riverctl map normal Super+Alt+Shift J send-layout-cmd rivertile "main-count +1"
riverctl map normal Super+Alt+Shift K send-layout-cmd rivertile "main-count -1"
#emacs
riverctl map normal Super+Alt F send-layout-cmd rivertile "main-count +1" riverctl map normal Super+Alt F send-layout-cmd rivertile "main-count +1"
riverctl map normal Super+Alt B send-layout-cmd rivertile "main-count -1" riverctl map normal Super+Alt B send-layout-cmd rivertile "main-count -1"
# Snap views to screen edges # Snap views to screen edges
riverctl map normal Super+Alt+Control H snap left
riverctl map normal Super+Alt+Control J snap down
riverctl map normal Super+Alt+Control K snap up
riverctl map normal Super+Alt+Control L snap right
#emacs
riverctl map normal Super+Alt+Control B snap left riverctl map normal Super+Alt+Control B snap left
riverctl map normal Super+Alt+Control N snap down
riverctl map normal Super+Alt+Control P snap up
riverctl map normal Super+Alt+Control F snap right riverctl map normal Super+Alt+Control F snap right
riverctl map normal Super+Alt+Control P snap up
riverctl map normal Super+Alt+Control N snap down
# Move views # Move views
riverctl map normal Super+Alt Left move left 100 riverctl map normal Super+Alt+Control+Shift B move left 100
riverctl map normal Super+Alt Down move down 100 riverctl map normal Super+Alt+Control+Shift F move right 100
riverctl map normal Super+Alt Up move up 100 riverctl map normal Super+Alt+Control+Shift P move up 100
riverctl map normal Super+Alt Right move right 100 riverctl map normal Super+Alt+Control+Shift N move down 100
#emacs
riverctl map normal Super+Alt+Shift B move left 100
riverctl map normal Super+Alt+Shift N move down 100
riverctl map normal Super+Alt+Shift P move up 100
riverctl map normal Super+Alt+Shift F move right 100
# Resize views # Resize views
riverctl map normal Super Right resize horizontal -100 riverctl map normal Super+Alt+Shift B resize horizontal -100
riverctl map normal Super Up resize vertical 100 riverctl map normal Super+Alt+Shift F resize horizontal 100
riverctl map normal Super Down resize vertical -100 riverctl map normal Super+Alt+Shift P resize vertical -100
riverctl map normal Super Left resize horizontal 100 riverctl map normal Super+Alt+Shift N resize vertical 100
# Change layout # Change layout
riverctl map normal Super+Shift K send-layout-cmd rivertile "main-location top" riverctl map normal Super+Shift B send-layout-cmd rivertile "main-location left"
riverctl map normal Super+Shift L send-layout-cmd rivertile "main-location right" riverctl map normal Super+Shift F send-layout-cmd rivertile "main-location right"
riverctl map normal Super+Shift J send-layout-cmd rivertile "main-location bottom" riverctl map normal Super+Shift P send-layout-cmd rivertile "main-location top"
riverctl map normal Super+Shift H send-layout-cmd rivertile "main-location left" riverctl map normal Super+Shift N send-layout-cmd rivertile "main-location bottom"
# Move views with mouse # Move views with mouse
riverctl map-pointer normal Super BTN_LEFT move-view riverctl map-pointer normal Super BTN_LEFT move-view
@ -237,12 +212,12 @@ riverctl map-switch normal lid close 'waylock-launcher'
# Default layout generator - rivertile(1) # Default layout generator - rivertile(1)
riverctl default-layout rivertile riverctl default-layout rivertile
rivertile -view-padding 4 -outer-padding 4 -main-ratio .5 & rivertile -view-padding 4 -outer-padding 4 -main-ratio .55 -main-location right &
# Autostart # Autostart
dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river & dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river &
/usr/lib/at-spi-bus-launcher --launch-immediately &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
/usr/lib/at-spi-bus-launcher --launch-immediately &
gnome-keyring-daemon --start --components=pkcs11 & gnome-keyring-daemon --start --components=pkcs11 &
gnome-keyring-daemon --start --components=secrets & gnome-keyring-daemon --start --components=secrets &
gnome-keyring-daemon --start --components=ssh & gnome-keyring-daemon --start --components=ssh &