New scripts for xfce4 and awesomewm

tmux
J.Fernando Sánchez 12 years ago
parent 31c66736a7
commit 3dea661140

@ -0,0 +1,14 @@
#!/bin/bash
OLD_VALUE=$(xfconf-query -c xfwm4 -p /general/cycle_workspaces)
if [ $OLD_VALUE == "true" ]; then
echo 'will now disable workspace cycling'
NEW_VALUE="false"
fi
if [ $OLD_VALUE == "false" ]; then
echo 'will now turn on workspace cycling'
NEW_VALUE="true"
fi
xfconf-query -c xfwm4 -p /general/cycle_workspaces -s $NEW_VALUE

@ -0,0 +1,2 @@
#!/bin/sh
pacmd dump|awk --non-decimal-data '$1~/set-sink-volume/{system ("pacmd "$1" "$2" "$3-1000)}'

@ -0,0 +1,2 @@
#!/bin/sh
pacmd dump|awk --non-decimal-data '$1~/set-sink-mute/{system ("pacmd "$1" "$2" "($3=="yes"?"no":"yes"))}'

@ -0,0 +1,2 @@
#!/bin/sh
pacmd dump|awk --non-decimal-data '$1~/set-sink-volume/{system ("pacmd "$1" "$2" "$3+1000)}'
Loading…
Cancel
Save