merge hypr-caelestia with conflict resolution

This commit is contained in:
2026-09-25 11:57:58 +02:00
9 changed files with 74 additions and 22 deletions
+2 -3
View File
@@ -33,6 +33,8 @@ local env = require("env")
hl.on("hyprland.start", function()
if env.shell == "noctalia" then
hl.exec_cmd("noctalia &")
elseif env.shell == "caelestia" then
hl.exec_cmd("caelestia shell -d")
end
hl.exec_cmd("hypridle &")
hl.exec_cmd("sh ~/.config/hypr/scripts/portal-host-override.sh")
@@ -47,6 +49,3 @@ require("modules.windows_and_workspaces")
-- HyprMod managed settings
require("hyprland-gui")
-- For Noctalia Color templates
require("noctalia").apply_theme()
+6
View File
@@ -230,3 +230,9 @@ hl.bind(var.mainMod .. " + L", hl.dsp.exec_cmd(command.lock), { locked = true, d
hl.bind(var.mainMod .. " + SHIFT + L", hl.dsp.exec_cmd(command.screensaver), { description = "Start screensaver (any key quits)" })
hl.bind(var.mainMod .. " + K", hl.dsp.exec_cmd(command.keybinds_show), { description = "Show keybind overview" })
hl.bind(var.mainMod .. " + W", hl.dsp.exec_cmd(command.wallpaper_select), { description = "Wallpaper select" })
-- Caelestia extras
hl.bind(var.mainMod .. " + SHIFT + V", hl.dsp.exec_cmd(command.clipboard), { description = "Clipboard history" })
hl.bind(var.mainMod .. " + period", hl.dsp.exec_cmd(command.emoji), { description = "Emoji picker" })
hl.bind(var.mainMod .. " + SHIFT + K", hl.dsp.exec_cmd(command.show_all), { description = "Toggle utilities" })
hl.bind("CTRL + ALT + C", hl.dsp.exec_cmd(command.clear_notifications), { description = "Clear notifications" })
+21 -18
View File
@@ -12,7 +12,12 @@ local commands = {
lock = "",
screensaver = "sh ~/.config/hypr/scripts/screensaver-start.sh force",
wallpaper_select = "",
keybinds_show = "",
keybinds_show = "sh ~/.config/hypr/scripts/show-keybinds.sh",
clipboard = "",
clipboard_delete = "",
emoji = "",
show_all = "",
clear_notifications = "",
}
if env.shell == "noctalia" then
@@ -25,24 +30,22 @@ if env.shell == "noctalia" then
commands.control_center = "noctalia msg panel-toggle control-center"
commands.lock = "noctalia msg session lock"
commands.wallpaper_select = "noctalia msg panel-toggle wallpaper"
commands.keybinds_show = "sh ~/.config/hypr/scripts/show-keybinds.sh"
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.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"
commands.emoji = "caelestia emoji -p"
commands.show_all = "caelestia shell drawers toggle utilities"
commands.clear_notifications = "caelestia shell notifs clear"
end
return commands
-- return {
-- session = "noctalia msg panel-toggle session",
-- logout = "command -v noctalia >/dev/null 2>&1 && noctalia msg session logout || hyprctl dispatch exit",
-- shutdown = "noctalia msg session shutdown",
-- reboot = "noctalia msg session reboot",
-- menu = "noctalia msg panel-toggle launcher",
-- settings = "noctalia msg settings-toggle",
-- control_center = "noctalia msg panel-toggle control-center",
-- lock = "noctalia msg session lock",
-- screensaver = "sh ~/.config/hypr/scripts/screensaver-start.sh force",
-- wallpaper_select = "noctalia msg panel-toggle wallpaper",
-- keybinds_show = "sh ~/.config/hypr/scripts/show-keybinds.sh",
-- }
@@ -76,6 +76,16 @@ hl.layer_rule({
blur = true,
blur_popups = true,
})
hl.layer_rule({
name = "caelestia",
match = {
namespace = "^caelestia-.*$",
},
no_anim = true,
ignore_alpha = 0.5,
blur = true,
blur_popups = true,
})
hl.window_rule({
name = "noctalia-settings",
match = {
+2
View File
@@ -1,2 +1,4 @@
hyprland
// idle looks good on you
ArchTop is relaxing 🧘