refactor(config): simplify color picker commands

This commit is contained in:
sankalp committed 2026-07-12 02:43:57 +05:45
1 parent 23672db2db
commit aee72d98fa
1 file changed
+3 -3
+3 -3
View File
@@ -2,9 +2,9 @@
icon = "misc/color-picker.svg"
icon-size = 18
order = 0
on-left = "hyprpicker -a -n -f hex && sleep 0.1 && c=$(wl-paste) && magick -size 64x64 xc:$c /tmp/cp.png && notify-send 'HEX color picked' $c -i /tmp/cp.png -a Hyprpicker && rm -f /tmp/cp.png"
on-middle = "hyprpicker -a -n -f rgb && sleep 0.1 && c=$(wl-paste) && magick -size 64x64 xc:$c /tmp/cp.png && notify-send 'RGB color picked' $c -i /tmp/cp.png -a Hyprpicker && rm -f /tmp/cp.png"
on-right = "hyprpicker -n -f hsv | wl-copy -n && sleep 0.1 && c=$(wl-paste) && magick -size 64x64 xc:$c /tmp/cp.png && notify-send 'HSV color picked' $c -i /tmp/cp.png -a Hyprpicker && rm -f /tmp/cp.png"
on-left = "hyprpicker -a -n -f hex && sleep 0.1 && c=$(wl-paste)"
on-middle = "hyprpicker -a -n -f rgb && sleep 0.1 && c=$(wl-paste)"
on-right = "hyprpicker -n -f hsv | wl-copy -n && sleep 0.1 && c=$(wl-paste)"
[Mods.google-lens]
icon = "google-lens.svg"