From 18f4fb32222b31a39099cbe58b457518ce52b3e5 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Thu, 3 Sep 2015 21:57:02 +0200 Subject: various fixes --- Browser/vimb/color-gen | 2 +- Browser/vimb/config | 19 +++++++++---------- Browser/vimb/config.static | 3 +-- Mail/muttrc | 3 +++ Panel/lemonbar/panel | 4 ++-- Shell/bash_aliases | 8 ++++---- Window_Manager/ratpoison/exec_to_workspace | 1 + Window_Manager/ratpoison/firesend | 2 +- Window_Manager/ratpoison/ratpoisonrc.conf | 3 +++ Window_Manager/ratpoison/spotlight | 2 +- 10 files changed, 26 insertions(+), 21 deletions(-) diff --git a/Browser/vimb/color-gen b/Browser/vimb/color-gen index 2733b4d..fec8b6d 100755 --- a/Browser/vimb/color-gen +++ b/Browser/vimb/color-gen @@ -1,5 +1,5 @@ #!/bin/sh -source ~/.colors +. ~/.colors cp ~/.config/vimb/config.static ~/.config/vimb/config echo "set status-color-bg=$COLOR0" >> ~/.config/vimb/config echo "set status-color-fg=$COLOR11" >> ~/.config/vimb/config diff --git a/Browser/vimb/config b/Browser/vimb/config index c8eee75..3740a5b 100644 --- a/Browser/vimb/config +++ b/Browser/vimb/config @@ -8,8 +8,7 @@ shortcut-add arwk=https://wiki.archlinux.org/index.php?title=Special%3ASearch&se shortcut-add aur=https://aur.archlinux.org/packages/?K=$0 shortcut-default gl -set download-command=aria2c --seed-time=900 -d Downloads/ %s -set download-use-external=true +set download-path=~/Downloads set cookie-accept=always set cookie-expire-time=0 @@ -27,11 +26,11 @@ nmap ) nmap S :set scripts=false r :shellcmd mpv --no-terminal "%s" :set scripts=true -set status-color-bg=#200208 -set status-color-fg=#e08e79 -set status-ssl-color-bg=#200208 -set status-ssl-color-fg=#e08e79 -set completion-bg-active=#200208 -set completion-bg-normal=#200208 -set completion-fg-active=#e05841 -set completion-fg-normal=#e08e79 +set status-color-bg=#0c1520 +set status-color-fg=#70b6e0 +set status-ssl-color-bg=#0c1520 +set status-ssl-color-fg=#70b6e0 +set completion-bg-active=#0c1520 +set completion-bg-normal=#0c1520 +set completion-fg-active=#3966a6 +set completion-fg-normal=#70b6e0 diff --git a/Browser/vimb/config.static b/Browser/vimb/config.static index 7c44144..eb2f74b 100644 --- a/Browser/vimb/config.static +++ b/Browser/vimb/config.static @@ -8,8 +8,7 @@ shortcut-add arwk=https://wiki.archlinux.org/index.php?title=Special%3ASearch&se shortcut-add aur=https://aur.archlinux.org/packages/?K=$0 shortcut-default gl -set download-command=aria2c --seed-time=900 -d Downloads/ %s -set download-use-external=true +set download-path=~/Downloads set cookie-accept=always set cookie-expire-time=0 diff --git a/Mail/muttrc b/Mail/muttrc index 16537b4..520dc1d 100644 --- a/Mail/muttrc +++ b/Mail/muttrc @@ -35,6 +35,9 @@ macro index D \ set from = "v@skozl.com" set realname = "Vasil Zlatanov" +# CardDav completion +bind editor complete-query + # Save contact to CardDav macro index,pager A "pycard-import" "add sender address to pycardsyncer" diff --git a/Panel/lemonbar/panel b/Panel/lemonbar/panel index 0477467..b8c7f48 100755 --- a/Panel/lemonbar/panel +++ b/Panel/lemonbar/panel @@ -25,5 +25,5 @@ source ./panel_colors cat "$PANEL_FIFO" | ./panel_bar | lemonbar -f "$FONT_FONT" -f "$ICON_FONT" -g x$PANEL_HEIGHT -F "$COLOR11" -B "$COLOR0" -u 3 & -#sleep 1; -#stalonetray --geometry 1x1-415+2 --icon-gravity E --grow-gravity E -bg $COLOR0 -i 20 & +sleep 1; +stalonetray --geometry 1x1-415+2 --icon-gravity E --grow-gravity E -bg $COLOR0 -i 20 & diff --git a/Shell/bash_aliases b/Shell/bash_aliases index 3908bb2..78a261b 100644 --- a/Shell/bash_aliases +++ b/Shell/bash_aliases @@ -106,7 +106,7 @@ alias rat='vim ~/.tools/ratpoisonrc.conf' alias sx='vim ~/.config/sxhkd/sxhkdrc' alias bs='vim ~/.config/bspwm/bspwmrc' alias screenrc='vim ~/.ratpoison/screenrc' -alias xkb='sudo vim /usr/share/X11/xkb/symbols/us' +alias xkb='sudo vim /usr/share/X11/xkb/symbols/uc' alias pdf='apvlv' alias kpaint='kolourpaint' alias gnu='vrms' @@ -123,9 +123,9 @@ alias nethackterm='rxvt -bg black -fg green +tr &' alias cfgpanel=' fgpanel --fg-root=/usr/share/games/flightgear --panel=Aircraft/c172p/Panels/FGPanel_c172p.xml' alias cfgfs='optirun fgfs --generic=socket,out,20,127.0.0.1,34200,udp,../Aircraft/c172p/Panels/FGPanel_Protocol_c172p' #alias xonotic='cd ~/.Xonotic && optirun ~/.Xonotic/xonotic-linux64-glx -sessionid vaskozl' -alias blizzard='wine /mnt/sdb6/Games/StarCraft\ II/StarCraft\ II.exe' -alias starcraft='primusrun wine /mnt/sdb6/Games/StarCraft\ II/Support/SC2Switcher.exe' -alias starbound="~/games/starbound/linux64/launch_starbound.sh" +alias blizz='wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Battle.net/Battle.net.exe' +alias starcraft='wine ~/.wine/drive_c/Program\ Files\ \(x86\)/StarCraft\ II/Support/SC2Switcher.exe' +alias lotv='wine "/home/vasko/.wine/drive_c/Program Files (x86)/StarCraft II - Legacy of the Void Beta/Support/SC2Switcher.exe"' # Network tools diff --git a/Window_Manager/ratpoison/exec_to_workspace b/Window_Manager/ratpoison/exec_to_workspace index c7968f2..2101c25 100755 --- a/Window_Manager/ratpoison/exec_to_workspace +++ b/Window_Manager/ratpoison/exec_to_workspace @@ -11,3 +11,4 @@ cmd="$@" rpws $wg eval $cmd & ratpoison -c 'barsend' +echo "D$wg" > /tmp/panel-fifo diff --git a/Window_Manager/ratpoison/firesend b/Window_Manager/ratpoison/firesend index b1e2d37..7ab8529 100755 --- a/Window_Manager/ratpoison/firesend +++ b/Window_Manager/ratpoison/firesend @@ -1,2 +1,2 @@ #!/bin/bash -$HOME/.config/ratpoison/exec_to_workspace II vimb $@ > /dev/null 2>&1 +$HOME/.config/ratpoison/exec_to_workspace 2 vimb $@ > /dev/null 2>&1 diff --git a/Window_Manager/ratpoison/ratpoisonrc.conf b/Window_Manager/ratpoison/ratpoisonrc.conf index a56bcb8..bc0a7c0 100644 --- a/Window_Manager/ratpoison/ratpoisonrc.conf +++ b/Window_Manager/ratpoison/ratpoisonrc.conf @@ -271,6 +271,9 @@ alias brightdown exec xbacklight -dec 2 definekey top XF86MonBrightnessUp brightup definekey top XF86MonBrightnessDown brightdown +definekey top s-Home brightup +definekey top s-End brightdown + #------------------------------------------------------------- # Cmus (Music) Control #------------------------------------------------------------- diff --git a/Window_Manager/ratpoison/spotlight b/Window_Manager/ratpoison/spotlight index a60a201..6abf67b 100755 --- a/Window_Manager/ratpoison/spotlight +++ b/Window_Manager/ratpoison/spotlight @@ -1,4 +1,4 @@ #!/bin/sh -source ~/.colors +. ~/.colors bullet=`locate ~/ | dmenu -i -l 20 -sb $COLOR0 -nb $COLOR0 -nf $COLOR11 -sf $COLOR3` urxvt -e rifle -p0 "$bullet" -- cgit v1.2.3-54-g00ecf