Walker
This commit is contained in:
@@ -64,12 +64,6 @@ bindd = SUPER, J, Move window focus down, movefocus, d
|
|||||||
bindd = SUPER, S, Toggle scratchpad, togglespecialworkspace, scratchpad
|
bindd = SUPER, S, Toggle scratchpad, togglespecialworkspace, scratchpad
|
||||||
bindd = SUPER ALT, S, Move window to scratchpad, movetoworkspacesilent, special:scratchpad
|
bindd = SUPER ALT, S, Move window to scratchpad, movetoworkspacesilent, special:scratchpad
|
||||||
|
|
||||||
# Swap active window with the one next to it with SUPER + SHIFT + arrow keys
|
|
||||||
bindd = SUPER SHIFT, LEFT, Swap window to the left, swapwindow, l
|
|
||||||
bindd = SUPER SHIFT, RIGHT, Swap window to the right, swapwindow, r
|
|
||||||
bindd = SUPER SHIFT, UP, Swap window up, swapwindow, u
|
|
||||||
bindd = SUPER SHIFT, DOWN, Swap window down, swapwindow, d
|
|
||||||
|
|
||||||
# Cycle through applications on active workspace
|
# Cycle through applications on active workspace
|
||||||
bindd = SUPER, TAB, Cycle to next window, cyclenext, visible
|
bindd = SUPER, TAB, Cycle to next window, cyclenext, visible
|
||||||
bindd = SUPER SHIFT, TAB, Cycle to prev window, cyclenext, visible prev
|
bindd = SUPER SHIFT, TAB, Cycle to prev window, cyclenext, visible prev
|
||||||
@@ -186,7 +180,7 @@ bindd = SUPER CTRL, L, Lock system, exec, station-lock-screen
|
|||||||
# ==========================
|
# ==========================
|
||||||
# Applications
|
# Applications
|
||||||
# ==========================
|
# ==========================
|
||||||
bindd = SUPER, RETURN, Terminal, exec, uwsm-app -- xdg-terminal-exec --dir="$(station-cmd-terminal-cwd)"
|
bindd = SUPER, RETURN, Terminal, exec, uwsm-app -- xdg-terminal-exec
|
||||||
bindd = SUPER ALT, RETURN, Tmux, exec, uwsm-app -- xdg-terminal-exec --dir="$(station-cmd-terminal-cwd)" tmux new
|
bindd = SUPER ALT, RETURN, Tmux, exec, uwsm-app -- xdg-terminal-exec --dir="$(station-cmd-terminal-cwd)" tmux new
|
||||||
bindd = SUPER SHIFT, F, File manager, exec, uwsm-app -- nautilus --new-window
|
bindd = SUPER SHIFT, F, File manager, exec, uwsm-app -- nautilus --new-window
|
||||||
bindd = SUPER ALT SHIFT, F, File manager (cwd), exec, uwsm-app -- nautilus --new-window "$(station-cmd-terminal-cwd)"
|
bindd = SUPER ALT SHIFT, F, File manager (cwd), exec, uwsm-app -- nautilus --new-window "$(station-cmd-terminal-cwd)"
|
||||||
|
|||||||
@@ -23,6 +23,6 @@ listener {
|
|||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 330 # 5.5min
|
timeout = 330 # 5.5min
|
||||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
on-timeout = station-system-suspend # suspend when timeout has passed
|
||||||
on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected
|
on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -89,10 +89,6 @@ alias \
|
|||||||
notes="cd ~/Tower/Notes && nvim ." \
|
notes="cd ~/Tower/Notes && nvim ." \
|
||||||
aid="aider"
|
aid="aider"
|
||||||
|
|
||||||
# Projects
|
|
||||||
alias \
|
|
||||||
src="tmuxinator start runcats"
|
|
||||||
|
|
||||||
# Dev
|
# Dev
|
||||||
alias \
|
alias \
|
||||||
sail='[ -f sail ] && sh sail || sh vendor/bin/sail' \
|
sail='[ -f sail ] && sh sail || sh vendor/bin/sail' \
|
||||||
|
|||||||
@@ -81,7 +81,6 @@ bind-key -n User0 send-keys C-S-o
|
|||||||
bind-key -n User0 send-keys C-S-y
|
bind-key -n User0 send-keys C-S-y
|
||||||
bind-key -n User0 send-keys C-S-a
|
bind-key -n User0 send-keys C-S-a
|
||||||
|
|
||||||
|
|
||||||
# Prefix
|
# Prefix
|
||||||
set -g prefix C-Space
|
set -g prefix C-Space
|
||||||
set -g prefix2 C-b
|
set -g prefix2 C-b
|
||||||
@@ -106,7 +105,7 @@ bind -n C-M-S-Right resize-pane -R 5
|
|||||||
# Window navigation
|
# Window navigation
|
||||||
bind r command-prompt -I "#W" "rename-window -- '%%'"
|
bind r command-prompt -I "#W" "rename-window -- '%%'"
|
||||||
bind c new-window -c "#{pane_current_path}"
|
bind c new-window -c "#{pane_current_path}"
|
||||||
bind k kill-window
|
bind x kill-window
|
||||||
|
|
||||||
bind -n M-1 select-window -t 1
|
bind -n M-1 select-window -t 1
|
||||||
bind -n M-2 select-window -t 2
|
bind -n M-2 select-window -t 2
|
||||||
@@ -126,7 +125,7 @@ bind -n M-S-Right swap-window -t +1 \; select-window -t +1
|
|||||||
# Session controls
|
# Session controls
|
||||||
bind R command-prompt -I "#S" "rename-session -- '%%'"
|
bind R command-prompt -I "#S" "rename-session -- '%%'"
|
||||||
bind C new-session -c "#{pane_current_path}"
|
bind C new-session -c "#{pane_current_path}"
|
||||||
bind K kill-session
|
bind X kill-session
|
||||||
bind P switch-client -p
|
bind P switch-client -p
|
||||||
bind N switch-client -n
|
bind N switch-client -n
|
||||||
|
|
||||||
|
|||||||
@@ -4,12 +4,12 @@
|
|||||||
|
|
||||||
# Ensure elephant is running before launching walker
|
# Ensure elephant is running before launching walker
|
||||||
if ! pgrep -x elephant > /dev/null; then
|
if ! pgrep -x elephant > /dev/null; then
|
||||||
setsid uwsm-app -- elephant &
|
setsid uwsm-app -- elephant > /dev/null 2>&1 &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure walker service is running
|
# Ensure walker service is running
|
||||||
if ! pgrep -f "walker --gapplication-service" > /dev/null; then
|
if ! pgrep -f "walker --gapplication-service" > /dev/null; then
|
||||||
setsid uwsm-app -- walker --gapplication-service &
|
setsid uwsm-app -- walker --gapplication-service > /dev/null 2>&1 &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec walker --width 644 --maxheight 300 --minheight 300 "$@"
|
exec walker --width 644 --maxheight 300 --minheight 300 "$@"
|
||||||
|
|||||||
@@ -236,6 +236,7 @@ show_system_menu() {
|
|||||||
local options=" Screensaver\n Lock\n Suspend"
|
local options=" Screensaver\n Lock\n Suspend"
|
||||||
station-hibernation-available && options="$options\n Hibernate"
|
station-hibernation-available && options="$options\n Hibernate"
|
||||||
options="$options\n Logout\n Restart\n Shutdown"
|
options="$options\n Logout\n Restart\n Shutdown"
|
||||||
|
echo $options
|
||||||
|
|
||||||
case $(menu "System" "$options") in
|
case $(menu "System" "$options") in
|
||||||
*Screensaver*) station-launch-screensaver force ;;
|
*Screensaver*) station-launch-screensaver force ;;
|
||||||
@@ -257,6 +258,7 @@ go_to_menu() {
|
|||||||
case "${1,,}" in
|
case "${1,,}" in
|
||||||
*apps*) walker -p "Launch…" ;;
|
*apps*) walker -p "Launch…" ;;
|
||||||
*trigger*) show_trigger_menu ;;
|
*trigger*) show_trigger_menu ;;
|
||||||
|
*share*) show_share_menu ;;
|
||||||
*background*) show_background_menu ;;
|
*background*) show_background_menu ;;
|
||||||
*setup*) show_setup_menu ;;
|
*setup*) show_setup_menu ;;
|
||||||
*update*) show_update_menu ;;
|
*update*) show_update_menu ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user