From 07d294425a98ee5d1e22d03e2b24ae2c76e487c0 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 23 Aug 2025 12:42:37 +0900 Subject: updates --- mac/.config/sketchybar/plugins/keyboard.sh | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 mac/.config/sketchybar/plugins/keyboard.sh (limited to 'mac/.config/sketchybar/plugins/keyboard.sh') diff --git a/mac/.config/sketchybar/plugins/keyboard.sh b/mac/.config/sketchybar/plugins/keyboard.sh deleted file mode 100644 index c6b5681..0000000 --- a/mac/.config/sketchybar/plugins/keyboard.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -# this is jank and ugly, I know -LAYOUT="$(defaults read ~/Library/Preferences/com.apple.HIToolbox.plist AppleSelectedInputSources | grep "KeyboardLayout Name" | cut -c 33- | rev | cut -c 2- | rev)" - -# specify short layouts individually. -case "$LAYOUT" in -"\"Dvorak\"") SHORT_LAYOUT="DV" ;; -"\"U.S.\"") SHORT_LAYOUT="US" ;; -*) SHORT_LAYOUT="한" ;; -esac - -sketchybar --set keyboard label="$SHORT_LAYOUT" -- cgit v1.2.3