dotfiles

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

commit 7f800176fcbab2d64e8cd2b004636c2d935e17cf
parent ef25028e9ff99307b4f31be9a1a0c19d353842ec
Author: Cem Keylan <warc1998@gmail.com>
Date:   Tue, 21 May 2019 13:56:09 +0300

Minor Changes

Diffstat:
M.bashrc | 4+++-
M.config/i3/config | 2+-
M.config/polybar/config | 29+++++++++++++++++++++++------
M.fehbg | 2+-
Mbin/todo | 2+-
Abin/wallset | 10++++++++++
6 files changed, 39 insertions(+), 10 deletions(-)

diff --git a/.bashrc b/.bashrc @@ -96,6 +96,7 @@ alias free='free -m' # show sizes in MB alias np='nano -w PKGBUILD' alias more=less alias ncmpcpp="ncmpcpp --port 6601" +alias rm='rm -v' xhost +local:root > /dev/null 2>&1 @@ -145,4 +146,5 @@ export PATH=/home/cem/.gem/ruby/2.6.0/bin/:$PATH # Personal Scripts export PATH=/home/cem/bin/:$PATH -alias rm='rm -v' +export PATH=/home/cem/.scripts/:$PATH +export PATH=/usr/local/bin/:$PATH diff --git a/.config/i3/config b/.config/i3/config @@ -20,7 +20,7 @@ set $fbrow firefox set $sbrow qutebrowser # File Manager -set $fm nemo +set $fm terminator -e "lf && exit" ################################### diff --git a/.config/polybar/config b/.config/polybar/config @@ -67,7 +67,7 @@ height = 27 ;offset-x = 1% ;offset-y = 1% radius = 0.0 -fixed-center = false +fixed-center = true background = ${colors.barback} foreground = ${colors.foreground} bottom = true @@ -87,7 +87,7 @@ font-2 = siji:pixelsize=10;1 font-3 = Material Icons:style=Regular:size=13;4 modules-left = i3 bspwm -modules-center = +modules-center = todo modules-right = xkeyboard filesystem rootfs memory cpu tray-position = right @@ -193,6 +193,16 @@ label-urgent-padding = ${module/bspwm.label-urgent-padding} ; label-separator = | +[module/todo] +type = custom/script +exec = $HOME/bin/todo +format = <label> +label = TODO: %output% + +click-right = $HOME/bin/todorm +click-middle = $HOME/bin/todorm +click-left = $HOME/bin/todorm + [module/xwindow] type = internal/xwindow label = %title:0:30:...% @@ -202,7 +212,7 @@ type = internal/xkeyboard blacklist-0 = num lock format-prefix = " " -format-prefix-foreground = ${colors.foreground-alt} +format-prefix-foreground = ${colors.primary} label-layout = %layout% | @@ -217,7 +227,10 @@ interval = 25 mount-0 = /home -label-mounted = /home : %percentage_used%% +format-mounted= /home : <label-mounted> +label-mounted = %percentage_used%% +format-mounted-foreground = ${colors.primary} +label-mounted-foreground = #fff label-unmounted = %mountpoint% not mounted label-unmounted-foreground = ${colors.alert} @@ -225,8 +238,12 @@ label-unmounted-foreground = ${colors.alert} type = internal/fs interval = 25 mount-0 = / -label-mounted = / : %percentage_used%% | -label-unmounted = %mountpoint% not unmounted + +format-mounted= / : <label-mounted> +label-mounted = %percentage_used%% +format-mounted-foreground = ${colors.primary} +label-mounted-foreground = #fff +label-unmounted = %mountpoint% not mounted label-unmounted-foreground = ${colors.alert} [module/mpd] diff --git a/.fehbg b/.fehbg @@ -1,2 +1,2 @@ #!/bin/sh -feh --bg-fill '/home/cem/Pictures/ben-klea-1518594-unsplash.jpg' +feh --bg-fill '/home/cem/Pictures/Wallpapers/mudassir-ali-1582117-unsplash.jpg' diff --git a/bin/todo b/bin/todo @@ -4,5 +4,5 @@ if [[ $(cat $HOME/todo.txt) == "" ]] then echo "Nothing to do!" else - echo $(head -n 1 $HOME/todo.txt) + echo "$(head -n 1 $HOME/todo.txt) " fi diff --git a/bin/wallset b/bin/wallset @@ -0,0 +1,10 @@ +#!/bin/sh + +# Dmenu Script to change wallpaper +export selection=$(ls $HOME/Pictures/Wallpapers | dmenu) +if [$selection = ""] +then + exit +else + feh --bg-fill $HOME/Pictures/Wallpapers/$selection +fi