noctalia: start menu command fix
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
local env = require("env")
|
local env = require("env")
|
||||||
|
|
||||||
local commands = {
|
local commands = {
|
||||||
@@ -19,6 +18,7 @@ local commands = {
|
|||||||
clear_notifications = "",
|
clear_notifications = "",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- Noctalia
|
||||||
if env.shell == "noctalia" then
|
if env.shell == "noctalia" then
|
||||||
commands.session = "noctalia msg panel-toggle session"
|
commands.session = "noctalia msg panel-toggle session"
|
||||||
commands.logout = "command -v noctalia >/dev/null 2>&1 && noctalia msg session logout || hyprctl dispatch exit"
|
commands.logout = "command -v noctalia >/dev/null 2>&1 && noctalia msg session logout || hyprctl dispatch exit"
|
||||||
@@ -26,10 +26,12 @@ if env.shell == "noctalia" then
|
|||||||
commands.reboot = "noctalia msg session reboot"
|
commands.reboot = "noctalia msg session reboot"
|
||||||
commands.menu = "noctalia msg panel-toggle launcher"
|
commands.menu = "noctalia msg panel-toggle launcher"
|
||||||
commands.settings = "noctalia msg settings-toggle"
|
commands.settings = "noctalia msg settings-toggle"
|
||||||
commands.control_center = "noctalia msg🎉 panel-toggle control-center"
|
commands.control_center = "noctalia msg panel-toggle control-center"
|
||||||
commands.wallpaper_select = "noctalia msg panel-toggle wallpaper"
|
commands.wallpaper_select = "noctalia msg panel-toggle wallpaper"
|
||||||
commands.lock = "noctalia msg session lock"
|
commands.lock = "noctalia msg session lock"
|
||||||
commands.emoji = "noctalia msg panel-toggle launcher '/emo '"
|
commands.emoji = "noctalia msg panel-toggle launcher '/emo '"
|
||||||
|
|
||||||
|
-- Caelesia
|
||||||
elseif env.shell == "caelestia" then
|
elseif env.shell == "caelestia" then
|
||||||
commands.session = "caelestia shell drawers toggle session"
|
commands.session = "caelestia shell drawers toggle session"
|
||||||
commands.logout = "hyprctl dispatch exit"
|
commands.logout = "hyprctl dispatch exit"
|
||||||
@@ -38,7 +40,7 @@ elseif env.shell == "caelestia" then
|
|||||||
commands.menu = "caelestia shell drawers toggle launcher"
|
commands.menu = "caelestia shell drawers toggle launcher"
|
||||||
commands.settings = "caelestia shell drawers toggle dashboard"
|
commands.settings = "caelestia shell drawers toggle dashboard"
|
||||||
commands.control_center = "caelestia shell drawers toggle sidebar"
|
commands.control_center = "caelestia shell drawers toggle sidebar"
|
||||||
commands.wallpaper_select = "caelestia shell drawers toggle launcher && sleep 0.1 && wtype \">wallpaper \""
|
commands.wallpaper_select = 'caelestia shell drawers toggle launcher && sleep 0.1 && wtype ">wallpaper "'
|
||||||
commands.clipboard = "caelestia clipboard"
|
commands.clipboard = "caelestia clipboard"
|
||||||
commands.clipboard_delete = "caelestia clipboard -d"
|
commands.clipboard_delete = "caelestia clipboard -d"
|
||||||
commands.emoji = "caelestia emoji -p"
|
commands.emoji = "caelestia emoji -p"
|
||||||
@@ -47,5 +49,4 @@ elseif env.shell == "caelestia" then
|
|||||||
commands.lock = "caelestia shell lock lock"
|
commands.lock = "caelestia shell lock lock"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
return commands
|
return commands
|
||||||
|
|||||||
Reference in New Issue
Block a user