aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2016-04-02 23:45:45 +0100
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2016-04-02 23:45:45 +0100
commit6b6fe496e0c46818a89ae47a892add7bb2587577 (patch)
treeed080bcbb6b445f4a27f5942b41939c7e144f2b3
parent2c62e4351d1e4ccb39ea47680015efef4f13161b (diff)
downloaddotfiles-6b6fe496e0c46818a89ae47a892add7bb2587577.tar.gz
dotfiles-6b6fe496e0c46818a89ae47a892add7bb2587577.tar.bz2
dotfiles-6b6fe496e0c46818a89ae47a892add7bb2587577.zip
fix push notifications among other things
-rw-r--r--Browser/vimb/config18
-rw-r--r--Browser/vimb/config.static2
-rwxr-xr-xPanel/lemonbar/panel_bar8
-rw-r--r--Window_Manager/ratpoison/ratpoisonrc.conf3
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 ) <C-N>
nmap S :set scripts=false<CR> r :shellcmd mpv --no-terminal "%s"<CR> :set scripts=true<CR>
-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