Compare commits
3 commits
504436904e
...
8178d19bfc
Author | SHA1 | Date | |
---|---|---|---|
8178d19bfc | |||
631c8ab09a | |||
4ab7eb2ce7 |
3 changed files with 10 additions and 21 deletions
|
@ -8,33 +8,21 @@ riverctl map normal $mod+Shift E exit
|
||||||
|
|
||||||
riverctl map normal $mod J focus-view next
|
riverctl map normal $mod J focus-view next
|
||||||
riverctl map normal $mod K focus-view previous
|
riverctl map normal $mod K focus-view previous
|
||||||
riverctl map normal $mod Down focus-view next
|
|
||||||
riverctl map normal $mod Up focus-view previous
|
|
||||||
|
|
||||||
riverctl map normal $mod+Shift J swap next
|
riverctl map normal $mod+Shift J swap next
|
||||||
riverctl map normal $mod+Shift K swap previous
|
riverctl map normal $mod+Shift K swap previous
|
||||||
riverctl map normal $mod+Shift Down swap next
|
|
||||||
riverctl map normal $mod+Shift Up swap previous
|
|
||||||
|
|
||||||
riverctl map normal $mod+Control J focus-output next
|
riverctl map normal $mod+Control J focus-output next
|
||||||
riverctl map normal $mod+Control K focus-output previous
|
riverctl map normal $mod+Control K focus-output previous
|
||||||
riverctl map normal $mod+Control Down focus-output next
|
|
||||||
riverctl map normal $mod+Control Up focus-output previous
|
|
||||||
|
|
||||||
riverctl map normal $mod+Control+Shift J send-to-output next
|
riverctl map normal $mod+Control+Shift J send-to-output next
|
||||||
riverctl map normal $mod+Control+Shift K send-to-output previous
|
riverctl map normal $mod+Control+Shift K send-to-output previous
|
||||||
riverctl map normal $mod+Control+Shift Down send-to-output next
|
|
||||||
riverctl map normal $mod+Control+Shift Up send-to-output previous
|
|
||||||
|
|
||||||
riverctl map normal $mod H send-layout-cmd stacktile "primary_ratio -0.05"
|
riverctl map normal $mod H send-layout-cmd stacktile "primary_ratio -0.05"
|
||||||
riverctl map normal $mod L send-layout-cmd stacktile "primary_ratio +0.05"
|
riverctl map normal $mod L send-layout-cmd stacktile "primary_ratio +0.05"
|
||||||
riverctl map normal $mod Left send-layout-cmd stacktile "primary_ratio -0.05"
|
|
||||||
riverctl map normal $mod Right send-layout-cmd stacktile "primary_ratio +0.05"
|
|
||||||
|
|
||||||
riverctl map normal $mod+Shift H send-layout-cmd stacktile "primary_count +1"
|
riverctl map normal $mod+Shift H send-layout-cmd stacktile "primary_count +1"
|
||||||
riverctl map normal $mod+Shift L send-layout-cmd stacktile "primary_count -1"
|
riverctl map normal $mod+Shift L send-layout-cmd stacktile "primary_count -1"
|
||||||
riverctl map normal $mod+Shift Left send-layout-cmd stacktile "primary_count +1"
|
|
||||||
riverctl map normal $mod+Shift Right send-layout-cmd stacktile "primary_count -1"
|
|
||||||
|
|
||||||
riverctl map normal None Super_L spawn "killall -SIGUSR1 river-tag-overlay"
|
riverctl map normal None Super_L spawn "killall -SIGUSR1 river-tag-overlay"
|
||||||
|
|
||||||
|
@ -94,10 +82,10 @@ riverctl map normal $mod+Shift 0 set-view-tags $all_tags
|
||||||
riverctl map normal $mod Space toggle-float
|
riverctl map normal $mod Space toggle-float
|
||||||
riverctl map normal $mod F toggle-fullscreen
|
riverctl map normal $mod F toggle-fullscreen
|
||||||
|
|
||||||
# riverctl map normal $mod Up send-layout-cmd stacktile "primary_position top"
|
riverctl map normal $mod Up send-layout-cmd stacktile "primary_position top"
|
||||||
# riverctl map normal $mod Right send-layout-cmd stacktile "primary_position right"
|
riverctl map normal $mod Right send-layout-cmd stacktile "primary_position right"
|
||||||
# riverctl map normal $mod Down send-layout-cmd stacktile "primary_position bottom"
|
riverctl map normal $mod Down send-layout-cmd stacktile "primary_position bottom"
|
||||||
# riverctl map normal $mod Left send-layout-cmd stacktile "primary_position left"
|
riverctl map normal $mod Left send-layout-cmd stacktile "primary_position left"
|
||||||
riverctl map normal $mod A send-layout-cmd stacktile "all_primary toggle"
|
riverctl map normal $mod A send-layout-cmd stacktile "all_primary toggle"
|
||||||
|
|
||||||
riverctl declare-mode passthrough
|
riverctl declare-mode passthrough
|
||||||
|
|
|
@ -239,6 +239,7 @@ focus_follows_mouse no
|
||||||
|
|
||||||
for_window [title="."] inhibit_idle fullscreen
|
for_window [title="."] inhibit_idle fullscreen
|
||||||
|
|
||||||
|
for_window [title="Firefox — Sharing Indicator"] floating enable
|
||||||
for_window [app_id="fzf"] floating enable
|
for_window [app_id="fzf"] floating enable
|
||||||
|
|
||||||
exec brillo -I
|
exec brillo -I
|
||||||
|
|
10
.zprofile
10
.zprofile
|
@ -5,12 +5,12 @@ if ! "$REMOTE" && test "$(tty)" = /dev/tty1; then
|
||||||
XDG_RUNTIME_DIR="/run/user/$(id -u)"
|
XDG_RUNTIME_DIR="/run/user/$(id -u)"
|
||||||
mkdir -p "$XDG_RUNTIME_DIR"
|
mkdir -p "$XDG_RUNTIME_DIR"
|
||||||
chmod 700 "$XDG_RUNTIME_DIR"
|
chmod 700 "$XDG_RUNTIME_DIR"
|
||||||
mkdir -p "$HOME/.local/share/river"
|
mkdir -p "$HOME/.local/share/sway"
|
||||||
log="$HOME/.local/share/river/$(date +%Y-%m-%d@%H:%M:%S).log"
|
log="$HOME/.local/share/sway/$(date +%Y-%m-%d@%H:%M:%S).log"
|
||||||
exec env \
|
exec env \
|
||||||
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
|
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
|
||||||
XDG_CURRENT_DESKTOP=river \
|
XDG_CURRENT_DESKTOP=sway \
|
||||||
XDG_SESSION_DESKTOP=river \
|
XDG_SESSION_DESKTOP=sway \
|
||||||
dbus-run-session river >"$log" 2>&1
|
dbus-run-session sway >"$log" 2>&1
|
||||||
fi
|
fi
|
||||||
source ~/.zshrc
|
source ~/.zshrc
|
||||||
|
|
Loading…
Reference in a new issue