summaryrefslogtreecommitdiff
path: root/mac/.config/sketchybar/plugins/svim.sh
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-23 12:42:37 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-23 12:42:37 +0900
commit07d294425a98ee5d1e22d03e2b24ae2c76e487c0 (patch)
treea6818f0d64438c5fdb88b00a35d944f80c056213 /mac/.config/sketchybar/plugins/svim.sh
parent6fc28cdb3529ca8ee864cb5c41674cb0a4af72a1 (diff)
updates
Diffstat (limited to 'mac/.config/sketchybar/plugins/svim.sh')
-rw-r--r--mac/.config/sketchybar/plugins/svim.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/mac/.config/sketchybar/plugins/svim.sh b/mac/.config/sketchybar/plugins/svim.sh
deleted file mode 100644
index cb792b8..0000000
--- a/mac/.config/sketchybar/plugins/svim.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-source "$CONFIG_DIR/icons.sh"
-source "$CONFIG_DIR/colors.sh"
-
-if [ "$SENDER" = "svim_update" ]; then
- DRAWING=on
- DRAW_CMD=off
- COLOR=$WHITE
- case "$MODE" in
- "I") ICON="$MODE_INSERT" DRAWING=off
- ;;
- "N") ICON="$MODE_NORMAL"
- ;;
- "V") ICON="$MODE_VISUAL" COLOR=$YELLOW
- ;;
- "C") ICON="$MODE_CMD" DRAW_CMD=on COLOR=$RED
- ;;
- "_") ICON="$MODE_PENDING"
- ;;
- *) DRAWING=off
- ;;
- esac
-
- sketchybar --set $NAME drawing="$DRAWING" \
- label.drawing="$DRAW_CMD" \
- icon="$ICON" \
- icon.color="$COLOR" \
- label="$CMDLINE"
-fi