From 60cb259e103b3e1a8f7c43ed8dd2250137d47578 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Mon, 30 May 2016 19:04:23 +0100 Subject: lemonbar speed fix --- Browser/vimb/config | 16 ++++++++-------- Panel/lemonbar/panel | 2 +- Panel/lemonbar/windows | 2 +- Shell/bash_aliases | 17 ++++++++++------- Shell/zshrc | 3 ++- 5 files changed, 22 insertions(+), 18 deletions(-) diff --git a/Browser/vimb/config b/Browser/vimb/config index bd340b6..04f5185 100644 --- a/Browser/vimb/config +++ b/Browser/vimb/config @@ -32,11 +32,11 @@ nmap ) nmap S :set scripts=false r :shellcmd mpv --no-terminal "%s" :set scripts=true -set status-color-bg=#0f0e20 -set status-color-fg=#de7788 -set status-ssl-color-bg=#0f0e20 -set status-ssl-color-fg=#de7788 -set completion-bg-active=#0f0e20 -set completion-bg-normal=#0f0e20 -set completion-fg-active=#6260a0 -set completion-fg-normal=#de7788 +set status-color-bg=#150620 +set status-color-fg=#e06131 +set status-ssl-color-bg=#150620 +set status-ssl-color-fg=#e06131 +set completion-bg-active=#150620 +set completion-bg-normal=#150620 +set completion-fg-active=#a03714 +set completion-fg-normal=#e06131 diff --git a/Panel/lemonbar/panel b/Panel/lemonbar/panel index 0477467..6926b75 100755 --- a/Panel/lemonbar/panel +++ b/Panel/lemonbar/panel @@ -21,7 +21,7 @@ clock -i 60 -sf 'Z%d %a %H:%M' > "$PANEL_FIFO" & unbuffer alsactl monitor | grep --line-buffered 'Headphone Jack' | while read line; do volume -f 'V%i' > $PANEL_FIFO;done & -source ./panel_colors +. ./panel_colors cat "$PANEL_FIFO" | ./panel_bar | lemonbar -f "$FONT_FONT" -f "$ICON_FONT" -g x$PANEL_HEIGHT -F "$COLOR11" -B "$COLOR0" -u 3 & diff --git a/Panel/lemonbar/windows b/Panel/lemonbar/windows index e5ae808..b37270f 100755 --- a/Panel/lemonbar/windows +++ b/Panel/lemonbar/windows @@ -1,3 +1,3 @@ #!/bin/bash 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 +ratpoison -c 'windows %s%n %t' | while read line;do echo "${line}" | cut -c -25 > /tmp/panel-fifo;done diff --git a/Shell/bash_aliases b/Shell/bash_aliases index d2fa496..72c252a 100644 --- a/Shell/bash_aliases +++ b/Shell/bash_aliases @@ -1,8 +1,11 @@ -#module for mouse is bcm5974 -# pacat /dev/urandom > padsp -# for volume over 150: pactl set-sink-volume 0 150% (or volume 150%) #if you wanna change timezone just copy one of /usr/share/zoneinfo/place to /etc/localtime -# awesome perl echo 'one two three'| perl -lne 'print $1 if /one(.*)three/' +# awesome perl echo 'one two three'| perl -lne 'print $2 if /one(.*)three/' + + +#Micrcontroller +alias serial='micronucleus --run ~/Sync/Programming/serial.hex' + +alias yt='mpsyt' # SDR alias sdr='gqrx-alsa' @@ -23,7 +26,7 @@ alias radiorock="unbuffer mpv 'http://relay.181.fm:8028' |grep --line-buffered i alias radio40="unbuffer mpv 'http://relay.181.fm:8070' |grep --line-buffered icy-title | sed -u 's/.*icy-title: /p/' > /tmp/panel-fifo" alias radiolounge="unbuffer mpv 'http://sc-tcl.1.fm:8010/' |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 vps='autossh -M 0 -o "ServerAliveInterval 45" -o "ServerAliveCountMax 2" -p 22 vasko@skozl.com' alias sourcel='source ~/.bash_aliases' alias ,.='fc -e -' alias cd..='cd ..' @@ -34,7 +37,7 @@ alias tuner='lingot' alias efbterm='export TERM=fbterm' alias listd='ls -al /dev/disk/by-uuid/*' alias py='python3' -alias scan='iwlist wlan0 scan' +alias scan='iwlist wlp2s0 scan' alias connect='sudo iwconfig wlan0 essid' alias home='cd /home/vasko' alias l='ls -F' @@ -68,7 +71,7 @@ alias iso='dd if=/dev/cdrom of=~/cdrom_image.iso' alias tglxspheres='vblank_mode=0 optirun -vv /opt/VirtualGL/bin/glxspheres64' alias pglxspheres='vblank_mode=0 primusrun /opt/VirtualGL/bin/glxspheres64' alias httpserve='python -m SimpleHTTPServer' -alias pi='ping google.com' +alias pi='ping -4 google.com' alias pl='ping 8.8.8.8' alias def='sdcv' diff --git a/Shell/zshrc b/Shell/zshrc index 9c3e9be..9b0e8a6 100644 --- a/Shell/zshrc +++ b/Shell/zshrc @@ -56,5 +56,6 @@ fi #fortune -s | cowsay -f $(ls /usr/share/cows/ | shuf -n1) -#archey3 +#fortune -s +#~/archey -- cgit v1.2.3-54-g00ecf