Skip to content

Commit

Permalink
Revert "feat(swaync): Add menubar and audio buttons"
Browse files Browse the repository at this point in the history
This reverts commit de84626.

With the new features [0][1] in waybar I feel I no longer need menubar,
volume slider and audio buttons in swaync. KISS

[0] Alexays/Waybar#2574
[1] Alexays/Waybar#2575
  • Loading branch information
StayPirate committed Nov 3, 2023
1 parent ab44712 commit bf0432f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 107 deletions.
53 changes: 1 addition & 52 deletions .config/swaync/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@
"layer": "overlay",

"widgets": [
"menubar",
"mpris",
"buttons-grid",
"volume",
"title",
"dnd",
"mpris",
"notifications"
],
"widget-config": {
Expand All @@ -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%"
}
]
}
},

Expand Down
55 changes: 0 additions & 55 deletions .config/swaync/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit bf0432f

Please sign in to comment.