forked from Shinonome/dots-hyprland
add keybind for screenshot to clipboard and save (#454)
This commit is contained in:
@@ -71,6 +71,7 @@ export const keybindList = [[
|
|||||||
"name": "Utilities",
|
"name": "Utilities",
|
||||||
"binds": [
|
"binds": [
|
||||||
{ "keys": ["PrtSc"], "action": "Screenshot >> clipboard" },
|
{ "keys": ["PrtSc"], "action": "Screenshot >> clipboard" },
|
||||||
|
{ "keys": ["Ctrl", "PrtSc"], "action": "Screenshot >> file + clipboard" },
|
||||||
{ "keys": ["", "Shift", "+", "S"], "action": "Screen snip >> clipboard" },
|
{ "keys": ["", "Shift", "+", "S"], "action": "Screen snip >> clipboard" },
|
||||||
{ "keys": ["", "Shift", "+", "T"], "action": "Image to text >> clipboard" },
|
{ "keys": ["", "Shift", "+", "T"], "action": "Image to text >> clipboard" },
|
||||||
{ "keys": ["", "Shift", "+", "C"], "action": "Color picker" },
|
{ "keys": ["", "Shift", "+", "C"], "action": "Color picker" },
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ bind = Control+Shift+Alt+Super, Delete, exec, systemctl poweroff || loginctl pow
|
|||||||
# Screenshot, Record, OCR, Color picker, Clipboard history
|
# Screenshot, Record, OCR, Color picker, Clipboard history
|
||||||
bind = Super+Shift+Alt, S, exec, grim -g "$(slurp)" - | swappy -f -
|
bind = Super+Shift+Alt, S, exec, grim -g "$(slurp)" - | swappy -f -
|
||||||
bindl=,Print,exec,grim - | wl-copy
|
bindl=,Print,exec,grim - | wl-copy
|
||||||
|
bindl= Control,Print, exec, mkdir -p ~/Pictures/Screenshots && ~/.config/ags/scripts/grimblast.sh copysave screen ~/Pictures/Screenshots/Screenshot_"$(date '+%Y-%m-%d_%H.%M.%S')".png
|
||||||
bind = Super+Shift, S, exec, ~/.config/ags/scripts/grimblast.sh --freeze copy area
|
bind = Super+Shift, S, exec, ~/.config/ags/scripts/grimblast.sh --freeze copy area
|
||||||
bind = Super+Alt, R, exec, ~/.config/ags/scripts/record-script.sh
|
bind = Super+Alt, R, exec, ~/.config/ags/scripts/record-script.sh
|
||||||
bind = Control+Alt, R, exec, ~/.config/ags/scripts/record-script.sh --fullscreen
|
bind = Control+Alt, R, exec, ~/.config/ags/scripts/record-script.sh --fullscreen
|
||||||
|
|||||||
Reference in New Issue
Block a user