This commit is contained in:
afoucaultc 2026-06-05 13:13:58 +02:00
parent 205faf4224
commit c689ac87d0
58 changed files with 1660 additions and 289 deletions

View file

@ -14,7 +14,7 @@ hl.bind("ALT + F", hl.dsp.exec_cmd(browser))
hl.bind("ALT + Z", hl.dsp.exec_cmd("zotero"))
-- window management
hl.bind("ALT + V", hl.dsp.window.float({ action = "toggle" }))
hl.bind("ALT + F4", hl.dsp.window.kill("activewindow"))
hl.bind("ALT + F4", hl.dsp.window.close())
-- move focus
hl.bind("ALT + L", hl.dsp.focus({ direction = "right" }))
hl.bind("ALT + H", hl.dsp.focus({ direction = "left" }))
@ -39,7 +39,7 @@ hl.bind("SUPER + J", hl.dsp.window.move({ workspace = "r-1" }))
hl.bind(
"Print",
hl.dsp.exec_cmd(
[[filename="$(date +'%F-%T').png" && grimblast --freeze copysave area "$filename" && mkdir -p ~/Screenshots && mv "$filename" ~/Screenshots/ && nomacs ~/Screenshots/"$filename"]]
[[bash -c 'mkdir -p ~/Screenshots && filename=~/Screenshots/$(date +"%F_%H-%M-%S").png && grimblast --freeze copysave area "$filename" && nomacs "$filename"']]
)
)
hl.bind("SUPER + V", hl.dsp.exec_cmd("cliphist list | rofi -dmenu -display-columns 2 | cliphist decode | wl-copy"))