clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

update walker menu

sspaeti 6238e564 5f2e7642

+41 -26
+4 -2
hypr/.config/hypr/bindings.conf
··· 35 35 36 36 #OMARCHY settings and overwrites 37 37 bind = SUPER SHIFT, K, exec, ~/.local/share/omarchy/bin/omarchy-menu-keybindings 38 + 39 + unbind = SUPER, T 38 40 bindd = SUPER, T, Pick new theme, exec, omarchy-menu theme 39 41 40 42 unbind = SUPER, ESCAPE 41 43 bindd = SUPER, ESCAPE, Power menu, exec, ~/.config/hypr/sspaeti/omarchy-system-menu 42 44 43 45 # omarchy menu 44 - bindd = SUPER CTRL ALT, SPACE, Run commands, exec, ~/.config/hypr/sspaeti/omarchy-menu 45 - # bindd = SUPER ALT, SPACE, Run commands, exec, ~/.config/hypr/sspaeti/omarchy-menu-flat 46 + bind = SUPER CTRL ALT, SPACE, exec, ~/.config/hypr/sspaeti/omarchy-menu 47 + bind = SUPER ALT, SPACE, exec, ~/.config/hypr/sspaeti/omarchy-menu-flat 46 48 # fix for using SUPER ESC on KBDFans Keyboard 47 49 bind = SUPER, grave, exec, ~/.config/hypr/sspaeti/omarchy-system-menu 48 50
+28 -22
hypr/.config/hypr/sspaeti/omarchy-menu-flat
··· 21 21 fi 22 22 fi 23 23 24 - echo -e "$options" | walker --dmenu --theme dmenu_250 -p "$prompt…" "${args[@]}" 24 + # Removed --theme dmenu_250 as it doesn't exist in walker 2.x 25 + # Walker will use the default theme from config.toml 26 + # Use --exit to avoid using background service that might merge results 27 + echo -e "$options" | walker --dmenu --exit -p "$prompt…" "${args[@]}" 25 28 } 26 29 27 30 terminal() { ··· 32 35 omarchy-launch-floating-terminal-with-presentation $1 33 36 } 34 37 35 - edit_in_nvim() { 38 + open_in_editor() { 36 39 notify-send "Editing config file" "$1" 37 - alacritty -e nvim "$1" 40 + omarchy-launch-editor "$1" 38 41 } 39 42 40 43 install() { ··· 74 77 *Theme*) show_theme_menu ;; 75 78 *Font*) show_font_menu ;; 76 79 *Background*) omarchy-theme-bg-next ;; 77 - *Screensaver*) edit_in_nvim ~/.config/omarchy/branding/screensaver.txt ;; 80 + *Screensaver*) open_in_editor ~/.config/omarchy/branding/screensaver.txt ;; 78 81 *) show_main_menu ;; 79 82 esac 80 83 } ··· 150 153 blueberry 151 154 ;; 152 155 *Power*) show_setup_power_menu ;; 153 - *Monitors*) edit_in_nvim ~/.config/hypr/monitors.conf ;; 154 - *Keybindings*) edit_in_nvim ~/.config/hypr/bindings.conf ;; 155 - *Input*) edit_in_nvim ~/.config/hypr/input.conf ;; 156 + *Monitors*) open_in_editor ~/.config/hypr/monitors.conf ;; 157 + *Keybindings*) open_in_editor ~/.config/hypr/bindings.conf ;; 158 + *Input*) open_in_editor ~/.config/hypr/input.conf ;; 156 159 *DNS*) present_terminal omarchy-setup-dns ;; 157 160 *Config*) show_setup_config_menu ;; 158 161 *Fingerprint*) present_terminal omarchy-setup-fingerprint ;; ··· 173 176 174 177 show_setup_config_menu() { 175 178 case $(menu "Setup" " Hyprland\n Hypridle\n Hyprlock\n Hyprsunset\n Swayosd\n󰌧 Walker\n󰍜 Waybar\n󰞅 XCompose") in 176 - *Hyprland*) edit_in_nvim ~/.config/hypr/hyprland.conf ;; 177 - *Hypridle*) edit_in_nvim ~/.config/hypr/hypridle.conf && omarchy-restart-hypridle ;; 178 - *Hyprlock*) edit_in_nvim ~/.config/hypr/hyprlock.conf ;; 179 - *Hyprsunset*) edit_in_nvim ~/.config/hypr/hyprsunset.conf && omarchy-restart-hyprsunset ;; 180 - *Swayosd*) edit_in_nvim ~/.config/swayosd/config.toml && omarchy-restart-swayosd ;; 181 - *Walker*) edit_in_nvim ~/.config/walker/config.toml && omarchy-restart-walker ;; 182 - *Waybar*) edit_in_nvim ~/.config/waybar/config.jsonc && omarchy-restart-waybar ;; 183 - *XCompose*) edit_in_nvim ~/.XCompose && omarchy-restart-xcompose ;; 179 + *Hyprland*) open_in_editor ~/.config/hypr/hyprland.conf ;; 180 + *Hypridle*) open_in_editor ~/.config/hypr/hypridle.conf && omarchy-restart-hypridle ;; 181 + *Hyprlock*) open_in_editor ~/.config/hypr/hyprlock.conf ;; 182 + *Hyprsunset*) open_in_editor ~/.config/hypr/hyprsunset.conf && omarchy-restart-hyprsunset ;; 183 + *Swayosd*) open_in_editor ~/.config/swayosd/config.toml && omarchy-restart-swayosd ;; 184 + *Walker*) open_in_editor ~/.config/walker/config.toml && omarchy-restart-walker ;; 185 + *Waybar*) open_in_editor ~/.config/waybar/config.jsonc && omarchy-restart-waybar ;; 186 + *XCompose*) open_in_editor ~/.XCompose && omarchy-restart-xcompose ;; 184 187 *) show_main_menu ;; 185 188 esac 186 189 } ··· 393 396 flat_options="$flat_options\nRelaunch" 394 397 flat_options="$flat_options\nRestart" 395 398 flat_options="$flat_options\nShutdown" 396 - 397 - go_to_menu "$(menu "Go" "$flat_options")" 399 + 400 + selection="$(menu "Go" "$flat_options")" 401 + # Exit if cancelled (empty selection) 402 + [[ -z "$selection" ]] && exit 0 403 + go_to_menu "$selection" 398 404 } 399 405 400 406 go_to_menu() { ··· 405 411 *font*) show_font_menu ;; 406 412 *background*) omarchy-theme-bg-next ;; 407 413 *screensaver*) omarchy-toggle-screensaver ;; 408 - *audio*) alacritty --class=Wiremix -e wiremix ;; 409 - *wifi*) 414 + *audio*) setsid uwsm-app -- $TERMINAL --class=Wiremix -e wiremix & ;; 415 + *wifi*|*wlan*) 410 416 rfkill unblock wifi 411 - alacritty --class=Impala -e impala 417 + omarchy-launch-wifi 412 418 ;; 413 - *bluetooth*) 419 + *bluetooth*) 414 420 rfkill unblock bluetooth 415 421 blueberry 416 422 ;; 417 423 *power*profile*) show_setup_power_menu ;; 418 - *monitors*) edit_in_nvim ~/.config/hypr/monitors.conf ;; 424 + *monitors*) open_in_editor ~/.config/hypr/monitors.conf ;; 419 425 *dns*) present_terminal omarchy-setup-dns ;; 420 426 *docker*db*) present_terminal omarchy-install-docker-dbs ;; 421 427 *config*) show_setup_config_menu ;;
+9 -2
hypr/.config/hypr/sspaeti/omarchy-system-menu-intercept
··· 2 2 3 3 # Intercept script for omarchy-menu to add tmux-aware shutdown/restart 4 4 # This script wraps systemctl calls to use our custom system menu 5 + # Updated to use omarchy-state like the official omarchy-menu 6 + 7 + export PATH="$HOME/.local/share/omarchy/bin:$PATH" 5 8 6 9 if [[ "$1" == "poweroff" ]]; then 7 10 # Log to both journal and persistent file ··· 19 22 logger -t "omarchy-shutdown" "tmux kill-server completed" 20 23 echo "$(date): tmux kill-server completed" >> /var/log/omarchy-shutdown.log 21 24 fi 22 - exec /usr/bin/systemctl poweroff 25 + # Use omarchy-state to clear restart-required notifications before shutdown 26 + omarchy-state clear re*-required 27 + exec /usr/bin/systemctl poweroff --no-wall 23 28 elif [[ "$1" == "reboot" ]]; then 24 29 # Log to both journal and persistent file 25 30 logger -t "omarchy-shutdown" "Shutdown script called - reboot" ··· 36 41 logger -t "omarchy-shutdown" "tmux kill-server completed" 37 42 echo "$(date): tmux kill-server completed" >> /var/log/omarchy-shutdown.log 38 43 fi 39 - exec /usr/bin/systemctl reboot 44 + # Use omarchy-state to clear restart-required notifications before reboot 45 + omarchy-state clear re*-required 46 + exec /usr/bin/systemctl reboot --no-wall 40 47 else 41 48 # For all other systemctl commands, pass through normally 42 49 exec /usr/bin/systemctl "$@"