commit 6ab51820e6b8bf3c48597f67724c9ffb39e9c375
parent 0529218eadb61bcc82e75c4b2e2b685ae0867619
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Thu, 27 Feb 2014 15:26:50 +0100
fixed sleep script, panel
Diffstat:
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.config/bspwm/panel/panel_battery b/.config/bspwm/panel/panel_battery
@@ -62,4 +62,4 @@ esac
# Create Bar
#echo "$icon \f9$bar"
-echo "$REMAINING \f9$bar"
+echo "$REMAINING \f9$bar"
diff --git a/.config/bspwm/panel/panel_conky b/.config/bspwm/panel/panel_conky
@@ -7,4 +7,4 @@ update_interval 3
update_interval_on_battery 3
TEXT
-S \f8${execi 1 ~/.config/bspwm/panel/panel_wifi} \f9${wireless_essid wlan0} \f8${execi 20 ~/.config/bspwm/panel/panel_battery} \fr${time %Y-%m-%d %H:%M }
+S \f8${downspeed wlan0}/${upspeed wlan0} \f8${execi 5 ~/.config/bspwm/panel/panel_wifi} \f9${wireless_essid wlan0} \f8${execi 10 ~/.config/bspwm/panel/panel_battery} ${cpu}% \fr${time %Y-%m-%d %H:%M }
diff --git a/bin/zzz b/bin/zzz
@@ -10,8 +10,8 @@ if [[ "$HOSTNAME" == 'flaptop' ]]; then
killall ssh
fi
mpc stop
-xscreensaver-command --lock
+#xscreensaver-command --lock
if [[ "$HOSTNAME" == 'flaptop' ]]; then
- pm-suspend-hybrid
+ sudo pm-suspend-hybrid
fi