diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 0f3964e..17dc211 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -2,8 +2,10 @@ export BSPWM_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/bspwm" -# theme colours -. "${HOME}/.cache/wal/colors.sh" +# restore theme colours +walcache="$HOME/.cache/wal" +. "$walcache/colors.sh" +xrdb "$walcache/colors.Xresources" # launch bar . $SCRIPTS/bar/launch @@ -13,14 +15,10 @@ bspc monitor --reset-desktops 1 2 3 4 5 6 7 8 9 0 bspc config border_width 0 bspc config window_gap 0 -visible=$CONFIG/polybar/.visible - -vpadding=0 -hpadding=0 -bspc config top_padding $vpadding -bspc config bottom_padding $vpadding -bspc config left_padding $hpadding -bspc config right_padding $hpadding +bspc config top_padding 0 +bspc config bottom_padding 0 +bspc config left_padding 0 +bspc config right_padding 0 bspc config split_ratio 0.52 bspc config borderless_monocle true diff --git a/.config/neofetch/config.conf b/.config/neofetch/config.conf index fe32939..2d8dc27 100644 --- a/.config/neofetch/config.conf +++ b/.config/neofetch/config.conf @@ -485,7 +485,7 @@ underline_char="~" # # Display colors 0-15 in the blocks. (16 colors) # neofetch --block_range 0 15 -block_range=(0 7) +block_range=(0 15) # Toggle color blocks # diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index f8bdc9f..b34dceb 100755 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -20,7 +20,7 @@ blur: { method = "gaussian"; size = 15; - deviation = 10.0; + deviation = 25.0; }; # Fading diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 4968064..ccfade9 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -24,9 +24,9 @@ super + Escape $HOME/.config/bspwm/bspwmrc reload Print - xfce4-screenshooter + $SCRIPTS/screenshot/ssall super + shift + s - xfce4-screenshooter -cr + $SCRIPTS/screenshot/ssregion # # bspwm hotkeys diff --git a/.scripts/include.sh b/.scripts/include.sh index 6bf84c0..3b196fa 100644 --- a/.scripts/include.sh +++ b/.scripts/include.sh @@ -7,3 +7,4 @@ source $SCRIPTS/cam/env.sh export PATH=$PATH:$SCRIPTS export PATH=$PATH:$SCRIPTS/cam export PATH=$PATH:$SCRIPTS/img +export PATH=$PATH:$SCRIPTS/screenshot diff --git a/.scripts/theme b/.scripts/theme new file mode 100755 index 0000000..233b7c6 --- /dev/null +++ b/.scripts/theme @@ -0,0 +1,33 @@ +#!/usr/bin/env bash + +bgdir="$HOME/pic/bg" +cache="$HOME/.cache/wal" +config="$HOME/.config" + +dir=$bgdir +if [ $# -eq 1 ]; then + dir=$1 +fi + +file=`sxiv -o $dir` +if [ $# -eq 1 ]; then + cp $file $bgdir/`basename $file` +fi + +# generate terminal colors with wal +wal -i $file + +# move temporary files to config in case .cache gets nuked hee hoo +cp "$cache/colors-kitty.conf" "$config/kitty/colors-kitty.conf" +cp "$cache/colors-rofi-light.rasi" "$config/rofi/colors-rofi-light.rasi" +cp "$cache/colors-rofi-dark.rasi" "$config/rofi/colors-rofi-dark.rasi" + +# update x resources +xrdb "$cache/colors.Xresources" + +# set system theme with wpg +#wpg -a $file -l +#wpg -s $file -l + +# reload bspwm +$HOME/.config/bspwm/bspwmrc reload