summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/changecpufreq4
-rwxr-xr-xscripts/dwmbar4
-rwxr-xr-xscripts/startdwmvoid6
3 files changed, 9 insertions, 5 deletions
diff --git a/scripts/changecpufreq b/scripts/changecpufreq
index 5945487..fc4cb49 100755
--- a/scripts/changecpufreq
+++ b/scripts/changecpufreq
@@ -1,3 +1,3 @@
#!/bin/sh
-sudo cpupower frequency-set -g performance
-sudo cpupower frequency-set -u 1.40GHz
+cpupower frequency-set -g performance
+cpupower frequency-set -u 1.40GHz
diff --git a/scripts/dwmbar b/scripts/dwmbar
index 761ad85..8d90b57 100755
--- a/scripts/dwmbar
+++ b/scripts/dwmbar
@@ -4,6 +4,10 @@ while true ; do
# if [ -n "${MUSIC}" ] ; then
# MUSIC="Playing: ${MUSIC} "
# fi
+ MUSIC=$(mpc current)
+ if [ -n "${MUSIC}" ] ; then
+ MUSIC="Playing: ${MUSIC} "
+ fi
BAT="$(cat /sys/class/power_supply/BAT0/capacity)"
if [ ${BAT} -ge 50 ] ; then
diff --git a/scripts/startdwmvoid b/scripts/startdwmvoid
index 25b9219..3998f8e 100755
--- a/scripts/startdwmvoid
+++ b/scripts/startdwmvoid
@@ -1,7 +1,7 @@
#!/bin/sh
-feh --bg-scale $HOME/pictures/wallpapers/aika.jpg
-pkill tmux
-tmuxprojects
+feh --bg-scale $HOME/pictures/wallpapers/vocaloid.png
+# pkill tmux
+# tmuxprojects
# xsreensaver &
dwmbar &
runsvdir ~/.runit/runsvdir &