summaryrefslogtreecommitdiff
path: root/artix/home/.config/hypr
diff options
context:
space:
mode:
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 }))