aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2015-03-29 11:29:09 +0200
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2015-03-29 11:29:09 +0200
commit0b50bfaefb2d117c2101f9b34d9fdf2b27d44f39 (patch)
tree48efd0d512e33fa687fb25e570614f22149e449d
parent58c29ee0d464d08c08f30e57018e5597a30e33d8 (diff)
downloaddotfiles-0b50bfaefb2d117c2101f9b34d9fdf2b27d44f39.tar.gz
dotfiles-0b50bfaefb2d117c2101f9b34d9fdf2b27d44f39.tar.bz2
dotfiles-0b50bfaefb2d117c2101f9b34d9fdf2b27d44f39.zip
quick
-rwxr-xr-xconfig/bspwm/bspwmrc1
-rwxr-xr-xratpoison/panel/load2
-rwxr-xr-xratpoison/panel/panel2
-rwxr-xr-xxinitrc4
4 files changed, 7 insertions, 2 deletions
diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc
index d8c81f5..57f3916 100755
--- a/config/bspwm/bspwmrc
+++ b/config/bspwm/bspwmrc
@@ -1,4 +1,5 @@
# /bin/sh
+# for multi-mon: bspc monitor HDMI1 -d 1 4 6 7 8
source ~/.config/bspwm/colors
bspc config border_width 3
diff --git a/ratpoison/panel/load b/ratpoison/panel/load
index a1dbcdb..3977bee 100755
--- a/ratpoison/panel/load
+++ b/ratpoison/panel/load
@@ -1,6 +1,6 @@
#!/bin/bash
while true; do
-cpu=`mpstat -P ALL 10 1 | grep "Average.*all" | awk '{print $3+$5}'`
+cpu=`mpstat -P ALL 2 1 | grep "Average.*all" | awk '{print $3+$5}'`
mem=`free | grep Mem | awk '{print $3/$2 * 100.0}'`
printf "C%.*f\n" 1 $cpu
printf "R%.*f\n" 0 $mem
diff --git a/ratpoison/panel/panel b/ratpoison/panel/panel
index 377bc66..2c68f94 100755
--- a/ratpoison/panel/panel
+++ b/ratpoison/panel/panel
@@ -13,7 +13,7 @@ volume -f 'V%i' > "$PANEL_FIFO" &
battery -i 60 -sf 'B%i' > "$PANEL_FIFO" &
clock -i 60 -sf 'Z%d %a %H:%M' > "$PANEL_FIFO" &
./music > "$PANEL_FIFO" &
-./load > "$PANEL_FIFO" &
+#./load > "$PANEL_FIFO" &
#essid -sf 'E%s' -i 30 -w wlp2s0 > "$PANEL_FIFO" &
# ./signal > "$PANEL_FIFO" &
diff --git a/xinitrc b/xinitrc
index 64f3109..1be01b3 100755
--- a/xinitrc
+++ b/xinitrc
@@ -40,6 +40,9 @@ wmname LG3D
dropboxd &
~/bin/mountsecure
+# Custom
+~/.custom
+
#Keyboard Bindings
setxkbmap us -variant colemak
xcape -t 300 -e 'Shift_L=parenleft;Shift_R=parenright;Hyper_L=Shift_L|exclam;Hyper_R=Shift_L|question' &
@@ -92,6 +95,7 @@ fi
sxhkd &
if [ $run_everything = true ]; then
bspwm 2>&1 &
+ ~/.config/bspwmrc
# compton &
wmpid=$!
sleep 1 &