From 04f6af0726553ec22b3f682e13168d31f55d5195 Mon Sep 17 00:00:00 2001 From: Michel Fedde Date: Sat, 1 Mar 2025 17:08:08 +0100 Subject: [PATCH] Adjust styling --- .config/swaync/style/controlpanel.scss | 8 +++++++- .config/swaync/style/mpris.scss | 4 ++++ .config/waybar/ModulesCustom.json | 2 +- .config/waybar/style.css | 3 ++- 4 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 .config/swaync/style/mpris.scss diff --git a/.config/swaync/style/controlpanel.scss b/.config/swaync/style/controlpanel.scss index 42717d6..6f54971 100644 --- a/.config/swaync/style/controlpanel.scss +++ b/.config/swaync/style/controlpanel.scss @@ -1,14 +1,20 @@ +@import "./mpris.scss"; + $cc-bg: $background; + + .control-center { /* The Control Center which contains the old notifications + widgets */ background: $cc-bg; color: $foreground; - border-radius: 0; + border-radius: $border-radius; border-left: 1px solid $foreground; box-shadow: $box-shadow; padding-left: 1rem; padding-right: 1rem; + margin: .3rem; + margin-right: 8px; } .control-center .control-center-list-placeholder { diff --git a/.config/swaync/style/mpris.scss b/.config/swaync/style/mpris.scss new file mode 100644 index 0000000..acb9456 --- /dev/null +++ b/.config/swaync/style/mpris.scss @@ -0,0 +1,4 @@ + +.widget-mpris .widget-mpris-player { + border-radius: $border-radius; +} diff --git a/.config/waybar/ModulesCustom.json b/.config/waybar/ModulesCustom.json index 3dab603..6534826 100644 --- a/.config/waybar/ModulesCustom.json +++ b/.config/waybar/ModulesCustom.json @@ -11,7 +11,7 @@ "format-alt-click": "click", "interval": 3600, "return-type": "json", - "exec": "$HOME/.config/hypr/UserScripts/Weather.sh", + "exec": "$HOME/.config/hypr/scripts/Weather.sh", //"exec": "$HOME/.config/hypr/UserScripts/Weather.py", "exec-if": "ping wttr.in -c1", "tooltip": true, diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 00fa8cc..04e2ed9 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -15,6 +15,7 @@ font-size: 100%; font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"'; + border-radius: 0.3rem; } window#waybar { @@ -22,12 +23,12 @@ window#waybar { color: @foreground; transition-property: background-color; transition-duration: 0.5s; + } #taskbar button, #workspaces button { color: @foreground; - border-radius: 0.3rem; } #taskbar button.active,