dotfiles

Cem's Dotfiles
git clone git://git.ckyln.com/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit a18f1f9891233faad7453877bc485ce3d3ddcc41
parent d65711f9551079b34e75ce11113de06aca1b34c6
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue, 20 Aug 2019 11:06:45 +0300

Moving to pywal

Diffstat:
M.bashrc | 2++
M.config/i3/config | 27++++++++++++++++++++++-----
M.config/nvim/init.vim | 2++
M.config/polybar/config | 18+++++++++---------
M.zshrc | 3++-
Mbin/nightmodetoggle | 4++--
6 files changed, 39 insertions(+), 17 deletions(-)

diff --git a/.bashrc b/.bashrc @@ -191,5 +191,7 @@ export PATH=$HOME/.vim/bundle/vim-live-latex-preview/bin/:$PATH set -o vi export VIMUP=TRUE +(cat ~/.cache/wal/sequences &) + # Load aliases source $HOME/.aliases diff --git a/.config/i3/config b/.config/i3/config @@ -8,6 +8,26 @@ # # i3 config file (v4) +# Set colors from Xresources +# Change 'color7' and 'color2' to whatever colors you want i3 to use +# from the generated scheme. +# NOTE: The '#f0f0f0' in the lines below is the color i3 will use if +# it fails to get colors from Xresources. +set_from_resource $fg i3wm.color7 #f0f0f0 +set_from_resource $bg i3wm.color2 #f0f0f0 +set_from_resource $bgfron i3wm.color4 #f0f0f0 + +# class border backgr. text indicator child_border +client.focused $bgfron $bgfron $fg $bgfron $bgfron +client.focused_inactive $bg $bg $fg $bg $bg +client.unfocused $bg $bg $fg $bg $bg +client.urgent $bg $bg $fg $bg $bg +client.placeholder $bg $bg $fg $bg $bg + +client.background $bgfron + + + ######## Default Programs ######### # Terminal @@ -20,7 +40,7 @@ set $brow qutebrowser set $fm st -e lf && exit # Music Player -set $music st -e ncmpcpp && exit +set $music st -e zsh -c '. ~/.zshrc && ncmpcpp' ################################### @@ -230,9 +250,6 @@ bindsym $mod+d exec --no-startup-id rofi -show drun # Command Launcher bindsym $mod+u exec --no-startup-id rofi -show run -# Launch Mutt -bindsym $mod+Shift+m exec --no-startup-id $term -e neomutt && exit - # Launch Calcurse bindsym $mod+c exec --no-startup-id $term -e calcurse && exit @@ -256,7 +273,7 @@ exec --no-startup-id numlockx on exec --no-startup-id compton # Start Music Player Daemon -exec --no-startup-id mpd /home/cem/.config/mpd/mpd.conf +exec --no-startup-id mpd # Launch Clip Manager exec --no-startup-id clipit diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim @@ -139,8 +139,10 @@ Plug 'mcchrish/nnn.vim' Plug 'scrooloose/nerdtree' Plug 'itchyny/lightline.vim' Plug 'vim-latex/vim-latex' +Plug 'dylanaraps/wal.vim' call plug#end() map <C-o> :NERDTreeToggle<CR> +colorscheme wal filetype plugin indent on vnoremap <silent><Leader>y "yy <Bar> :call system('xclip', @y)<CR> set clipboard=unnamedplus diff --git a/.config/polybar/config b/.config/polybar/config @@ -19,15 +19,15 @@ [colors] background = #222 background-alt = #444 -foreground = #fff -foreground-alt = #fff -primary = #1a94ff -mornprim = #222 -secondary = #e60053 -alert = #bd2c40 +foreground = ${xrdb:color7:#fff} +foreground-alt = ${xrdb:color7:#fff} +primary = ${xrdb:color1:#1a94ff} +mornprim = ${xrdb:color1:#222} +secondary = ${xrdb:color2:#e60053} +alert = ${xrdb:color3:#bd2c40} ;barnight = #aa222222 -barnight = #aa282e44 -barback = #aaffde9b +barnight = ${xrdb:color0:#aa282e44} +barback = ${xrdb:color0:#aaffde9b} [bar/top] width = 100% @@ -35,7 +35,7 @@ height = 35 radius = 0.0 fixed-center = true background = ${colors.barback} -foreground = #222 +foreground = ${xrdb:color7:#222} primary = ${colors.mornprim} secondary = #ffa667 power = ${colors.alert} diff --git a/.zshrc b/.zshrc @@ -80,9 +80,10 @@ ZSH_THEME="keylan" # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(git) +plugins=(git) source $ZSH/oh-my-zsh.sh +(cat $HOME/.cache/wal/sequences &) # User configuration diff --git a/bin/nightmodetoggle b/bin/nightmodetoggle @@ -44,7 +44,7 @@ then esac if [ $(tail -n -1 $HOME/.night) = "NIGHT=1" ] then - feh --bg-fill --randomize $HOME/Pictures/Wallpapers/Night/* + wal -i $HOME/Pictures/Wallpapers/Night case $(ps aux | grep -i polybar) in *night*) exit @@ -54,7 +54,7 @@ then ;; esac else - feh --bg-fill --randomize $HOME/Pictures/Wallpapers/Morning/* + wal -i $HOME/Pictures/Wallpapers/Morning case $(ps aux | grep -i polybar | head -n +1 -) in *"polybar -q top") exit