From 6b6fe496e0c46818a89ae47a892add7bb2587577 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sat, 2 Apr 2016 23:45:45 +0100 Subject: fix push notifications among other things --- Browser/vimb/config | 18 ++++++++++-------- Browser/vimb/config.static | 2 ++ Panel/lemonbar/panel_bar | 8 ++++---- Window_Manager/ratpoison/ratpoisonrc.conf | 3 ++- 4 files changed, 18 insertions(+), 13 deletions(-) diff --git a/Browser/vimb/config b/Browser/vimb/config index 9bf49ba..6c562dd 100644 --- a/Browser/vimb/config +++ b/Browser/vimb/config @@ -1,3 +1,5 @@ +set useragent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.4 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.4 + set spacial-navigation=true shortcut-add wiki=https://en.wikipedia.org/w/index.php?search=$0 @@ -28,11 +30,11 @@ nmap ) nmap S :set scripts=false r :shellcmd mpv --no-terminal "%s" :set scripts=true -set status-color-bg=#0d0a20 -set status-color-fg=#c84490 -set status-ssl-color-bg=#0d0a20 -set status-ssl-color-fg=#c84490 -set completion-bg-active=#0d0a20 -set completion-bg-normal=#0d0a20 -set completion-fg-active=#853fa0 -set completion-fg-normal=#c84490 +set status-color-bg=#201b19 +set status-color-fg=#c3c5c8 +set status-ssl-color-bg=#201b19 +set status-ssl-color-fg=#c3c5c8 +set completion-bg-active=#201b19 +set completion-bg-normal=#201b19 +set completion-fg-active=#a09c9b +set completion-fg-normal=#c3c5c8 diff --git a/Browser/vimb/config.static b/Browser/vimb/config.static index fd9a8df..7f74c82 100644 --- a/Browser/vimb/config.static +++ b/Browser/vimb/config.static @@ -1,3 +1,5 @@ +set useragent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.4 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.4 + set spacial-navigation=true shortcut-add wiki=https://en.wikipedia.org/w/index.php?search=$0 diff --git a/Panel/lemonbar/panel_bar b/Panel/lemonbar/panel_bar index 99370d8..620d223 100755 --- a/Panel/lemonbar/panel_bar +++ b/Panel/lemonbar/panel_bar @@ -8,7 +8,7 @@ while read -r line ; do case $line in Imail) mbsync -a > /dev/null - if bspc control --get-status | grep OIX > /dev/null;then + if [ `rpws current` -eq 9 ];then mail='' else mail="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_MAIL} %{B-}%{F-}" @@ -16,7 +16,7 @@ while read -r line ; do ;; Iface) - if bspc control --get-status | grep OX > /dev/null;then + if [ `rpws current` -eq 10 ];then face='' else face="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_FACE} %{B-}%{F-}" @@ -24,7 +24,7 @@ while read -r line ; do ;; Ipub) - if bspc control --get-status | grep OX > /dev/null;then + if [ `rpws current` -eq 10 ];then pub='' else pub="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_PUB} %{B-}%{F-}" @@ -32,7 +32,7 @@ while read -r line ; do ;; Ipriv) - if bspc control --get-status | grep OX > /dev/null;then + if [ `rpws current` -eq 10 ];then priv='' else priv="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_PRIV} %{B-}%{F-}" diff --git a/Window_Manager/ratpoison/ratpoisonrc.conf b/Window_Manager/ratpoison/ratpoisonrc.conf index e47c056..50de765 100644 --- a/Window_Manager/ratpoison/ratpoisonrc.conf +++ b/Window_Manager/ratpoison/ratpoisonrc.conf @@ -55,7 +55,8 @@ bordscript ###################################### # Panel ###################################### -alias barsend exec ~/.config/ratpoison/panel/windows +#alias barsend exec ~/.config/ratpoison/panel/windows +alias barsend exec echo 'Wclear' > /tmp/panel-fifo; ratpoison -c 'windows %s%n %t' | while read line;do echo "${line}" | cut -c -25 > /tmp/panel-fifo && sleep 0.004;done # tell ratpoison to ignore panels unmanage rpbar -- cgit v1.2.3-54-g00ecf