Files
Omeron/dotfiles/hypr/Scripts/main-menu.sh
Pepe44DEV be7bffc1e5 Initial commit: Omeron modular Hyprland setup framework
- Modular installer with gum-based TUI
- Fresh-install detection with auto GPU driver selection
- Preflight module for system detection (Intel/AMD/NVIDIA)
- Core modules: packages, dotfiles, services, SDDM
- Optional software installer (Obsidian, Neovim, VS Code, etc.)
- Homelab config module with dynamic AGS integration
- Two complete themes: Forest Neon and Rose Night
- 19 Hyprland control scripts + 4 AGS widgets
- Idempotent dotfile deployment with automatic backup
- YAML-based configuration, extensible module system
- Full logging to ~/.local/share/omeron/
2026-05-27 20:51:58 +02:00

50 lines
1011 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
if pgrep -x wofi >/dev/null; then
pkill -x wofi
exit 0
fi
choice="$(
printf '%s\n' \
"󰀻 Apps" \
"󰅩 Dev Menue" \
"󰒓 Einstellungen" \
" Terminal" \
" Dateien" \
"󰑓 Hyprland neu laden" \
"󰍃 Session beenden" |
wofi --dmenu --prompt "󰣇 Hauptmenue" --insensitive
)"
case "$choice" in
*"Apps"*)
wofi --show drun
;;
*"Dev Menue"*)
"$SCRIPT_DIR/dev-menu.sh"
;;
*"Einstellungen"*)
"$SCRIPT_DIR/settings-menu.sh"
;;
*"Terminal"*)
kitty
;;
*"Dateien"*)
nautilus
;;
*"Hyprland neu laden"*)
hyprctl reload
;;
*"Session beenden"*)
if command -v hyprshutdown >/dev/null 2>&1; then
hyprshutdown
else
hyprctl dispatch exit
fi
;;
esac