✨ feat(swaync): add some padding to widget-title and widget-label
This commit is contained in:
+1
-1
@@ -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
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user