feat: some stuff

This commit is contained in:
2022-04-06 23:34:14 +02:00
parent 44e2c18c7a
commit 0982678906
6 changed files with 36 additions and 14 deletions

View File

@ -3,7 +3,7 @@
"spacing": 4,
"modules-left": ["custom/clock", "custom/waybar-mpris"],
"modules-center": ["sway/workspaces", "sway/mode"],
"modules-right": ["pulseaudio", "network", "custom/cpu_speed", "memory", "battery", "custom/clock" ],
"modules-right": ["pulseaudio", "network", "custom/cpu_speed", "memory", "battery"],
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": false,
@ -102,7 +102,6 @@
},
"battery": {
"states": {
"good": 95
"warning": 30,
"critical": 15
},
@ -110,7 +109,7 @@
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-good": "", // An empty format will hide the module
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
@ -166,7 +165,7 @@
// The options below will go to next/previous track on scroll
// "on-scroll-up": "waybar-mpris --send next",
// "on-scroll-down": "waybar-mpris --send prev",
"escape": true,
"escape": true
},
"custom/media": {
"format": "{icon} {}",

View File

@ -14,15 +14,17 @@ window > box {
margin-bottom: 0px;
background: #2b303b;
background: black;
padding: 5px;
padding: 5px 8px;
border-radius: 4px;
/*border-bottom: 3px solid rgba(100, 114, 125, 0.5);*/
}
#workspaces button {
padding: 0px 9px;
padding: 0px 7px;
padding-left: 4px;
color: white;
background: transparent;
border-radius: 0px;
border-radius: 2px;
}
#workspaces button:hover{
@ -85,5 +87,5 @@ window > box {
}
#custom-waybar-mpris{
margin-left: 5px;
margin-left: 20px;
}