aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--offlineimaprc4
-rwxr-xr-xratpoison/panel/music4
-rwxr-xr-xratpoison/panel/panel_bar2
-rwxr-xr-xratpoison/spotlight2
-rwxr-xr-xratpoison/wp4
-rwxr-xr-xxinitrc2
6 files changed, 12 insertions, 6 deletions
diff --git a/offlineimaprc b/offlineimaprc
index 4fa56d4..74e84e7 100644
--- a/offlineimaprc
+++ b/offlineimaprc
@@ -8,7 +8,7 @@ ui = quiet
[Account Gmail]
localrepository = Gmail-Local
remoterepository = Gmail-Remote
-autorefresh = 15
+#autorefresh = 15
[Repository Gmail-Local]
type = Maildir
@@ -24,7 +24,7 @@ nametrans = lambda folder: {'drafts': '[Gmail]/Drafts',
[Repository Gmail-Remote]
type = Gmail
-idlefolders = ['INBOX']
+#idlefolders = ['INBOX']
remoteuser = vasil.zlatanov@gmail.com
#remotepass = youwish
realdelete = yes
diff --git a/ratpoison/panel/music b/ratpoison/panel/music
index caec3d7..2fb91d1 100755
--- a/ratpoison/panel/music
+++ b/ratpoison/panel/music
@@ -13,4 +13,8 @@ fi
echo "$symbol`echo $new | cut --bytes 1-30`"
echo "K`mpc -h 127.0.0.1 volume | perl -pe 's/^volume://' | perl -pe 's/%$//' | perl -pe 's/^ //'`"
mpc idle > /dev/null
+if [ $? -ne 0 ];then
+echo 'mpd not alive';
+sleep 30;
+fi
done
diff --git a/ratpoison/panel/panel_bar b/ratpoison/panel/panel_bar
index 55f2403..0b2e55e 100755
--- a/ratpoison/panel/panel_bar
+++ b/ratpoison/panel/panel_bar
@@ -5,8 +5,8 @@
num_mon=$(bspc query -M | wc -l)
-while read -r line ; do
source ./panel_colors
+while read -r line ; do
case $line in
C*)
cpu="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} C:${line#?} %{B-}%{F-}"
diff --git a/ratpoison/spotlight b/ratpoison/spotlight
index 0544825..24cdc87 100755
--- a/ratpoison/spotlight
+++ b/ratpoison/spotlight
@@ -1,4 +1,4 @@
#!/bin/sh
source ~/.colors
-find ~/ -not -path "~/Games/*" -not -path "~/.mozilla/*" -not -path "~/dotfiles/vim/undodir/*" | sed 's/ /\\ /g' | dmenu -i -l 20 -sb $COLOR0 -nb $COLOR0 -nf $COLOR11 -sf $COLOR3 | xargs urxvt -e rifle -p0
+locate ~/ | dmenu -i -l 20 -sb $COLOR0 -nb $COLOR0 -nf $COLOR11 -sf $COLOR3 | xargs urxvt -e rifle -p0
exit 0
diff --git a/ratpoison/wp b/ratpoison/wp
index 483e3c2..072cf77 100755
--- a/ratpoison/wp
+++ b/ratpoison/wp
@@ -144,7 +144,6 @@ function change {
#:: Set the background
feh --bg-fill $background
- convert $background ~/.wallpaper.png &
#:: Record the current background
set_current $background
@@ -253,3 +252,6 @@ main $*
pkill panel
pkill stalone
~/bin/panel & disown
+source ~/.colors
+#convert -font DejaVuSansB -pointsize 30 -stroke $COLOR0 -strokewidth 1 -fill $COLOR11 -draw 'text 70,60 "Vasil Zlatanov -> +46 723537981 vasil.zlatanov@gmail.com" ' $background ~/.wallpaper.png &
+convert $background ~/.wallpaper.png &
diff --git a/xinitrc b/xinitrc
index 1be01b3..74d1f80 100755
--- a/xinitrc
+++ b/xinitrc
@@ -31,7 +31,7 @@ xsetroot -cursor_name left_ptr
wmname LG3D
# Background
-~/.ratpoison/wp change &
+#~/.ratpoison/wp change &
# Init clipboard
~/.ratpoison/clipboard init