feat(swaync): add some padding to widget-title and widget-label

This commit is contained in:
retrozinndev
2024-10-07 15:15:58 -03:00
parent e04e304634
commit c0090cb1b5
2 changed files with 15 additions and 8 deletions
+1 -1
View File
@@ -98,7 +98,7 @@
"type": "toggle", "type": "toggle",
"active": false, "active": false,
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && bluetoothctl power on || bluetoothctl power off'", "command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && bluetoothctl power on || bluetoothctl power off'",
"update-command": "sh -c '[[ $(bluetoothctl show | grep Powered | sed 's/Powered: //') == yes ]] && echo true || echo false'" "update-command": "sh -c '[[ $(bluetoothctl show | grep Powered | sed 's/Powered: //') == 'yes' ]] && echo 'true' || echo 'false''"
}, },
{ {
"label": "󰒲 DNDisturb", "label": "󰒲 DNDisturb",
+14 -7
View File
@@ -153,6 +153,10 @@ tooltip {
padding: 1.5rem; padding: 1.5rem;
} }
.control-center .widget-title {
padding: 1rem .2rem;
}
.control-center .widget-title > label { .control-center .widget-title > label {
color: @text; color: @text;
font-size: 1.6em; font-size: 1.6em;
@@ -179,6 +183,16 @@ tooltip {
font-weight: 600; font-weight: 600;
} }
.control-center .widget-label {
padding: .2rem;
}
.control-center .widget-label > label {
color: @foreground;
font-weight: 600;
font-size: 1.6em;
}
.control-center-dnd { .control-center-dnd {
margin-top: 5px; margin-top: 5px;
border-radius: 8px; border-radius: 8px;
@@ -269,13 +283,6 @@ tooltip {
background: #313244; background: #313244;
} }
.control-center .widget-label > label {
color: @foreground;
font-weight: 600;
font-size: 1.6em;
}
.widget-buttons-grid { .widget-buttons-grid {
margin-top: 2px; margin-top: 2px;
margin-left: 5px; margin-left: 5px;