Moved theming to a central location
This commit is contained in:
parent
1c6fec2a1f
commit
54ecbaea3c
13 changed files with 20 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
@import "../../theming/library/entry.scss";
|
@import "../../library/entry.scss";
|
||||||
|
|
||||||
* {
|
* {
|
||||||
color: $foreground;
|
color: $foreground;
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
#!/bin/env sh
|
#!/bin/env sh
|
||||||
|
|
||||||
|
APPLICATIONS_PATH="$HOME/.config/theming/applications/"
|
||||||
|
|
||||||
sass --no-source-map \
|
sass --no-source-map \
|
||||||
$HOME/.config/swaync/style/style.scss:$HOME/.config/swaync/style.css \
|
$APPLICATIONS_PATH/swaync/style.scss:$HOME/.config/swaync/style.css \
|
||||||
$HOME/.config/waybar/scss/style.scss:$HOME/.config/waybar/style.css \
|
$APPLICATIONS_PATH/waybar/style.scss:$HOME/.config/waybar/style.css \
|
||||||
$HOME/.config/nwg-drawer/style/style.scss:$HOME/.config/nwg-drawer/drawer.css \
|
$APPLICATIONS_PATH/nwg-drawer/style.scss:$HOME/.config/nwg-drawer/drawer.css \
|
||||||
$HOME/.config/anyrun/style/entry.scss:$HOME/.config/anyrun/style.css \
|
$APPLICATIONS_PATH/anyrun/entry.scss:$HOME/.config/anyrun/style.css \
|
||||||
$HOME/.config/hyprswitch/style/style.scss:$HOME/.config/hyprswitch/style.css
|
$APPLICATIONS_PATH/hyprswitch/style.scss:$HOME/.config/hyprswitch/style.css
|
||||||
|
|
|
||||||
|
|
@ -3,3 +3,4 @@
|
||||||
$background-semitransparent: rgba($background, 0.95);
|
$background-semitransparent: rgba($background, 0.95);
|
||||||
$foreground-disabled: rgba($foreground, 0.75);
|
$foreground-disabled: rgba($foreground, 0.75);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
11
.config/theming/watch.sh
Executable file
11
.config/theming/watch.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/env sh
|
||||||
|
|
||||||
|
setupWatchers() {
|
||||||
|
inotifywait -e modify,create,delete -m -r "$HOME/.config/theming/applications" &
|
||||||
|
inotifywait -e modify,create,delete -m -r "$HOME/.config/theming/library" &
|
||||||
|
}
|
||||||
|
|
||||||
|
setupWatchers | while read line; do
|
||||||
|
echo "Recomiling..."
|
||||||
|
$HOME/.config/theming/compile.sh >/dev/null
|
||||||
|
done
|
||||||
Loading…
Add table
Add a link
Reference in a new issue