clone of my dotfiles.ssp.sh
1
fork

Configure Feed

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

flat menu

sspaeti 7bd73283 7def8df1

+249 -6
+2 -1
hypr/.config/hypr/bindings.conf
··· 43 43 bindd = SUPER, ESCAPE, Power menu, exec, ~/.config/hypr/sspaeti/omarchy-system-menu 44 44 45 45 # omarchy menu 46 + unbind = SUPER ALT, SPACE 46 47 bind = SUPER CTRL ALT, SPACE, exec, ~/.config/hypr/sspaeti/omarchy-menu 47 - bind = SUPER ALT, SPACE, exec, ~/.config/hypr/sspaeti/omarchy-menu-flat 48 + bind = SUPER ALT, SPACE, exec, ~/.config/hypr/sspaeti/omarchy-menu-flat2 48 49 # fix for using SUPER ESC on KBDFans Keyboard 49 50 bind = SUPER, grave, exec, ~/.config/hypr/sspaeti/omarchy-system-menu 50 51
+19 -5
hypr/.config/hypr/sspaeti/omarchy-menu-flat
··· 23 23 24 24 # Removed --theme dmenu_250 as it doesn't exist in walker 2.x 25 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[@]}" 26 + # Use omarchy-launch-walker like the official menu does 27 + echo -e "$options" | omarchy-launch-walker --dmenu --width 295 --minheight 1 --maxheight 600 -p "$prompt…" "${args[@]}" 2>/dev/null 28 28 } 29 29 30 30 terminal() { ··· 368 368 } 369 369 370 370 show_main_menu() { 371 + logger -t "omarchy-menu-flat" "show_main_menu called" 371 372 # Only show the direct action options, no icons for clean text-only search 372 373 local flat_options="Apps" 373 374 flat_options="$flat_options\nKeybindings" ··· 400 401 selection="$(menu "Go" "$flat_options")" 401 402 # Exit if cancelled (empty selection) 402 403 [[ -z "$selection" ]] && exit 0 404 + # Debug logging 405 + logger -t "omarchy-menu-flat" "Selected: '$selection'" 403 406 go_to_menu "$selection" 404 407 } 405 408 406 409 go_to_menu() { 407 - case "${1,,}" in 408 - *apps*) walker -p "Launch…" ;; 410 + local selection_lower="${1,,}" 411 + logger -t "omarchy-menu-flat" "go_to_menu called with: '$1' (lowercase: '$selection_lower')" 412 + 413 + case "$selection_lower" in 414 + *apps*) 415 + logger -t "omarchy-menu-flat" "Matched: apps" 416 + walker -p "Launch…" ;; 409 417 *keybindings*) omarchy-menu-keybindings ;; 410 418 *theme*) show_theme_menu ;; 411 419 *font*) show_font_menu ;; 412 420 *background*) omarchy-theme-bg-next ;; 413 421 *screensaver*) omarchy-toggle-screensaver ;; 414 - *audio*) setsid uwsm-app -- $TERMINAL --class=Wiremix -e wiremix & ;; 422 + *audio*) 423 + logger -t "omarchy-menu-flat" "Matched: audio - launching wiremix" 424 + setsid uwsm-app -- $TERMINAL --class=Wiremix -e wiremix & ;; 415 425 *wifi*|*wlan*) 426 + logger -t "omarchy-menu-flat" "Matched: wifi/wlan" 416 427 rfkill unblock wifi 417 428 omarchy-launch-wifi 418 429 ;; ··· 439 450 *relaunch*) uwsm stop ;; 440 451 *restart*) ~/.config/hypr/sspaeti/omarchy-system-menu-intercept reboot ;; 441 452 *shutdown*) ~/.config/hypr/sspaeti/omarchy-system-menu-intercept poweroff ;; 453 + *) 454 + logger -t "omarchy-menu-flat" "No match found for: '$1'" 455 + ;; 442 456 esac 443 457 } 444 458
+228
hypr/.config/hypr/sspaeti/omarchy-menu-flat2
··· 1 + #!/bin/bash 2 + 3 + # Flattened omarchy menu - all actions in a single searchable list 4 + # Based on /home/sspaeti/.local/share/omarchy/bin/omarchy-menu 5 + 6 + export PATH="$HOME/.local/share/omarchy/bin:$PATH" 7 + 8 + # Set TERMINAL if not already set (needed when running from keybinds) 9 + export TERMINAL="${TERMINAL:-alacritty}" 10 + 11 + # Main flat menu with all actions 12 + selection=$(echo -e "\ 13 + Apps 14 + Keybindings 15 + Omarchy Manual 16 + Hyprland Wiki 17 + Arch Wiki 18 + Neovim Keymaps 19 + Bash Cheatsheet 20 + Theme 21 + Font 22 + Background 23 + Screensaver Config 24 + Screenshot 25 + Screenrecord 26 + Color Picker 27 + Toggle Screensaver 28 + Toggle Nightlight 29 + Toggle Idle Lock 30 + Toggle Waybar 31 + Audio 32 + Wifi 33 + Bluetooth 34 + Power Profile 35 + Monitors 36 + Keybindings Config 37 + Input Config 38 + Defaults Config 39 + DNS Setup 40 + Fingerprint Setup 41 + Fido2 Setup 42 + Hyprland Config 43 + Hypridle Config 44 + Hyprlock Config 45 + Hyprsunset Config 46 + Swayosd Config 47 + Walker Config 48 + Waybar Config 49 + XCompose Config 50 + Install Package 51 + Install AUR 52 + Install Web App 53 + Install TUI 54 + Install Dropbox 55 + Install Tailscale 56 + Install Bitwarden 57 + Install Chromium Account 58 + Install VSCode 59 + Install Cursor 60 + Install Zed 61 + Install Sublime Text 62 + Install Helix 63 + Install Emacs 64 + Install Alacritty 65 + Install Ghostty 66 + Install Kitty 67 + Install Claude Code 68 + Install Gemini 69 + Install LM Studio 70 + Install Ollama 71 + Install Crush 72 + Install opencode 73 + Install Steam 74 + Install RetroArch 75 + Install Minecraft 76 + Install Theme 77 + Install Font 78 + Install Development 79 + Remove Package 80 + Remove Web App 81 + Remove TUI 82 + Remove Theme 83 + Remove Windows VM 84 + Remove Fingerprint 85 + Remove Fido2 86 + Update Omarchy 87 + Update Branch 88 + Update Config 89 + Update Extra Themes 90 + Update Firmware 91 + Update Timezone 92 + Update Password 93 + Restart Hypridle 94 + Restart Hyprsunset 95 + Restart Swayosd 96 + Restart Walker 97 + Restart Waybar 98 + Restart Audio 99 + Restart Wifi 100 + Restart Bluetooth 101 + Lock Screen 102 + Launch Screensaver 103 + Suspend 104 + Relaunch Hyprland 105 + Restart System 106 + Shutdown System" | omarchy-launch-walker --dmenu --width 295 --minheight 1 --maxheight 600 -p "Action…" 2>/dev/null) 107 + 108 + # Exit if cancelled 109 + [[ -z "$selection" ]] && exit 0 110 + 111 + # Log the selection for debugging 112 + logger -t "omarchy-menu-flat2" "Selected: '$selection', TERMINAL='$TERMINAL'" 113 + 114 + # Execute based on selection 115 + case "$selection" in 116 + "Apps") walker -p "Launch…" ;; 117 + "Keybindings") omarchy-menu-keybindings ;; 118 + "Omarchy Manual") omarchy-launch-webapp "https://learn.omacom.io/2/the-omarchy-manual" ;; 119 + "Hyprland Wiki") omarchy-launch-webapp "https://wiki.hypr.land/" ;; 120 + "Arch Wiki") omarchy-launch-webapp "https://wiki.archlinux.org/title/Main_page" ;; 121 + "Neovim Keymaps") omarchy-launch-webapp "https://www.lazyvim.org/keymaps" ;; 122 + "Bash Cheatsheet") omarchy-launch-webapp "https://devhints.io/bash" ;; 123 + 124 + "Theme") omarchy-menu theme ;; 125 + "Font") omarchy-menu font ;; 126 + "Background") omarchy-theme-bg-next ;; 127 + "Screensaver Config") open_in_editor ~/.config/omarchy/branding/screensaver.txt ;; 128 + 129 + "Screenshot") omarchy-menu screenshot ;; 130 + "Screenrecord") omarchy-menu screenrecord ;; 131 + "Color Picker") pkill hyprpicker || hyprpicker -a ;; 132 + 133 + "Toggle Screensaver") omarchy-toggle-screensaver ;; 134 + "Toggle Nightlight") omarchy-toggle-nightlight ;; 135 + "Toggle Idle Lock") omarchy-toggle-idle ;; 136 + "Toggle Waybar") omarchy-toggle-waybar ;; 137 + 138 + "Audio") 139 + logger -t "omarchy-menu-flat2" "Launching: $TERMINAL --class=Wiremix -e wiremix" 140 + $TERMINAL --class=Wiremix -e wiremix ;; 141 + 142 + "Wifi") rfkill unblock wifi && omarchy-launch-wifi ;; 143 + "Bluetooth") rfkill unblock bluetooth && blueberry ;; 144 + "Power Profile") omarchy-menu power ;; 145 + "Monitors") open_in_editor ~/.config/hypr/monitors.conf ;; 146 + "Keybindings Config") open_in_editor ~/.config/hypr/bindings.conf ;; 147 + "Input Config") open_in_editor ~/.config/hypr/input.conf ;; 148 + "Defaults Config") open_in_editor ~/.config/uwsm/default ;; 149 + "DNS Setup") omarchy-launch-floating-terminal-with-presentation omarchy-setup-dns ;; 150 + "Fingerprint Setup") omarchy-launch-floating-terminal-with-presentation omarchy-setup-fingerprint ;; 151 + "Fido2 Setup") omarchy-launch-floating-terminal-with-presentation omarchy-setup-fido2 ;; 152 + 153 + "Hyprland Config") open_in_editor ~/.config/hypr/hyprland.conf ;; 154 + "Hypridle Config") open_in_editor ~/.config/hypr/hypridle.conf && omarchy-restart-hypridle ;; 155 + "Hyprlock Config") open_in_editor ~/.config/hypr/hyprlock.conf ;; 156 + "Hyprsunset Config") open_in_editor ~/.config/hypr/hyprsunset.conf && omarchy-restart-hyprsunset ;; 157 + "Swayosd Config") open_in_editor ~/.config/swayosd/config.toml && omarchy-restart-swayosd ;; 158 + "Walker Config") open_in_editor ~/.config/walker/config.toml && omarchy-restart-walker ;; 159 + "Waybar Config") open_in_editor ~/.config/waybar/config.jsonc && omarchy-restart-waybar ;; 160 + "XCompose Config") open_in_editor ~/.XCompose && omarchy-restart-xcompose ;; 161 + 162 + "Install Package") $TERMINAL -e omarchy-pkg-install ;; 163 + "Install AUR") $TERMINAL -e omarchy-pkg-aur-install ;; 164 + "Install Web App") omarchy-launch-floating-terminal-with-presentation omarchy-webapp-install ;; 165 + "Install TUI") omarchy-launch-floating-terminal-with-presentation omarchy-tui-install ;; 166 + "Install Dropbox") omarchy-launch-floating-terminal-with-presentation omarchy-install-dropbox ;; 167 + "Install Tailscale") omarchy-launch-floating-terminal-with-presentation omarchy-install-tailscale ;; 168 + "Install Bitwarden") omarchy-launch-floating-terminal-with-presentation "echo 'Installing Bitwarden...'; sudo pacman -S --noconfirm bitwarden bitwarden-cli && setsid gtk-launch bitwarden" ;; 169 + "Install Chromium Account") omarchy-launch-floating-terminal-with-presentation omarchy-install-chromium-google-account ;; 170 + 171 + "Install VSCode") omarchy-launch-floating-terminal-with-presentation omarchy-install-vscode ;; 172 + "Install Cursor") omarchy-launch-floating-terminal-with-presentation "echo 'Installing Cursor from AUR...'; yay -S --noconfirm cursor-bin && setsid gtk-launch cursor" ;; 173 + "Install Zed") omarchy-launch-floating-terminal-with-presentation "echo 'Installing Zed...'; sudo pacman -S --noconfirm zed && setsid gtk-launch dev.zed.Zed" ;; 174 + "Install Sublime Text") omarchy-launch-floating-terminal-with-presentation "echo 'Installing Sublime Text from AUR...'; yay -S --noconfirm sublime-text-4 && setsid gtk-launch sublime_text" ;; 175 + "Install Helix") omarchy-launch-floating-terminal-with-presentation "echo 'Installing Helix...'; sudo pacman -S --noconfirm helix" ;; 176 + "Install Emacs") omarchy-launch-floating-terminal-with-presentation "echo 'Installing Emacs...'; sudo pacman -S --noconfirm emacs-wayland && systemctl --user enable --now emacs.service" ;; 177 + 178 + "Install Alacritty") omarchy-launch-floating-terminal-with-presentation "omarchy-install-terminal alacritty" ;; 179 + "Install Ghostty") omarchy-launch-floating-terminal-with-presentation "omarchy-install-terminal ghostty" ;; 180 + "Install Kitty") omarchy-launch-floating-terminal-with-presentation "omarchy-install-terminal kitty" ;; 181 + 182 + "Install Claude Code") omarchy-launch-floating-terminal-with-presentation "echo 'Installing Claude Code...'; sudo pacman -S --noconfirm claude-code" ;; 183 + "Install Gemini") omarchy-launch-floating-terminal-with-presentation "echo 'Installing Gemini...'; sudo pacman -S --noconfirm gemini-cli" ;; 184 + "Install LM Studio") omarchy-launch-floating-terminal-with-presentation "echo 'Installing LM Studio from AUR...'; yay -S --noconfirm lmstudio" ;; 185 + "Install Ollama") omarchy-launch-floating-terminal-with-presentation "echo 'Installing Ollama...'; sudo pacman -S --noconfirm ollama" ;; 186 + "Install Crush") omarchy-launch-floating-terminal-with-presentation "echo 'Installing Crush from AUR...'; yay -S --noconfirm crush-bin" ;; 187 + "Install opencode") omarchy-launch-floating-terminal-with-presentation "echo 'Installing opencode from AUR...'; yay -S --noconfirm opencode-bin" ;; 188 + 189 + "Install Steam") omarchy-launch-floating-terminal-with-presentation omarchy-install-steam ;; 190 + "Install RetroArch") omarchy-launch-floating-terminal-with-presentation "echo 'Installing RetroArch from AUR...'; yay -S --noconfirm retroarch retroarch-assets libretro libretro-fbneo && setsid gtk-launch com.libretro.RetroArch.desktop" ;; 191 + "Install Minecraft") omarchy-launch-floating-terminal-with-presentation "echo 'Installing Minecraft...'; sudo pacman -S --noconfirm minecraft-launcher && setsid gtk-launch minecraft-launcher" ;; 192 + 193 + "Install Theme") omarchy-launch-floating-terminal-with-presentation omarchy-theme-install ;; 194 + "Install Font") omarchy-menu "Install Font" ;; 195 + "Install Development") omarchy-menu "Install Development" ;; 196 + 197 + "Remove Package") $TERMINAL -e omarchy-pkg-remove ;; 198 + "Remove Web App") omarchy-launch-floating-terminal-with-presentation omarchy-webapp-remove ;; 199 + "Remove TUI") omarchy-launch-floating-terminal-with-presentation omarchy-tui-remove ;; 200 + "Remove Theme") omarchy-launch-floating-terminal-with-presentation omarchy-theme-remove ;; 201 + "Remove Windows VM") omarchy-launch-floating-terminal-with-presentation "omarchy-windows-vm remove" ;; 202 + "Remove Fingerprint") omarchy-launch-floating-terminal-with-presentation "omarchy-setup-fingerprint --remove" ;; 203 + "Remove Fido2") omarchy-launch-floating-terminal-with-presentation "omarchy-setup-fido2 --remove" ;; 204 + 205 + "Update Omarchy") omarchy-launch-floating-terminal-with-presentation omarchy-update ;; 206 + "Update Branch") omarchy-menu "Update Branch" ;; 207 + "Update Config") omarchy-menu "Update Config" ;; 208 + "Update Extra Themes") omarchy-launch-floating-terminal-with-presentation omarchy-theme-update ;; 209 + "Update Firmware") omarchy-launch-floating-terminal-with-presentation omarchy-update-firmware ;; 210 + "Update Timezone") omarchy-launch-floating-terminal-with-presentation omarchy-tz-select ;; 211 + "Update Password") omarchy-menu "Update Password" ;; 212 + 213 + "Restart Hypridle") omarchy-restart-hypridle ;; 214 + "Restart Hyprsunset") omarchy-restart-hyprsunset ;; 215 + "Restart Swayosd") omarchy-restart-swayosd ;; 216 + "Restart Walker") omarchy-restart-walker ;; 217 + "Restart Waybar") omarchy-restart-waybar ;; 218 + "Restart Audio") omarchy-launch-floating-terminal-with-presentation omarchy-restart-pipewire ;; 219 + "Restart Wifi") omarchy-launch-floating-terminal-with-presentation omarchy-restart-wifi ;; 220 + "Restart Bluetooth") omarchy-launch-floating-terminal-with-presentation omarchy-restart-bluetooth ;; 221 + 222 + "Lock Screen") omarchy-lock-screen ;; 223 + "Launch Screensaver") omarchy-launch-screensaver force ;; 224 + "Suspend") systemctl suspend ;; 225 + "Relaunch Hyprland") uwsm stop ;; 226 + "Restart System") ~/.config/hypr/sspaeti/omarchy-system-menu-intercept reboot ;; 227 + "Shutdown System") ~/.config/hypr/sspaeti/omarchy-system-menu-intercept poweroff ;; 228 + esac