yubikey-touch-detector can now properly use Notify widget without helpers.
This commit is contained in:
parent
f340ed7c15
commit
00a2734c84
8 changed files with 5 additions and 20 deletions
|
@ -51,7 +51,7 @@ screens=$(echo "$allposs" | awk '/ connected/ {print $1}')
|
|||
|
||||
# If there's only one screen
|
||||
[ "$(echo "$screens" | wc -l)" -lt 2 ] &&
|
||||
{ onescreen "$screens" "native"; postrun; notify-send -u critical ' no device to switch'; exit ;}
|
||||
{ onescreen "$screens" "native"; postrun; notify-send -t 2000 -u critical ' no device to switch'; exit ;}
|
||||
|
||||
# Get user choice including both and manual selection:
|
||||
chosen=$(printf -- "%s\\nmulti" "$screens" | dmenu -c -l 5 -i -p "select output") &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue