feat: add power menu & clipboard

This commit is contained in:
johannes committed 2026-08-26 23:56:51 +02:00
1 parent acc593a1e4
commit 17281a04cd
6 files changed
+536 -88

No files matched your search

-53
View File
@@ -1,53 +0,0 @@
-- Generated by HyprMod
-- Settings
hl.config({
ecosystem = {
enforce_permissions = true,
no_donation_nag = true,
no_update_news = true,
},
misc = {
animate_mouse_windowdragging = true,
disable_splash_rendering = true,
vrr = 1,
},
xwayland = {
force_zero_scaling = true,
},
})
-- Monitors
hl.monitor({
output = "desc:Samsung Electric Company Odyssey G85SB H1AK500000",
disabled = false,
mode = "3440x1440@174.96Hz",
position = "1920x180",
scale = 1,
bitdepth = 10,
vrr = 1,
cm = "hdr",
sdrbrightness = 0.5,
sdr_min_luminance = 0,
sdr_max_luminance = 400,
min_luminance = 0,
max_luminance = 400,
max_avg_luminance = 248,
})
hl.monitor({
output = "desc:Iiyama North America PL2730H 1153680901995",
disabled = false,
mode = "1920x1080@74.97Hz",
position = "0x360",
scale = 1,
cm = "srgb",
})
hl.monitor({
output = "HDMI-A-2",
disabled = true,
})
-- Autostart
hl.on("hyprland.start", function()
hl.exec_cmd("hyprpm reload -n")
end)
+4 -3
View File
@@ -3,7 +3,7 @@
require("hyprland-gui")
local hypr_dir = (os.getenv("XDG_CONFIG_HOME") or (os.getenv("HOME") .. "/.config")) .. "/hypr"
----------------
--- MONITORS ---
@@ -27,7 +27,7 @@ local fileManager = "nemo"
local menu = "quickshell ipc call commandPalette toggle"
local clipboard = "qs ipc call clipboardPicker open"
local lock = "hyprlock"
local powermenu = "qs ipc call powerMenu open"
-----------------
--- AUTOSTART ---
@@ -176,10 +176,11 @@ local mainMod = "SUPER"
-- Apps
hl.bind(mainMod .. " + Return", hl.dsp.exec_cmd(terminal))
hl.bind(mainMod .. " + Q", hl.dsp.window.close())
hl.bind(mainMod .. " + M", hl.dsp.exec_cmd(powermenu))
hl.bind(mainMod .. " + M", hl.dsp.exec_cmd("quickshell ipc call logoutMenu toggle"))
hl.bind(mainMod .. " + E", hl.dsp.exec_cmd(fileManager))
hl.bind(mainMod .. " + H", hl.dsp.window.float({ action = "toggle" }))
hl.bind(mainMod .. " + Space", hl.dsp.exec_cmd(menu))
hl.bind(mainMod .. " + V", hl.dsp.exec_cmd("quickshell ipc call clipboardManager toggle"))
hl.bind(mainMod .. " + P", hl.dsp.window.pseudo())
hl.bind(mainMod .. " + F", hl.dsp.window.fullscreen({ action = "toggle" }))
hl.bind(mainMod .. " + L", hl.dsp.exec_cmd(lock))