diff --git a/.config/swaync/config.json b/.config/swaync/config.json index 79b1167..2b9653d 100644 --- a/.config/swaync/config.json +++ b/.config/swaync/config.json @@ -21,12 +21,9 @@ "layer": "overlay", "widgets": [ - "menubar", - "mpris", - "buttons-grid", - "volume", "title", "dnd", + "mpris", "notifications" ], "widget-config": { @@ -45,54 +42,6 @@ "mpris": { "image-size": 96, "image-radius": 12 - }, - "volume": { - "label": "󰕾 ", - "show-per-app": true, - "animation-type": "slide_down", - "animation-duration": 250 - }, - "menubar": { - "menu#power": { - "label": " Power Menu", - "position": "left", - "animation-type": "slide_down", - "animation-duration": 250, - "actions": [ - { - "label": " Shutdown", - "command": "systemctl poweroff" - }, - { - "label": " Reboot", - "command": "systemctl reboot" - }, - { - "label": " Lock", - "command": "swaylock" - } - ] - } - }, - "buttons-grid": { - "actions": [ - { - "label": "", - "command": "set_all_microphones toggle" - }, - { - "label": "婢", - "command": "pactl set-sink-mute @DEFAULT_SINK@ toggle" - }, - { - "label": "奔", - "command": "pactl set-sink-volume @DEFAULT_SINK@ -5%" - }, - { - "label": "墳", - "command": "pactl set-sink-volume @DEFAULT_SINK@ +5%" - } - ] } }, diff --git a/.config/swaync/style.css b/.config/swaync/style.css index ec4df98..ab1688d 100644 --- a/.config/swaync/style.css +++ b/.config/swaync/style.css @@ -184,58 +184,3 @@ .floating-notifications { background: transparent; } - -.notification button { - min-height: 20px; - border-left: 1px solid @accent; - border-right: 2px solid @accent; - border-radius: 5px; -} - -.notification button:hover { - background: @accent; -} - -.widget-menubar, -.widget-buttons-grid { - margin: 5px; - padding: 5px; - border-radius: 5px; - background: @current-line; -} - -.widget-menubar button { - margin: 5px; - padding: 5px 50px; - border: 1px solid @accent; - font-size: 20px; - background: transparent; - border-radius: 10px; -} - -.widget-menubar > box > .menu-button-bar > button { - margin: 5px; - padding: 5px 170px; - border: 1px solid @accent; - font-size: 30px; - background: transparent; - border-radius: 10px; -} - -.widget-buttons-grid > flowbox > flowboxchild > button { - margin: 5px; - padding: 5px 50px; - border: 1px solid @accent; - font-size: 30px; - background: transparent; - border-radius: 10px; -} - -.widget-volume { - padding: 8px; - margin: 8px; - background-color: @current-line; - border-radius: 5px; - color: @foreground; - font-size: 25px; -}