From ab9854d12f444231ffe6eade29f602697f9f3fda Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 1 Apr 2026 20:37:45 +0100 Subject: [PATCH] Walker --- .config/hypr/bindings.conf | 8 +------- .config/hypr/hypridle.conf | 2 +- .config/shell/aliasrc | 4 ---- .config/tmux/tmux.conf | 5 ++--- .local/bin/station-launch-walker | 4 ++-- .local/bin/station-menu | 2 ++ 6 files changed, 8 insertions(+), 17 deletions(-) diff --git a/.config/hypr/bindings.conf b/.config/hypr/bindings.conf index 4175c88..cf43fcb 100644 --- a/.config/hypr/bindings.conf +++ b/.config/hypr/bindings.conf @@ -64,12 +64,6 @@ bindd = SUPER, J, Move window focus down, movefocus, d bindd = SUPER, S, Toggle scratchpad, togglespecialworkspace, 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 bindd = SUPER, TAB, Cycle to next window, cyclenext, visible 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 # ========================== -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 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)" diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf index c61a33c..9f0372a 100644 --- a/.config/hypr/hypridle.conf +++ b/.config/hypr/hypridle.conf @@ -23,6 +23,6 @@ listener { listener { 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 } diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 37adab6..2782d94 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -89,10 +89,6 @@ alias \ notes="cd ~/Tower/Notes && nvim ." \ aid="aider" -# Projects -alias \ - src="tmuxinator start runcats" - # Dev alias \ sail='[ -f sail ] && sh sail || sh vendor/bin/sail' \ diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 5421f52..8680533 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -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-a - # Prefix set -g prefix C-Space set -g prefix2 C-b @@ -106,7 +105,7 @@ bind -n C-M-S-Right resize-pane -R 5 # Window navigation bind r command-prompt -I "#W" "rename-window -- '%%'" 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-2 select-window -t 2 @@ -126,7 +125,7 @@ bind -n M-S-Right swap-window -t +1 \; select-window -t +1 # Session controls bind R command-prompt -I "#S" "rename-session -- '%%'" bind C new-session -c "#{pane_current_path}" -bind K kill-session +bind X kill-session bind P switch-client -p bind N switch-client -n diff --git a/.local/bin/station-launch-walker b/.local/bin/station-launch-walker index 02ddf11..314caa1 100755 --- a/.local/bin/station-launch-walker +++ b/.local/bin/station-launch-walker @@ -4,12 +4,12 @@ # Ensure elephant is running before launching walker if ! pgrep -x elephant > /dev/null; then - setsid uwsm-app -- elephant & + setsid uwsm-app -- elephant > /dev/null 2>&1 & fi # Ensure walker service is running 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 exec walker --width 644 --maxheight 300 --minheight 300 "$@" diff --git a/.local/bin/station-menu b/.local/bin/station-menu index 87351e5..64119fe 100755 --- a/.local/bin/station-menu +++ b/.local/bin/station-menu @@ -236,6 +236,7 @@ show_system_menu() { local options="󱄄 Screensaver\n Lock\n󰒲 Suspend" station-hibernation-available && options="$options\n󰤁 Hibernate" options="$options\n󰍃 Logout\n󰜉 Restart\n󰐥 Shutdown" + echo $options case $(menu "System" "$options") in *Screensaver*) station-launch-screensaver force ;; @@ -257,6 +258,7 @@ go_to_menu() { case "${1,,}" in *apps*) walker -p "Launch…" ;; *trigger*) show_trigger_menu ;; + *share*) show_share_menu ;; *background*) show_background_menu ;; *setup*) show_setup_menu ;; *update*) show_update_menu ;;