diff --git a/.scripts/readme.md b/.scripts/readme.md index ad298b6..544cc94 100644 --- a/.scripts/readme.md +++ b/.scripts/readme.md @@ -1,9 +1,15 @@ `alxrcs, rallwalls, refwalls, setwalle` - GNOME/XFCE scripts for wpgtk (or wpg) \ -`termcolors` - script for KDE, sets Alacritty colorscheme from wallpaper. Currently working only with 1 monitor, but will be rewrited to support 2+. Wallpaper colors generator is [wallust](https://codeberg.org/explosion-mental/wallust) \ +`termcolors` - script for KDE, sets Alacritty colorscheme from wallpaper. Currently working only with 1 monitor, but will be rewrited to support 2+. Someday... \ +Wallpaper colors generator is [wallust](https://codeberg.org/explosion-mental/wallust) \ For `termcolor` script your Alacritty config doesn't contain any color-related lines and contain this: ``` import: - ~/.config/alacritty/colors.yml ``` Check my [Alacritty config](https://git.sadium.cyou/Overxwise/dotfiles/src/branch/master/.config/alacritty/alacritty.yml) as an example. \ +Also I find a way do dynamicly change colorscheme when wallpaper changes. \ +Put this line below in your .bashrc/.zshrc etc. +```(exa ~/.cache/curwal| entr termcolors &) &> /dev/null``` +Small remark - you can use `ls` instead `exa`. In my case I use `exa` instead `ls` and have alias for this - `alias ls='exa -laFh --icons --group-directories-first'`. If I use `ls` this way, I'll get an error. \ +Also you need to include your (or mine) `.scripts` folder in `$PATH`. For this recomment take a look at my [zshrc](https://git.sadium.cyou/Overxwise/dotfiles/src/branch/master/.zshrc). Line starts at `export PATH=`. \ obs - custom docks doesn't work in Wayland (idk why), using workaround to fix this. diff --git a/.scripts/termcolors b/.scripts/termcolors index 3f4b96b..09b3320 100755 --- a/.scripts/termcolors +++ b/.scripts/termcolors @@ -1,5 +1,4 @@ #! /bin/sh - # Comment one of lower lines if u want to one of the modes works # General image mode @@ -10,4 +9,4 @@ cat ~/.config/plasma-org.kde.plasma.desktop-appletsrc | rg Image | sed 's:Image= # Don't touch this lines wallust $(cat ~/.cache/curwal) -qs -rm ~/.cache/curwal +# rm ~/.cache/curwal