mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-07-22 04:50:03 +00:00
Use PRINTSCR_KEY const for simple dynamic change
This commit is contained in:
parent
d7a398ca08
commit
ef50ca9065
1 changed files with 11 additions and 10 deletions
|
@ -48,17 +48,18 @@ bind = SUPER_SHIFT, T, exec, toggle-idle
|
||||||
# Screenshots (with custom screenshot script)
|
# Screenshots (with custom screenshot script)
|
||||||
$SCREENSHOT_FORMAT = "${XDG_SCREENSHOTS_DIR:-$HOME/Media/Pictures/Screenshots}/Screenshot_$(date +%Y-%m-%d_%H-%M-%S).png"
|
$SCREENSHOT_FORMAT = "${XDG_SCREENSHOTS_DIR:-$HOME/Media/Pictures/Screenshots}/Screenshot_$(date +%Y-%m-%d_%H-%M-%S).png"
|
||||||
$SCREENSHOT_DELAY = 2000
|
$SCREENSHOT_DELAY = 2000
|
||||||
|
$PRINTSCR_KEY = Print #Menu # Print
|
||||||
|
|
||||||
bind = ALT, Print, exec, wl-copy --type image/png "$(hyprpicker)" && notify-send 'Picked color' "$(wl-paste) (saved to clipboard)"
|
#bind = ALT, $PRINTSCR_KEY, exec, wl-copy --type image/png "$(hyprpicker)" && notify-send 'Picked color' "$(wl-paste) (saved to clipboard)"
|
||||||
bind = , Print, exec, hyprland-screenshot --notify --copy --target area
|
bind = , $PRINTSCR_KEY, exec, hyprland-screenshot --notify --copy --target area
|
||||||
#bindl = , Print, exec, hyprland-screenshot --notify --copy --target all # lockscreen screenshot (only enable when needed)
|
#bindl = , $PRINTSCR_KEY, exec, hyprland-screenshot --notify --copy --target all # lockscreen screenshot (only enable when needed)
|
||||||
bind = SUPER, Print, exec, hyprland-screenshot --notify --copy --target area --edit
|
bind = SUPER, $PRINTSCR_KEY, exec, hyprland-screenshot --notify --copy --target area --edit
|
||||||
bind = SHIFT, Print, exec, hyprland-screenshot --notify --save $SCREENSHOT_FORMAT --target area
|
bind = SHIFT, $PRINTSCR_KEY, exec, hyprland-screenshot --notify --save $SCREENSHOT_FORMAT --target area
|
||||||
bind = CTRL, Print, exec, hyprland-screenshot --notify --copy --target area --delay $SCREENSHOT_DELAY
|
bind = CTRL, $PRINTSCR_KEY, exec, hyprland-screenshot --notify --copy --target area --delay $SCREENSHOT_DELAY
|
||||||
bind = SUPER_SHIFT, Print, exec, hyprland-screenshot --notify --save $SCREENSHOT_FORMAT --target area --edit
|
bind = SUPER_SHIFT, $PRINTSCR_KEY, exec, hyprland-screenshot --notify --save $SCREENSHOT_FORMAT --target area --edit
|
||||||
bind = SUPER_CTRL, Print, exec, hyprland-screenshot --notify --copy --target area --delay $SCREENSHOT_DELAY --edit
|
bind = SUPER_CTRL, $PRINTSCR_KEY, exec, hyprland-screenshot --notify --copy --target area --delay $SCREENSHOT_DELAY --edit
|
||||||
bind = SUPER_SHIFT_CTRL, Print, exec, hyprland-screenshot --notify --save $SCREENSHOT_FORMAT --target area --delay $SCREENSHOT_DELAY --edit
|
bind = SUPER_SHIFT_CTRL, $PRINTSCR_KEY, exec, hyprland-screenshot --notify --save $SCREENSHOT_FORMAT --target area --delay $SCREENSHOT_DELAY --edit
|
||||||
bind = SUPER_ALT, Print, exec, ocr && notify-send "OCR" "Text copied to clipboard"
|
bind = SUPER_ALT, $PRINTSCR_KEY, exec, ocr && notify-send "OCR" "Text copied to clipboard"
|
||||||
|
|
||||||
# XF86Favorites key for recording
|
# XF86Favorites key for recording
|
||||||
# (don't question me, I had it free)
|
# (don't question me, I had it free)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue