mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
Fix slurp quote (#316)
This commit is contained in:
@@ -38,7 +38,7 @@ bind = Control+Shift+Alt, Delete, exec, pkill wlogout || wlogout -p layer-shell
|
||||
bind = Control+Shift+Alt+Super, Delete, exec, systemctl poweroff
|
||||
|
||||
# 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
|
||||
bind = Super+Shift, S, exec, ~/.config/ags/scripts/grimblast.sh --freeze copy area
|
||||
bind = Super+Alt, R, exec, ~/.config/ags/scripts/record-script.sh
|
||||
@@ -49,11 +49,11 @@ bind = Super, V, exec, pkill fuzzel || cliphist list | fuzzel --no-fuzzy --dmenu
|
||||
|
||||
# Text-to-image
|
||||
# Normal
|
||||
bind = Control+Super+Shift,S,exec,grim -g $(slurp $SLURP_ARGS) "tmp.png" && tesseract "tmp.png" - | wl-copy && rm "tmp.png"
|
||||
bind = Control+Super+Shift,S,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract "tmp.png" - | wl-copy && rm "tmp.png"
|
||||
# English
|
||||
bind = Super+Shift,T,exec,grim -g $(slurp $SLURP_ARGS) "tmp.png" && tesseract -l eng "tmp.png" - | wl-copy && rm "tmp.png"
|
||||
bind = Super+Shift,T,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l eng "tmp.png" - | wl-copy && rm "tmp.png"
|
||||
# Japanese
|
||||
bind = Super+Shift,J,exec,grim -g $(slurp $SLURP_ARGS) "tmp.png" && tesseract -l jpn "tmp.png" - | wl-copy && rm "tmp.png"
|
||||
bind = Super+Shift,J,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l jpn "tmp.png" - | wl-copy && rm "tmp.png"
|
||||
|
||||
# Media
|
||||
bindl= Super+Shift, N, exec, playerctl next || playerctl position `bc <<< "100 * $(playerctl metadata mpris:length) / 1000000 / 100"`
|
||||
|
||||
Reference in New Issue
Block a user