hypr: fix noctalia idle
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
|
||||
local env = require("env")
|
||||
|
||||
-- Shell-agnostic on purpose: the active shell is resolved inside lock.sh from
|
||||
-- env.lua, so hypridle's lock_cmd and this bind cannot drift apart.
|
||||
local LOCK = "~/.config/hypr/scripts/lock.sh"
|
||||
|
||||
local commands = {
|
||||
session = "",
|
||||
logout = "",
|
||||
@@ -9,7 +13,7 @@ local commands = {
|
||||
menu = "",
|
||||
settings = "",
|
||||
control_center = "",
|
||||
lock = "",
|
||||
lock = LOCK,
|
||||
screensaver = "sh ~/.config/hypr/scripts/screensaver-start.sh force",
|
||||
wallpaper_select = "",
|
||||
keybinds_show = "sh ~/.config/hypr/scripts/show-keybinds.sh",
|
||||
@@ -28,7 +32,6 @@ if env.shell == "noctalia" then
|
||||
commands.menu = "noctalia msg panel-toggle launcher"
|
||||
commands.settings = "noctalia msg settings-toggle"
|
||||
commands.control_center = "noctalia msg panel-toggle control-center"
|
||||
commands.lock = "noctalia msg session lock"
|
||||
commands.wallpaper_select = "noctalia msg panel-toggle wallpaper"
|
||||
elseif env.shell == "caelestia" then
|
||||
commands.session = "caelestia shell drawers toggle session"
|
||||
@@ -38,7 +41,6 @@ elseif env.shell == "caelestia" then
|
||||
commands.menu = "caelestia shell drawers toggle launcher"
|
||||
commands.settings = "caelestia shell drawers toggle dashboard"
|
||||
commands.control_center = "caelestia shell drawers toggle sidebar"
|
||||
commands.lock = "caelestia shell lock lock"
|
||||
commands.wallpaper_select = "caelestia shell drawers toggle launcher && sleep 0.1 && wtype \">wallpaper \""
|
||||
commands.clipboard = "caelestia clipboard"
|
||||
commands.clipboard_delete = "caelestia clipboard -d"
|
||||
|
||||
Reference in New Issue
Block a user