dotfiles

My dotfiles, nothing really interesting to see ...
git clone https://git.onna.be/dotfiles.git
Log | Files | Refs | README

commit b182ed04274ffc69ca65119569fab5720beb8f1e
parent 8328307a342b0cca43d6ac31b37a0bc7c10669ad
Author: Paco Esteban <paco@onna.be>
Date:   Tue, 26 Jun 2018 11:57:17 +0200

messing with colors

Diffstat:
polybar/.config/polybar/config | 28+++++++++++++++-------------
x11/.Xresources | 24+++++++++++++++++++++---
zsh/.zsh/aliases.zsh | 7++++---
zsh/.zshenv | 4++--
4 files changed, 42 insertions(+), 21 deletions(-)

diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config @@ -9,6 +9,8 @@ primary = #afafaf secondary = #e60053 alert = #bd2c40 col = #00f +audio-green = #1bb559 +audio-orange = #ff8000 [bar/example] monitor = ${env:MONITOR:HDMI-0} @@ -115,7 +117,7 @@ label-mode-foreground = #000 label-mode-background = ${colors.primary} label-focused = %index% %icon% -label-focused-background = ${xrdb:color0} +label-focused-background = ${colors.background} label-focused-underline = ${module/bspwm.label-focused-underline} label-focused-padding = ${module/bspwm.label-focused-padding} @@ -137,7 +139,7 @@ label-urgent-padding = ${module/bspwm.label-urgent-padding} [module/cpu] type = internal/cpu interval = 2 -format-underline = ${xrdb:color1} +format-underline = ${colors.background} label = %percentage:3%% [module/ram] @@ -152,7 +154,7 @@ type = internal/network interface = bond0 interval = 3.0 -format-connected-underline = ${xrdb:color2} +format-connected-underline = ${colors.background} format-connected-prefix = "| " format-connected-prefix-foreground = ${colors.foreground-alt} label-connected = Up%upspeed:9% Dwn%downspeed:9% @@ -172,7 +174,7 @@ time = "- %H:%M" format-prefix = "| " format-prefix-foreground = ${colors.foreground-alt} -format-underline = ${xrdb:color12} +format-underline = ${colors.background} label = %date% %time% @@ -190,13 +192,13 @@ format-muted-foreground = ${colors.foreground-alt} label-muted = sound muted bar-volume-width = 10 -bar-volume-foreground-0 = ${xrdb:color10} -bar-volume-foreground-1 = ${xrdb:color10} -bar-volume-foreground-2 = ${xrdb:color10} -bar-volume-foreground-3 = ${xrdb:color10} -bar-volume-foreground-4 = ${xrdb:color10} -bar-volume-foreground-5 = ${xrdb:color11} -bar-volume-foreground-6 = ${xrdb:color1} +bar-volume-foreground-0 = ${colors.audio-green} +bar-volume-foreground-1 = ${colors.audio-green} +bar-volume-foreground-2 = ${colors.audio-green} +bar-volume-foreground-3 = ${colors.audio-green} +bar-volume-foreground-4 = ${colors.audio-green} +bar-volume-foreground-5 = ${colors.audio-orange} +bar-volume-foreground-6 = ${colors.alert} bar-volume-gradient = false bar-volume-indicator = | bar-volume-indicator-font = 1 @@ -214,9 +216,9 @@ warn-temperature = 60 format-prefix = "| " format-prefix-foreground = ${colors.foreground-alt} format = <label> -format-underline = ${xrdb:color1} +format-underline = ${colors.background} format-warn = <label-warn> -format-warn-underline = ${self.format-underline} +format-warn-underline = ${colors.alert} label = cpu %temperature% label-warn = cpu %temperature% diff --git a/x11/.Xresources b/x11/.Xresources @@ -5,8 +5,8 @@ Xft.rgba: rgb Xft.hinting: true Xft.hintstyle: hintslight -!URxvt.background: black -!URxvt.foreground: grey +URxvt.background: black +URxvt.foreground: grey URxvt.buffered: true URxvt.cursorColor: #395573 URxvt.cursorUnderline: false @@ -41,4 +41,22 @@ URxvt.url-select.launcher: /usr/bin/google-chrome-stable --incognito URxvt.keysym.M-v: perl:clipboard:paste URxvt.keysym.M-C-v: perl:clipboard:paste_escaped -#include "/home/paco/.colours/buhman" +!replacing ugly first 16 terminal colors +!0 - black - unchanged +!15 - white - unchanged +*color0: rgb:00/00/00 +*color1: rgb:9e/18/28 +*color2: rgb:00/88/00 +*color3: rgb:c4/b7/3c +*color4: rgb:41/41/71 +*color5: rgb:96/3c/59 +*color6: rgb:3e/ac/a1 +*color7: rgb:be/be/be +*color8: rgb:66/66/66 +*color9: rgb:d0/45/58 +*color10: rgb:61/a1/71 +*color11: rgb:e7/db/52 +*color12: rgb:2c/6a/9a +*color13: rgb:a9/7a/99 +*color14: rgb:79/ba/ba +*color15: rgb:ff/ff/ff diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh @@ -79,9 +79,10 @@ cfg-ssh-authorized-keys() { $EDITOR $HOME/.ssh/authorized_keys } cfg-ssh-known-hosts() { $EDITOR $HOME/.ssh/known_hosts } # directory definitions -e=$HOME/Sync/src/electronica -s=$HOME/Sync/src -p=$HOME/Sync/src/powerspace +e=$HOME/Sync/electronica +s=$HOME/src +S=$HOME/Sync +p=$HOME/Sync/powerspace d=$HOME/Documents D=$HOME/Downloads f=/mnt/fotos diff --git a/zsh/.zshenv b/zsh/.zshenv @@ -8,7 +8,7 @@ export LESS="-R" export HISTSIZE=5000 export HISTFILE=~/.history_zsh export SAVEHIST=4000 -export GOPATH=~/Sync/src/go +export GOPATH=$HOME export PASSWORD_STORE_DIR=$HOME/Sync/password-store export PASSWORD_STORE_CLIP_TIME=60 export PASSWORD_STORE_GENERATED_LENGTH=32 @@ -17,7 +17,7 @@ export PASSWORD_STORE_ENABLE_EXTENSIONS=true export DEFAULT_USER=$USER typeset -U path -path=(/opt/google-cloud-sdk/bin ~/.plenv/bin $GOPATH/bin $path) +path=(/opt/google-cloud-sdk/bin ~/.plenv/bin $path) # for completion colored ... export LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'