diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-09-26 03:35:30 +0200 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-09-26 03:35:30 +0200 |
commit | f4dc296be867c8a14cec0edae58ffa4bbabd2131 (patch) | |
tree | a93893057cf9e75c885ab71ee603c9a610fdb6c1 | |
parent | ef8e085bd9a7134bd5145711c6389b415226f9d0 (diff) | |
download | dotfiles-f4dc296be867c8a14cec0edae58ffa4bbabd2131.tar.gz dotfiles-f4dc296be867c8a14cec0edae58ffa4bbabd2131.tar.bz2 dotfiles-f4dc296be867c8a14cec0edae58ffa4bbabd2131.zip |
browser and wm improvements
-rw-r--r-- | Browser/vimb/config | 20 | ||||
-rw-r--r-- | Browser/vimb/config.static | 4 | ||||
-rw-r--r-- | Shell/bash_aliases | 5 | ||||
-rw-r--r-- | Window_Manager/ratpoison/ratpoisonrc.conf | 26 | ||||
-rwxr-xr-x | Xinit/xinitrc | 4 |
5 files changed, 43 insertions, 16 deletions
diff --git a/Browser/vimb/config b/Browser/vimb/config index 3740a5b..8972d08 100644 --- a/Browser/vimb/config +++ b/Browser/vimb/config @@ -1,3 +1,7 @@ +set useragent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A + +set spacial-navigation=true + shortcut-add wiki=https://en.wikipedia.org/w/index.php?search=$0 shortcut-add gl=https://encrypted.google.com/#q=$0 shortcut-add dl=https://duckduckgo.com/lite/?q=$0 @@ -26,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=#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 +set status-color-bg=#0D0F20 +set status-color-fg=#D10F2F +set status-ssl-color-bg=#0D0F20 +set status-ssl-color-fg=#D10F2F +set completion-bg-active=#0D0F20 +set completion-bg-normal=#0D0F20 +set completion-fg-active=#A02896 +set completion-fg-normal=#D10F2F diff --git a/Browser/vimb/config.static b/Browser/vimb/config.static index eb2f74b..18025ee 100644 --- a/Browser/vimb/config.static +++ b/Browser/vimb/config.static @@ -1,3 +1,7 @@ +set useragent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A + +set spacial-navigation=true + shortcut-add wiki=https://en.wikipedia.org/w/index.php?search=$0 shortcut-add gl=https://encrypted.google.com/#q=$0 shortcut-add dl=https://duckduckgo.com/lite/?q=$0 diff --git a/Shell/bash_aliases b/Shell/bash_aliases index 78a261b..a0f818e 100644 --- a/Shell/bash_aliases +++ b/Shell/bash_aliases @@ -8,7 +8,7 @@ alias sdr='gqrx-alsa' # Disable mouse alias remouse='sudo modprobe -r bcm5974' -alias enmouse='sudo modprobe bcm5974 & ~/bin/mousefix' +alias enmouse='sudo modprobe bcm5974 && ~/bin/mousefix' # Notes alias physics='vim ~/Sync/Notes/Physics/physics.txt' @@ -19,6 +19,7 @@ alias swedish='vim ~/Sync/Notes/Swedish/swedish.txt' #zombify alias zombify='sudo -u dork /home/vasko/dorknet/dork zombify' +alias radio="unbuffer mpv 'http://relay.181.fm:8028' |grep --line-buffered icy-title | sed -u 's/.*icy-title: /p/' > /tmp/panel-fifo" alias irc='autossh -M 0 -o "ServerAliveInterval 45" -o "ServerAliveCountMax 2" -p 55022 vasko@skozl.com' alias vps='autossh -M 0 -o "ServerAliveInterval 45" -o "ServerAliveCountMax 2" -p 22 vasko@108.61.173.91' alias sourcel='source ~/.bash_aliases' @@ -106,7 +107,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/uc' +alias xkb='sudo vim /usr/share/X11/xkb/symbols/vaskozl' alias pdf='apvlv' alias kpaint='kolourpaint' alias gnu='vrms' diff --git a/Window_Manager/ratpoison/ratpoisonrc.conf b/Window_Manager/ratpoison/ratpoisonrc.conf index bc0a7c0..dfa781f 100644 --- a/Window_Manager/ratpoison/ratpoisonrc.conf +++ b/Window_Manager/ratpoison/ratpoisonrc.conf @@ -95,6 +95,19 @@ definekey top F10 exec rpws 10 && printf "D10\nIclear\n" > /tmp/panel-fifo & xse definekey top F11 exec rpws 11 && echo "D11" > /tmp/panel-fifo && ratpoison -c barsend definekey top F12 exec rpws 12 && echo "D12" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-1 exec rpws 1 && echo "D1" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-2 exec rpws 2 && echo "D2" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-3 exec rpws 3 && echo "D3" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-4 exec rpws 4 && echo "D4" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-5 exec rpws 5 && echo "D5" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-6 exec rpws 6 && echo "D6" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-7 exec rpws 7 && echo "D7" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-8 exec rpws 8 && echo "D8" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-9 exec rpws 9 && printf "D9\nIxlear\n" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-0 exec rpws 10 && printf "D10\nIclear\n" > /tmp/panel-fifo & xset -led named "Scroll Lock" & ratpoison -c barsend + + + definekey top M-F1 rpwsm1 && echo "D1" > /tmp/panel-fifo && ratpoison -c barsend definekey top M-F2 rpwsm2 && echo "D2" > /tmp/panel-fifo && ratpoison -c barsend definekey top M-F3 rpwsm3 && echo "D3" > /tmp/panel-fifo && ratpoison -c barsend @@ -233,7 +246,7 @@ definekey top s-f exec firefox definekey top s-u exec uzbl-browser definekey top s-v exec vimb definekey top s-h exec ~/.config/vimb/history-search -definekey top s-g exec gvim +#definekey top s-g exec gvim #definekey top s-l exec libreoffice #----------------------------------------------------- @@ -249,12 +262,14 @@ alias volup exec amixer -q set Master 5+ && ratpoison -c "echo `$HOME/.config/ra definekey top XF86AudioRaiseVolume volup definekey top s-Prior volup +iefinekey top s-q volup # Down alias voldown exec amixer -q set Master 5- && ratpoison -c "echo `$HOME/.config/ratpoison/volind`" & volume -f 'V%i' > /tmp/panel-fifo definekey top XF86AudioLowerVolume voldown definekey top s-Next voldown +definekey top s-a voldown # Mute alias voltoggle exec amixer -D pulse set Master toggle && ratpoison -c "echo Sound: `amixer get Master|awk '/Mono:/ {print $6}'`" @@ -272,10 +287,12 @@ definekey top XF86MonBrightnessUp brightup definekey top XF86MonBrightnessDown brightdown definekey top s-Home brightup +definekey top s-g brightup definekey top s-End brightdown +definekey top s-d brightdown #------------------------------------------------------------- -# Cmus (Music) Control +# MPD (Music) Control #------------------------------------------------------------- # Aliases alias playinfo exec ratpoison -c "echo Music: `mpc -h 127.0.0.1 | head -2 | tail -1 | awk '{print $1}'`" @@ -290,9 +307,10 @@ alias songinfo exec ratpoison -c "echo Music: `mpc -h 127.0.0.1 | head -1`" definekey top s-space exec mpc -h 127.0.0.1 toggle && ratpoison -c 'playinfo' definekey top s-Right exec mpc -h 127.0.0.1 next && ratpoison -c "songinfo" definekey top s-Left exec mpc -h 127.0.0.1 prev && ratpoison -c "songinfo" -definekey top s-Up exec mpc -h 127.0.0.1 volume +5 && ratopison -c "volinfo" -definekey top s-Up exec mpc -h 127.0.0.1 volume +5 && ratpoison -c 'volinfo' +definekey top s-Up exec mpc -h 127.0.0.1 volume +5 && ratpoison -c "volinfo" +definekey top s-w exec mpc -h 127.0.0.1 volume +5 && ratpoison -c "volinfo" definekey top s-Down exec mpc -h 127.0.0.1 volume -5 && ratpoison -c 'volinfo' +definekey top s-r exec mpc -h 127.0.0.1 volume -5 && ratpoison -c "volinfo" # Old cmus controls #definekey top s-space exec cmus-remote -u && ratpoison -c "playinfo" diff --git a/Xinit/xinitrc b/Xinit/xinitrc index 94ddc69..faeb5d1 100755 --- a/Xinit/xinitrc +++ b/Xinit/xinitrc @@ -24,7 +24,7 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then fi # Autodisable rodent -sudo modprobe -r bcm5974 +#sudo modprobe -r bcm5974 # Make C-v always insert selection (disabled due to too much cpu wakepus) ### Disabled for use of too many cpu cycles @@ -54,7 +54,7 @@ sudo /usr/bin/brightchown ~/.custom #Keyboard Bindings -setxkbmap us -variant colemak +setxkbmap us -variant vaskozl xcape -t 300 -e 'Shift_L=parenleft;Shift_R=parenright;Hyper_L=Shift_L|exclam;Hyper_R=Shift_L|question' & xset r 64 xset r rate 170 60 |