From d3b0782e842a79ab74df258d368c8b3970aed857 Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 1 Sep 2026 22:54:24 +0200 Subject: [PATCH] change keybind for wallpaper --- .config/hypr/custom/workspacerules.lua | 2 +- .config/hypr/hyprland.lua | 7 ++----- .config/hypr/hyprland/keybinds.lua | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.config/hypr/custom/workspacerules.lua b/.config/hypr/custom/workspacerules.lua index 3c68a7c..b79d022 100644 --- a/.config/hypr/custom/workspacerules.lua +++ b/.config/hypr/custom/workspacerules.lua @@ -1,4 +1,4 @@ hl.workspace_rule({ workspace = "1", monitor = "eDP-1", persistent = true, default_name = "web" }) -hl.workspace_rule({ workspace = "2", monitor = "eDP-1", persistent = true, default_name = "code" }) +--hl.workspace_rule({ workspace = "2", monitor = "eDP-1", persistent = true, default_name = "code" }) -- hl.workspace_rule({ workspace = "3", monitor = "eDP-1", persistent = true, default_name = "chat" }) -- hl.workspace_rule({ workspace = "4", monitor = "eDP-1", persistent = true, default_name = "game" }) diff --git a/.config/hypr/hyprland.lua b/.config/hypr/hyprland.lua index 1ca35f2..0703d76 100644 --- a/.config/hypr/hyprland.lua +++ b/.config/hypr/hyprland.lua @@ -24,10 +24,7 @@ require("custom/environments") require("custom/inputs") require("custom/keybinds") require("custom/windowrules") - --- Noctalia generates a hyprlang colours file; load it last so it overrides above. --- dofile() because it is a .conf, not a Lua module. --- dofile(os.getenv("HOME") .. "/.config/hypr/noctalia/noctalia-colors.conf") +require("custom/workspacerules") -- For Noctalia Color templates -require("noctalia") +require("noctalia").apply_theme() diff --git a/.config/hypr/hyprland/keybinds.lua b/.config/hypr/hyprland/keybinds.lua index a2b1d08..e0676bb 100644 --- a/.config/hypr/hyprland/keybinds.lua +++ b/.config/hypr/hyprland/keybinds.lua @@ -90,7 +90,7 @@ hl.bind("XF86Calculator", hl.dsp.exec_cmd("gnome-calculator")) hl.bind(mainMod .. " + SPACE", hl.dsp.exec_cmd(ipc .. " panel-toggle launcher")) hl.bind(mainMod .. " + S", hl.dsp.exec_cmd(ipc .. " panel-toggle control-center")) hl.bind(mainMod .. " + T", hl.dsp.exec_cmd(ipc .. " theme-mode-toggle")) -hl.bind(mainMod .. " + W", hl.dsp.exec_cmd(ipc .. " panel-toggle wallpaper")) +hl.bind(mainMod .. " + W", hl.dsp.exec_cmd(ipc .. " panel-toggle noctalia/wallhaven:browser")) hl.bind(mainMod .. " + SHIFT + L", hl.dsp.exec_cmd(ipc .. " session lock")) hl.bind("switch:Lid Switch", hl.dsp.exec_cmd(ipc .. " session lock"), { locked = true }) hl.bind(mainMod .. " + R", hl.dsp.exec_cmd(ipc .. " plugin noctalia/screen_recorder:service all toggle"))