aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlemonblocks/modules/cpu_temp.sh2
-rwxr-xr-xlemonblocks/modules/volume.sh2
-rwxr-xr-xlemonblocks/start.sh7
3 files changed, 2 insertions, 9 deletions
diff --git a/lemonblocks/modules/cpu_temp.sh b/lemonblocks/modules/cpu_temp.sh
index c4a2ca6c..a5286add 100755
--- a/lemonblocks/modules/cpu_temp.sh
+++ b/lemonblocks/modules/cpu_temp.sh
@@ -2,4 +2,4 @@
CEL=$'\xc2\xb0C'
temp=$( cat /sys/devices/virtual/thermal/thermal_zone0/temp )
temp=`expr $temp / 1000`
-printf " TEMP:$temp$CEL ""
+printf " TEMP:$temp$CEL "
diff --git a/lemonblocks/modules/volume.sh b/lemonblocks/modules/volume.sh
index a0843dd9..e67c63ff 100755
--- a/lemonblocks/modules/volume.sh
+++ b/lemonblocks/modules/volume.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-printf " VOL:$(pamixer --get-volume-human)% "
+printf " VOL:$(pamixer --get-volume-human) " ""
# if [ $volume_level == "muted" ]; then
# printf "%{F#ff0058}VOL: $(pamixer --get-volume)%{F-}"
# else
diff --git a/lemonblocks/start.sh b/lemonblocks/start.sh
index 6b4f60ba..deb5f48f 100755
--- a/lemonblocks/start.sh
+++ b/lemonblocks/start.sh
@@ -1,9 +1,5 @@
#!/bin/bash
-# setup xmonad status
-# mkfifo /tmp/xmonad_stat
-# xmonad-log > /tmp/xmonad_stat &
-
CLICKABLE_AREAS=1
PANEL_WIDTH=566
PANEL_HEIGHT=21
@@ -43,6 +39,3 @@ then
else
./bin/lemonblocks
fi
-
-sleep 5 # otherwise it crashes because it executes before xmonad starts
-xmonad-log | lemonbar -b -g 800x21+0+0 -B '#171520' -F '#ffffff' -o -3 -f 'Source Han Sans JP:size=10' -o 0 -f 'RobotoMono Nerd Font:style=Regular:size=15' &