diff --git a/de/bar/polybar-config b/de/bar/polybar-config index 559c1cb..4c918a4 100644 --- a/de/bar/polybar-config +++ b/de/bar/polybar-config @@ -93,7 +93,7 @@ interval = 25 mount-0 = ${env:BAR_FS_VOLUME} format = -label-mounted = %used% +label-mounted = %free% label-mounted-foreground = ${colors.filesystem} format-mounted-prefix = " " format-mounted-prefix-foreground = ${colors.icon} diff --git a/de/x/resources b/de/x/resources index 61c0d21..6f91fcd 100755 --- a/de/x/resources +++ b/de/x/resources @@ -30,7 +30,7 @@ URxvt*utf8: 1 URxvt*scaleHeight: 1 URxvt*depth: 32 URxvt*internalBorder: 24 -URxvt*perl-ext-common: default,matcher,resize-font +URxvt*perl-ext-common: default,matcher,resize-font,config-reload URxvt*keysym.M-Escape: perl:keyboard-select:activate URxvt*resize-font.smaller: C-Down URxvt*resize-font.bigger: C-Up diff --git a/scripts/colors/generator/gen.bash b/scripts/colors/generator/gen.bash index dadf4de..df3acf4 100755 --- a/scripts/colors/generator/gen.bash +++ b/scripts/colors/generator/gen.bash @@ -1,13 +1,13 @@ #!/usr/bin/env bash SCHEME="donokai" +TYPE="dark" -v=$(ruby --version) +# v=$(ruby --version) if [[ $? -eq 0 ]]; then - if [[ -n $1 ]]; then - SCHEME=$1 - fi + if [[ -n $1 ]]; then SCHEME=$1; fi + if [[ -n $2 ]]; then TYPE=$2; fi DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd) @@ -34,10 +34,10 @@ if [[ $? -eq 0 ]]; then rm -f "$DIR/../vconsole" rm -f "$DIR/../vim" rm -f "$DIR/../xresources" - cp "$COLORS_PATH/xresources/base16-$SCHEME.dark.xresources" "$DIR/../xresources" - cp "$COLORS_PATH/vconsole/base16-$SCHEME.dark.sh" "$DIR/../vconsole" + cp "$COLORS_PATH/xresources/base16-$SCHEME.$TYPE.xresources" "$DIR/../xresources" + cp "$COLORS_PATH/vconsole/base16-$SCHEME.$TYPE.sh" "$DIR/../vconsole" cp "$COLORS_PATH/vim/base16-$SCHEME.vim" "$DIR/../vim" - cp "$COLORS_PATH/shell/base16-$SCHEME.dark.sh" "$DIR/../shell" + cp "$COLORS_PATH/shell/base16-$SCHEME.$TYPE.sh" "$DIR/../shell" chmod +x "$DIR/../shell" chmod +x "$DIR/../vconsole" diff --git a/scripts/colors/generator/schemes/donokai-black.yml b/scripts/colors/generator/schemes/donokaiblack.yml similarity index 100% rename from scripts/colors/generator/schemes/donokai-black.yml rename to scripts/colors/generator/schemes/donokaiblack.yml diff --git a/scripts/colors/generator/schemes/holodized.yml b/scripts/colors/generator/schemes/holodized.yml new file mode 100644 index 0000000..bdaded9 --- /dev/null +++ b/scripts/colors/generator/schemes/holodized.yml @@ -0,0 +1,37 @@ +scheme: "Holodized" +author: "Daniel Flanagan(https://lytedev.io)" +base00: "fdf6e3" # background, light cream +base01: "ddd6c3" # darker cream +base02: "ada693" # darker cream +base03: "8d8673" # greyish yellow (peuce) +base04: "554f45" # darker peuce +base05: "111111" # foreground dark grey +base06: "333333" # foreground 2 dark grey +base07: "555555" # foreground 3 dark grey +base08: "990833" # magenta +base09: "fd971f" # orange +base0A: "947010" # yellow +base0B: "06623e" # green +base0C: "006677" # cyan +base0D: "004488" # blue +base0E: "4e117f" # purple +base0F: "883311" # pale orange + +# scheme: "Holodized" +# author: "Daniel Flanagan @lytedev (modified Solarized Light)" +# base00: "fdf6e3" +# base01: "eee8d5" +# base02: "93a1a1" +# base03: "839496" +# base04: "657b83" +# base05: "111111" +# base06: "073642" +# base07: "002b36" +# base08: "8c220f" +# base09: "8b2b06" +# base0A: "b58900" +# base0B: "859900" +# base0C: "2aa198" +# base0D: "268bd2" +# base0E: "6c71c4" +# base0F: "d33682" diff --git a/scripts/colors/set-theme.bash b/scripts/colors/set-theme.bash new file mode 100755 index 0000000..3d5b685 --- /dev/null +++ b/scripts/colors/set-theme.bash @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd) + +THEME="$1" + +echo "$THEME" + +"$DIR/generator/gen.bash" "$THEME" +"$DOTFILES_PATH/de/x/loadresources" +resrc +restartbar +# TODO: set GTK theme to "Arc-Dark" or "Arc-Light"