From 3a5945e3cc54b3e84308311a8c3e95b227134717 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 May 2024 19:44:36 +0900 Subject: [PATCH] tweaked swaync, clean up buttons swaync --- config/swaync/config.json | 16 ++++------------ config/swaync/style.css | 4 ++-- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/config/swaync/config.json b/config/swaync/config.json index 64e2456..baf6806 100755 --- a/config/swaync/config.json +++ b/config/swaync/config.json @@ -64,15 +64,11 @@ "actions": [ { "label": "󰐥", - "command": "systemctl poweroff" - }, - { - "label": "󰜉", - "command": "systemctl reboot" + "command": "bash -c $HOME/.config/hypr/scripts/Wlogout.sh" }, { "label": "󰌾", - "command": "~/.config/hypr/scripts/LockScreen.sh" + "command": "bash -c $HOME/.config/hypr/scripts/LockScreen.sh" }, { "label": "󰍃", @@ -80,16 +76,12 @@ }, { "label": "󰀝", - "command": "~/.config/hypr/scripts/AirplaneMode.sh" + "command": "bash -c $HOME/.config/hypr/scripts/AirplaneMode.sh" }, { - "label": "󰕾", + "label": "󰝟", "command": "pactl set-sink-mute @DEFAULT_SINK@ toggle" }, - { - "label": "󰍬", - "command": "pactl set-source-mute @DEFAULT_SOURCE@ toggle" - }, { "label": "󰂯", "command": "blueman-manager" diff --git a/config/swaync/style.css b/config/swaync/style.css index 6a4f565..790bac3 100755 --- a/config/swaync/style.css +++ b/config/swaync/style.css @@ -65,7 +65,7 @@ .notification-action { - border: 2px solid @noti-border-color; + border: 1px solid @noti-border-color; border-top: none; border-radius: 10px; } @@ -161,7 +161,7 @@ .control-center { background: @noti-bg; - border: 2px solid @noti-border-color; + border: 1px solid @noti-border-color; color: @text-color; border-radius: 10px; }