summaryrefslogtreecommitdiff
path: root/artix/home/.config/hypr
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2026-05-27 08:54:57 +0200
committerNantha Sorubakanthan <nantha@mielota.com>2026-05-27 08:54:57 +0200
commit0d82b5747f82d5963d1c937f21f294b526f91245 (patch)
treef9e3f478cdc43854eef3c482e59d990568947077 /artix/home/.config/hypr
parent1a7a5090b84d9eb8ff6a4f5dc0c833d4b9e717b0 (diff)
small updateHEADmain
Diffstat (limited to 'artix/home/.config/hypr')
-rw-r--r--artix/home/.config/hypr/hyprland.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/artix/home/.config/hypr/hyprland.lua b/artix/home/.config/hypr/hyprland.lua
index b270bde..2db240a 100644
--- a/artix/home/.config/hypr/hyprland.lua
+++ b/artix/home/.config/hypr/hyprland.lua
@@ -115,6 +115,9 @@ hl.bind(mainMod .. " + j", hl.dsp.focus({ direction = "right" }))
hl.bind(mainMod .. " + k", hl.dsp.focus({ direction = "up" }))
hl.bind(mainMod .. " + l", hl.dsp.focus({ direction = "down" }))
+hl.bind("print", hl.dsp.exec_cmd("grim -g \"$(slurp)\" - | wl-copy"))
+hl.bind(mainMod .. " + print", hl.dsp.exec_cmd("grim - | wl-copy"))
+
for i = 1, 10 do
local key = i % 11
hl.bind(mainMod .. " + code:" .. key + 9, hl.dsp.focus({ workspace = i }))