Additional waybar commands
This commit is contained in:
parent
a2a365dfb2
commit
14eca8df10
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
RUNNING=$(pgrep pavucontrol)
|
||||
|
||||
if [ "$RUNNING" ]; then
|
||||
kill $RUNNING 2&>1 /dev/null
|
||||
else
|
||||
/usr/bin/pavucontrol
|
||||
fi
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
FILE=/home/jpm/.config/onscreen-keyboard
|
||||
if [ -f $FILE ]; then
|
||||
rm $FILE
|
||||
busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b false
|
||||
else
|
||||
touch $FILE
|
||||
busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b true
|
||||
fi
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
RUNNING=$(pgrep ncmpcpp)
|
||||
|
||||
if [ "$RUNNING" ]; then
|
||||
kill $RUNNING 2&>1 /dev/null
|
||||
else
|
||||
echo "starting"
|
||||
/usr/bin/xterm -e /usr/bin/ncmpcpp
|
||||
fi
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
RUNNING=$(pgrep todotxt-machine)
|
||||
|
||||
if [ "$RUNNING" ]; then
|
||||
kill $RUNNING 2&>1 /dev/null
|
||||
else
|
||||
/usr/bin/xterm -e "/home/jpm/.local/bin/todotxt-machine /home/jpm/nextcloud/phone/todo.txt"
|
||||
fi
|
Loading…
Reference in New Issue