1
0
Fork 0
dotfiles/.local/bin/trash/sb-xkbmap

6 lines
222 B
Bash
Executable File

#!/bin/sh
# pidof -x sbd-xkbmap >/dev/null 2>&1 || sbd-xkbmap >/dev/null 2>&1 &
big="\033[11m"
reset="\033[0m"
printf "%b" "$big󰥻$reset $(setxkbmap -query | grep -oP '(layout|variant):\s*\K\w+' | sed ':a;N;s/\n/:/')\n"