From ac061940bc33ae2063edafe0e4d5350c5ca79789 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Sat, 4 Jul 2026 06:47:19 +0545 Subject: [PATCH] feat(config): add Mods.color-picker and Mods.google-lens configurations --- config/mods.toml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) 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"