aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorinstaller <installer@gmail.com>2025-02-11 00:49:27 +0900
committerinstaller <installer@gmail.com>2025-02-11 00:49:27 +0900
commit40abfe9cbc5d35fe7118bb8ff7e7974bfeb13e1a (patch)
tree39279d69e67a8f40e8f89b1af27348b9a421e21e /config
parent309314e5727bcb4f369c34489a1ee2c550bce20e (diff)
updated DarkLight and swaync css
Diffstat (limited to 'config')
-rwxr-xr-xconfig/hypr/scripts/DarkLight.sh18
-rwxr-xr-xconfig/hypr/scripts/Refresh.sh6
-rwxr-xr-xconfig/swaync/style.css32
3 files changed, 32 insertions, 24 deletions
diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh
index f5b9389b..783fa31a 100755
--- a/config/hypr/scripts/DarkLight.sh
+++ b/config/hypr/scripts/DarkLight.sh
@@ -20,8 +20,11 @@ wallust_config="$HOME/.config/wallust/wallust.toml"
pallete_dark="dark16"
pallete_light="light16"
-# kill swaybg if running
-pkill swaybg
+# intial kill process
+for pid in kitty waybar rofi swaync ags swaybg; do
+ killall -SIGUSR1 "$pid"
+done
+
# Initialize swww if needed
swww query || swww-daemon --format xrgb
@@ -230,15 +233,16 @@ update_theme_mode
${SCRIPTSDIR}/WallustSwww.sh &&
-# some process to kill
-for pid in $(pidof kitty waybar rofi swaync ags swaybg); do
- kill -SIGUSR1 "$pid"
+sleep 2
+# kill process
+for pid1 in kitty waybar rofi swaync ags swaybg; do
+ killall "$pid1"
done
-sleep 2
+sleep 1
${SCRIPTSDIR}/Refresh.sh
-sleep 1
+sleep 0.5
# Display notifications for theme and icon changes
notify-send -u low -i "$notif" " Themes switched to:" " $next_mode Mode"
diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh
index 5cb69af4..b041b19b 100755
--- a/config/hypr/scripts/Refresh.sh
+++ b/config/hypr/scripts/Refresh.sh
@@ -22,10 +22,12 @@ for _prs in "${_ps[@]}"; do
fi
done
-killall -SIGUSR2 waybar # added since wallust sometimes not applying
+# added since wallust sometimes not applying
+killall -SIGUSR2 waybar
+killall -SIGUSR2 swaync
# quit ags & relaunch ags
-#ags -q && ags &
+ags -q && ags &
# some process to kill
for pid in $(pidof waybar rofi swaync ags swaybg); do
diff --git a/config/swaync/style.css b/config/swaync/style.css
index d18f3756..a9dc328f 100755
--- a/config/swaync/style.css
+++ b/config/swaync/style.css
@@ -6,10 +6,9 @@
@define-color noti-border-color @color12;
@define-color noti-bg rgba(0, 0, 0, 0.8);
@define-color noti-bg-alt #111111;
-@define-color noti-bg-hover @color11;
+@define-color noti-bg-hover @background;
@define-color text-color @foreground;
-@define-color text-color-alt @foreground;
-@define-color text-color-disabled rgba(150, 150, 150, 0.8);
+
* {
font-family: "JetBrains Mono Nerd Font";
font-weight: bold;
@@ -32,7 +31,7 @@
}
.notification-content{
- color: @foreground;
+ /*color: @text-color;*/
background: @noti-bg;
padding: 3px 10px 3px 6px;
border-radius: 10px;
@@ -74,9 +73,10 @@
.notification-default-action:hover,
.notification-action:hover {
color: @text-color;
- background: @color1
+ background: @noti-bg
}
+
.notification-default-action {
border-radius: 10px;
margin: 5px;
@@ -120,7 +120,7 @@
.inline-reply-button:disabled {
background: initial;
- color: @text-color-disabled;
+ color: @text-color;
border: 1px solid transparent
}
@@ -130,7 +130,7 @@
.body-image {
margin-top: 6px;
- color: @text-color-alt;
+ color: @text-color;
border-radius: 10px
}
@@ -138,7 +138,7 @@
font-size: 1rem;
font-weight: bold;
background: transparent;
- color: @text-color-alt;
+ color: @text-color;
text-shadow: none
}
@@ -161,7 +161,7 @@
.control-center {
background: @noti-bg;
- border: 1.5px solid @noti-border-color;
+ border: 1px solid @noti-border-color;
color: @text-color;
border-radius: 10px;
}
@@ -183,7 +183,7 @@
}
.widget-title {
- color: @noti-border-color;
+ color: @text-color;
background: @noti-bg-alt;
padding: 3px 6px;
margin: 5px;
@@ -199,9 +199,10 @@
border: 0.5px solid @noti-border-color;
}
+/* clear button */
.widget-title>button:hover {
- background: #f7768e;
- color: @noti-border-color;
+ background: @text-color;
+ color: red;
}
.widget-dnd {
@@ -215,7 +216,7 @@
.widget-dnd>switch {
border-radius: 10px;
- /* border: 1px solid #7aa2f7; */
+ border: 1px solid #7aa2f7;
background: @noti-border-color;
}
@@ -245,7 +246,7 @@
.widget-mpris {
color: @text-color;
- background: @noti-bg-alt;
+ background: @noti-bg;
padding: 3px 6px;
margin: 5px;
border-radius: 10px;
@@ -285,8 +286,9 @@
color: @text-color
}
+/* individual buttons */
.widget-buttons-grid>flowbox>flowboxchild>button:hover {
- background: @noti-border-color;
+ background: @text-color;
color: @noti-bg-hover
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage