Notifica Caps Lock

Per notificare lo stato del Caps Lock tramite notify, associare al tasto da tastiera in Xfce, il seguente script:

#!/bin/bash
sleep 0.2
notify-send -t 1000 $(xset -q | awk '$2=="Caps" {print $2":"$4}' | tr '[:lower:]' '[:upper:]')

Comments are closed.