diff --git a/.config/swaync/config.json b/.config/swaync/config.json index 6f23eaa..8ccc092 100644 --- a/.config/swaync/config.json +++ b/.config/swaync/config.json @@ -82,25 +82,31 @@ "label": "󰌾", "command": "hyprlock" }, - { - "label": "󰕾", - "command": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" + { + "label": "󰕾", + "type": "toggle", + "active": false, + "command": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" }, - { - "label": "󰍬", - "command": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" + { + "label": "󰍬", + "type": "toggle", + "active": false, + "command": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" }, { "label": "󰏘", - "command": "~/.config/scripts/screenprint.sh" + "command": "" }, { "label": "", + "type": "toggle", + "active": false, "command": "~/.config/scripts/screenrec.sh" }, { "label": "", - "command": "~/.config/scripts/screenrecstop.sh" + "command": "~/.config/scripts/screenprint.sh" }, { "label": "󰂯", diff --git a/.config/swaync/style.css b/.config/swaync/style.css index fa432ce..290d0d0 100644 --- a/.config/swaync/style.css +++ b/.config/swaync/style.css @@ -296,6 +296,18 @@ background: @noti-bg-hover; } + +.widget-buttons-grid>flowbox>flowboxchild>button:active { + background: @noti-bg-hover; + color: lime; /* tıklanırken yeşile dönsün */ +} + +.widget-buttons-grid>flowbox>flowboxchild>button:checked { + background: @noti-bg-hover; + color: cyan; /* kalıcı aktif durumda mavi */ +} + + /* Menubar widget */ .widget-menubar>box>.menu-button-bar>button { border: none;