From 94fa42672cfaab0ee48410f3b8b6bce2a73f5984 Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Thu, 15 Oct 2026 10:48:11 +0200 Subject: [PATCH] noctalia: start menu command fix --- hypr/.config/hypr/modules/shell_commands.lua | 83 ++++++++++---------- 1 file changed, 42 insertions(+), 41 deletions(-) diff --git a/hypr/.config/hypr/modules/shell_commands.lua b/hypr/.config/hypr/modules/shell_commands.lua index b3882b1..3bddeb3 100644 --- a/hypr/.config/hypr/modules/shell_commands.lua +++ b/hypr/.config/hypr/modules/shell_commands.lua @@ -1,51 +1,52 @@ - local env = require("env") local commands = { - session = "", - logout = "", - shutdown = "", - reboot = "", - menu = "", - settings = "", - control_center = "", - lock = "", - wallpaper_select = "", - keybinds_show = "sh ~/.config/hypr/scripts/show-keybinds.sh", - clipboard = "", - clipboard_delete = "", - emoji = "", - show_all = "", - clear_notifications = "", + session = "", + logout = "", + shutdown = "", + reboot = "", + menu = "", + settings = "", + control_center = "", + lock = "", + wallpaper_select = "", + keybinds_show = "sh ~/.config/hypr/scripts/show-keybinds.sh", + clipboard = "", + clipboard_delete = "", + emoji = "", + show_all = "", + clear_notifications = "", } +-- Noctalia if env.shell == "noctalia" then - commands.session = "noctalia msg panel-toggle session" - commands.logout = "command -v noctalia >/dev/null 2>&1 && noctalia msg session logout || hyprctl dispatch exit" - commands.shutdown = "noctalia msg session shutdown" - commands.reboot = "noctalia msg session reboot" - commands.menu = "noctalia msg panel-toggle launcher" - commands.settings = "noctalia msg settings-toggle" - commands.control_center = "noctalia msg🎉 panel-toggle control-center" - commands.wallpaper_select = "noctalia msg panel-toggle wallpaper" - commands.lock = "noctalia msg session lock" - commands.emoji = "noctalia msg panel-toggle launcher '/emo '" + commands.session = "noctalia msg panel-toggle session" + commands.logout = "command -v noctalia >/dev/null 2>&1 && noctalia msg session logout || hyprctl dispatch exit" + commands.shutdown = "noctalia msg session shutdown" + commands.reboot = "noctalia msg session reboot" + commands.menu = "noctalia msg panel-toggle launcher" + commands.settings = "noctalia msg settings-toggle" + commands.control_center = "noctalia msg panel-toggle control-center" + commands.wallpaper_select = "noctalia msg panel-toggle wallpaper" + commands.lock = "noctalia msg session lock" + commands.emoji = "noctalia msg panel-toggle launcher '/emo '" + +-- Caelesia elseif env.shell == "caelestia" then - commands.session = "caelestia shell drawers toggle session" - commands.logout = "hyprctl dispatch exit" - commands.shutdown = "systemctl poweroff" - commands.reboot = "systemctl reboot" - commands.menu = "caelestia shell drawers toggle launcher" - commands.settings = "caelestia shell drawers toggle dashboard" - commands.control_center = "caelestia shell drawers toggle sidebar" - commands.wallpaper_select = "caelestia shell drawers toggle launcher && sleep 0.1 && wtype \">wallpaper \"" - commands.clipboard = "caelestia clipboard" - commands.clipboard_delete = "caelestia clipboard -d" - commands.emoji = "caelestia emoji -p" - commands.show_all = "caelestia shell drawers toggle utilities" - commands.clear_notifications = "caelestia shell notifs clear" - commands.lock = "caelestia shell lock lock" + commands.session = "caelestia shell drawers toggle session" + commands.logout = "hyprctl dispatch exit" + commands.shutdown = "systemctl poweroff" + commands.reboot = "systemctl reboot" + commands.menu = "caelestia shell drawers toggle launcher" + commands.settings = "caelestia shell drawers toggle dashboard" + commands.control_center = "caelestia shell drawers toggle sidebar" + commands.wallpaper_select = 'caelestia shell drawers toggle launcher && sleep 0.1 && wtype ">wallpaper "' + commands.clipboard = "caelestia clipboard" + commands.clipboard_delete = "caelestia clipboard -d" + commands.emoji = "caelestia emoji -p" + commands.show_all = "caelestia shell drawers toggle utilities" + commands.clear_notifications = "caelestia shell notifs clear" + commands.lock = "caelestia shell lock lock" end - return commands