Open MacBook screenshots in annotated Loupe
This commit is contained in:
parent
35959ae819
commit
0251764327
3 changed files with 4 additions and 8 deletions
|
|
@ -523,15 +523,10 @@ in
|
|||
-- Screenshots — Shift+Super+S matches GNOME binding
|
||||
-- Pin/unpin quickshell's focus grab around the region select so an
|
||||
-- open menu survives slurp's input grab (no-ops if qs isn't up).
|
||||
${if isMacbook then ''
|
||||
hl.bind(mod .. " + SHIFT + S", hl.dsp.exec_cmd("sh -c 'qs ipc call screenshot pin; hyprshot -m region --clipboard-only; qs ipc call screenshot unpin'"))
|
||||
hl.bind("Print", hl.dsp.exec_cmd("hyprshot -m output --clipboard-only"))
|
||||
'' else ''
|
||||
-- On gaming, save temporary PNGs so the notification can reopen
|
||||
-- Save temporary PNGs so the notification can reopen
|
||||
-- the exact screenshot in Loupe, while hyprshot still copies it.
|
||||
hl.bind(mod .. " + SHIFT + S", hl.dsp.exec_cmd("sh -c 'qs ipc call screenshot pin; ${screenshotWithLoupe} region; qs ipc call screenshot unpin'"))
|
||||
hl.bind("Print", hl.dsp.exec_cmd("${screenshotWithLoupe} output"))
|
||||
''}
|
||||
|
||||
-- Settings shortcut — Super+I matches GNOME binding
|
||||
hl.bind(mod .. " + I", hl.dsp.exec_cmd("pavucontrol"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue