aboutsummaryrefslogtreecommitdiff
path: root/lemonblocks
diff options
context:
space:
mode:
authorVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2021-03-19 19:34:26 +0530
committerVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2021-03-19 19:34:26 +0530
commit30a395f02b8f43c50094b7c518684d785e75e261 (patch)
treedb2f91e809966340d366ab9127cc95c222ef920c /lemonblocks
parent16e3693dae486ea64dc23de5573965d41909cc94 (diff)
fixed errors and clashes with xmonad status bar
Diffstat (limited to 'lemonblocks')
-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' &