diff --git a/config/mods.toml b/config/mods.toml index 609c4a5..9016f66 100644 --- a/config/mods.toml +++ b/config/mods.toml @@ -1,7 +1,13 @@ -[Mods.terminal] -icon = "terminal.svg" +[Mods.color-picker] +icon = "misc/color-picker.svg" icon-size = 18 -on-clicked = "kitty" +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" + +[Mods.google-lens] +icon = "google-lens.svg" +icon-size = 16 order = 1 - - +on-clicked = "python3 -m utils.google_lens_cli"