Sync current Hyprland widgets

This commit is contained in:
Pascal
2026-04-28 18:25:20 +02:00
parent b4e4081f25
commit 25f0e3653e
8 changed files with 925 additions and 19 deletions

View File

@@ -322,11 +322,41 @@ docker_menu() {
esac
}
launch_codex() {
if ! command -v kitty >/dev/null 2>&1; then
notify "kitty ist nicht installiert."
return 0
fi
if ! command -v codex >/dev/null 2>&1; then
notify "codex ist nicht installiert."
return 0
fi
kitty --title "Codex" sh -lc 'cd "$HOME" && exec codex' >/dev/null 2>&1 &
}
launch_opencode() {
if ! command -v kitty >/dev/null 2>&1; then
notify "kitty ist nicht installiert."
return 0
fi
if ! command -v opencode >/dev/null 2>&1; then
notify "opencode ist nicht installiert."
return 0
fi
kitty --title "opencode" sh -lc 'cd "$HOME" && exec opencode' >/dev/null 2>&1 &
}
choice="$(
printf '%s\n' \
"📁 Projekt Management" \
"󰌘 Homelab Controlcenter" \
"🐳 Docker Control" \
"󰚩 Codex" \
"󰚩 opencode" \
" Terminal" \
" Projektordner" \
" VS Code / Codium" \
@@ -344,6 +374,12 @@ case "$choice" in
*"Docker Control"*)
docker_menu
;;
*"Codex"*)
launch_codex
;;
*"opencode"*)
launch_opencode
;;
*"Terminal"*)
kitty
;;