diff options
author | Vasil Zlatanov <v@skozl.com> | 2017-04-16 13:05:33 +0200 |
---|---|---|
committer | Vasil Zlatanov <v@skozl.com> | 2017-04-16 13:05:33 +0200 |
commit | c915def7a196fd412a95e1614078531d6d36bb6d (patch) | |
tree | c29a40172c166ba5a3f306fc26bf60db4791ce7e | |
parent | fd4464cbb193cc6e458e92e23853fd764d57e80f (diff) | |
download | dotfiles-c915def7a196fd412a95e1614078531d6d36bb6d.tar.gz dotfiles-c915def7a196fd412a95e1614078531d6d36bb6d.tar.bz2 dotfiles-c915def7a196fd412a95e1614078531d6d36bb6d.zip |
massive upgrade to new laptop
-rw-r--r-- | Mail/mutt/mailcap | 2 | ||||
-rw-r--r-- | Mail/muttrc | 5 | ||||
-rwxr-xr-x | Panel/lemonbar/panel_bar | 4 | ||||
-rwxr-xr-x | Panel/lemonbar/profile | 6 | ||||
-rw-r--r-- | Shell/bash_aliases | 11 | ||||
-rw-r--r-- | Shell/zshrc | 2 | ||||
-rwxr-xr-x | Window_Manager/ratpoison/firesend | 2 | ||||
-rw-r--r-- | Window_Manager/ratpoison/py/colorz.pyc | bin | 3165 -> 3149 bytes | |||
-rw-r--r-- | Window_Manager/ratpoison/ratpoisonrc.conf | 10 | ||||
-rw-r--r-- | Xinit/Xdefaults | 7 | ||||
-rw-r--r-- | Xinit/Xresources | 2 | ||||
-rwxr-xr-x | Xinit/xinitrc | 1 |
12 files changed, 29 insertions, 23 deletions
diff --git a/Mail/mutt/mailcap b/Mail/mutt/mailcap index 2ff7cf2..bc80a85 100644 --- a/Mail/mutt/mailcap +++ b/Mail/mutt/mailcap @@ -1,3 +1,3 @@ application/*; mkdir -p /tmp/mutt \; cp %s /tmp/mutt \; rifle /tmp/mutt/$(basename %s) & -text/html; vimb '%s' &; test=test -n "$DISPLAY"; needsterminal; +text/html; chromium '%s' &; test=test -n "$DISPLAY"; needsterminal; text/html; w3m -I %{charset} -T text/html; copiousoutput; diff --git a/Mail/muttrc b/Mail/muttrc index b9c3369..93a8175 100644 --- a/Mail/muttrc +++ b/Mail/muttrc @@ -55,7 +55,7 @@ macro index,pager A \ "add the sender email address to khard" # Load from CardDav -set query_command="khard email --parsable --search-in-source-files %s" +set query_command="$HOME/.mutt/mutt-eds-query %s" @@ -139,7 +139,7 @@ set markers=no set smart_wrap # Mutt LED notification -set status_format="$HOME/.mutt/notify.sh '%r %f (%L) [Msgs:%?M?%M/?%m%?n? New:%n?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?]'|" +# set status_format="$HOME/.mutt/notify.sh '%r %f (%L) [Msgs:%?M?%M/?%m%?n? New:%n?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?]'|" # Render silly html set mailcap_path = ~/.mutt/mailcap @@ -147,3 +147,4 @@ folder-hook . `rm -f /tmp/mutt/*` # delete tmp files crea auto_view text/html # view html automatically alternative_order text/plain text/enriched text/html # save html for last + diff --git a/Panel/lemonbar/panel_bar b/Panel/lemonbar/panel_bar index 40a2b27..5d36a88 100755 --- a/Panel/lemonbar/panel_bar +++ b/Panel/lemonbar/panel_bar @@ -45,7 +45,7 @@ while read -r line ; do ;; K*) # volume output - musicvol="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_MUSIC} ${line#?} %{B-}%{F-}" + #musicvol="%{F$COLOR_STATUS_FG}%{B$COLOR_STATUS_BG} ${ICON_MUSIC} ${line#?} %{B-}%{F-}" ;; @@ -115,5 +115,5 @@ while read -r line ; do # ;; esac # printf "%s\n" "%{l}${wm_infos}${title}%{r}${playing}${paused}${cpu}${ram}${essid}${signal}${volume}${musicvol}${battery}${time_infos} " - printf "%s\n" "%{l}${desktop}${wm_infos}%{r}${notification}${face}${priv}${pub}${mail}${playing}${paused}${cpu}${ram}${volume}${musicvol}${battery}${time_infos}" + printf "%s\n" "%{l}${desktop}${wm_infos}%{r}${notification}${face}${priv}${pub}${mail}${playing}${paused}${cpu}${ram}${volume}${battery}${time_infos}" done diff --git a/Panel/lemonbar/profile b/Panel/lemonbar/profile index 3a2f726..5c34dd7 100755 --- a/Panel/lemonbar/profile +++ b/Panel/lemonbar/profile @@ -1,8 +1,8 @@ #!/bin/sh PANEL_FIFO=/tmp/panel-fifo -PANEL_HEIGHT=24 +PANEL_HEIGHT=48 -FONT_FONT="fixed" -ICON_FONT="FontAwesome-9" +FONT_FONT="DejaVuSans-10" +ICON_FONT="FontAwesome-10" export PANEL_FIFO PANEL_HEIGHT PANEL_FONT_FAMILY FONT_FONT ICON_FONT diff --git a/Shell/bash_aliases b/Shell/bash_aliases index 6320c72..9a21eb1 100644 --- a/Shell/bash_aliases +++ b/Shell/bash_aliases @@ -1,5 +1,11 @@ #if you wanna change timezone just copy one of /usr/share/zoneinfo/place to /etc/localtime +alias sp='chromium --app=https://play.spotify.com' +alias wa='chromium --app=https://web.whatsapp.com' +alias serial='screen /dev/$(basename $(ls /dev/ttyAC*|tail -1)) 9600n' + +# bauerbill +alias bb='bb-wrapper' #ip alias ip='ip -c' @@ -11,8 +17,8 @@ alias ,.='!!' # mpv alias mpvl='mpv --ytdl-format=43' +alias mpv="mpv --ytdl-format 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4'" -#Micrcontroller alias serial='micronucleus --run ~/Sync/Programming/serial.hex' alias yt='mpsyt' @@ -70,7 +76,8 @@ alias o='less' alias g='wget' alias x='tar -xvzf' alias a='tar -cvzf' -alias i='yaourt -S' +alias i='bb -S' +alias ia='bb -S --aur' alias p='sudo pacman -Rs' alias clean='sudo pacman -Rsn $(pacman -Qdtq)' alias t='optirun' diff --git a/Shell/zshrc b/Shell/zshrc index 6568d91..bbe35c2 100644 --- a/Shell/zshrc +++ b/Shell/zshrc @@ -27,7 +27,7 @@ export PATH="$HOME/bin:$PATH" export EDITOR="vim" export LD_LIBRARY_PATH=/usr/local/lib -PROMPT="%{$fg_no_bold[yellow]%}%1~ %{$reset_color%}☢ " +PROMPT="%{$fg_no_bold[yellow]%}%1~ %{$reset_color%}▶ " #RPROMPT="[%{$fg_no_bold[yellow]%}%?%{$reset_color%}]" diff --git a/Window_Manager/ratpoison/firesend b/Window_Manager/ratpoison/firesend deleted file mode 100755 index 70ee78e..0000000 --- a/Window_Manager/ratpoison/firesend +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -vimb $@ > /dev/null 2>&1 & diff --git a/Window_Manager/ratpoison/py/colorz.pyc b/Window_Manager/ratpoison/py/colorz.pyc Binary files differindex 2e77075..586db45 100644 --- a/Window_Manager/ratpoison/py/colorz.pyc +++ b/Window_Manager/ratpoison/py/colorz.pyc diff --git a/Window_Manager/ratpoison/ratpoisonrc.conf b/Window_Manager/ratpoison/ratpoisonrc.conf index 757d186..d467bd1 100644 --- a/Window_Manager/ratpoison/ratpoisonrc.conf +++ b/Window_Manager/ratpoison/ratpoisonrc.conf @@ -47,7 +47,7 @@ exec xsetroot -cursor_name left_ptr #exec nitrogen --restore #Border & Padding -alias showpanel set padding 0 24 0 0 +alias showpanel set padding 0 48 0 0 alias hidepanel set padding 0 0 0 0 showpanel @@ -139,7 +139,7 @@ alias cont exec pkill -CONT # b : Open url -alias browse_cmd exec .config/ratpoison/exec_to_workspace 2 vimb +alias browse_cmd exec .config/ratpoison/exec_to_workspace 2 chromium alias browse colon browse_cmd bind b browse # B : open a new firefox tab and browse to the X clipboard selection @@ -159,7 +159,7 @@ definekey top s-c colon cont definekey top s-x colon stop definekey top s-f exec firefox -definekey top s-v exec vimb +definekey top s-v exec chromium definekey top s-V exec mpv `xclip -o` --ytdl-format=22 definekey top s-h exec ~/.config/vimb/history-search #definekey top s-g exec gvim @@ -200,8 +200,8 @@ definekey top s-Pause voltoggle #------------------------------------------------------------- # Brightness Control #------------------------------------------------------------- -alias brightup exec xbacklight -inc 2 -alias brightdown exec xbacklight -dec 2 +alias brightup exec light -A 2 +alias brightdown exec light -U 2 definekey top XF86MonBrightnessUp brightup definekey top XF86MonBrightnessDown brightdown diff --git a/Xinit/Xdefaults b/Xinit/Xdefaults index 0f56be6..7e08674 100644 --- a/Xinit/Xdefaults +++ b/Xinit/Xdefaults @@ -2,7 +2,7 @@ ! Xft settings !------------------------------------------------------------------------------- -Xft.dpi: 96 +Xft.dpi: 186 Xft.antialias: true Xft.rgba: rgb Xft.hinting: true @@ -18,7 +18,7 @@ URxvt.lineSpace: 0 ! Fonts URxvt.allow_bold: true -URxvt.font: xft:DejaVu Sans Mono:pixelsize=11 +URxvt.font: xft:DejaVu Sans Mono:pixelsize=26 ! Fix font space URxvt*letterSpace: -1 @@ -48,5 +48,4 @@ URxvt.keysym.M-s: perl:keyboard-select:search ! M-u to select open copy links !URxvt.perl-ext-common: ...,url-select URxvt.keysym.M-u: perl:url-select:select_next -URxvt.url-select.launcher: /home/vasko/.tools/firesend - +URxvt.url-select.launcher: chromium diff --git a/Xinit/Xresources b/Xinit/Xresources index 3fa2ad8..fe0210e 100644 --- a/Xinit/Xresources +++ b/Xinit/Xresources @@ -13,7 +13,7 @@ urxvt.scrollBar :false xterm.scrollBar :false xterm*faceName: DejaVu Sans Mono Book -xterm*faceSize: 11 +xterm*faceSize: 16 ! Enable copy paste xterm*metaSendsEscape: true diff --git a/Xinit/xinitrc b/Xinit/xinitrc index 5358300..c20998c 100755 --- a/Xinit/xinitrc +++ b/Xinit/xinitrc @@ -42,4 +42,5 @@ xrdb -merge ~/.Xdefaults # Automount #udiskie -N & +xrandr --dpi 186 ratpoison |