chkb

#186
Raw
Author
winny
Created
Sept. 16, 2020, 9:46 a.m.
Expires
Never
Size
199 bytes
Hits
191
Syntax
Bash
#!/usr/bin/env bash
setxkbmap \
    -option ctrl:nocaps \
    -option ctrl:menu_rctrl \
    -option compose:lctrl \
    "$@"
if ! tty -s; then
    notify-send "Switching keyboard layout to $*"
fi