Sync current Hyprland widgets
This commit is contained in:
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user