This commit is contained in:
beanigen 2025-05-01 18:23:52 +08:00
parent 819205f5f5
commit 5b3d352f45
No known key found for this signature in database
6 changed files with 102 additions and 6 deletions

View file

@ -23,6 +23,7 @@
lsp = {
enable = true;
servers.cssls.enable = true;
servers.clangd.enable = true;
servers.pylsp.enable = true;
servers.html = {
enable = true;

View file

@ -42,11 +42,7 @@
},
"group/audio": {
"orientation": "inherit",
<<<<<<< HEAD
"modules": ["wireplumber", ],
=======
"modules": ["wireplumber"],
>>>>>>> 6c567ff (help)
"on-click": "pavucontrol",
},
"group/mpdg": {
@ -96,6 +92,11 @@
"bat": "BAT0",
"interval": 5,
"format-icons": [" ", " ", " ", " ", " "],
"states": {
"warning": 30,
"critical": 15,
"dead": 5
},
"format": "{icon} {capacity}%",
"tooltip-format": "BAT0, {power}W"
},
@ -103,6 +104,11 @@
"bat": "BAT1",
"interval": 5,
"format-icons": [" ", " ", " ", " ", " "],
"states": {
"warning": 30,
"critical": 15,
"dead": 5
},
"format": "{icon} {capacity}%",
"tooltip-format": "BAT1, {power}W"
},
@ -110,6 +116,11 @@
"bat": "BAT2",
"interval": 5,
"format-icons": [" ", " ", " ", " ", " "],
"states": {
"warning": 30,
"critical": 15,
"dead": 5
},
"format": "{icon} {capacity}%",
"tooltip-format": "BAT2, {power}W"
},

View file

@ -48,6 +48,17 @@ window#waybar {
min-height: 0;
margin: 0.2em;
}
#battery.warning {
border: 0.2em solid @yellow;
}
#battery.critical {
border: 0.2em solid @red;
}
#battery.dead {
background: @surface0;
color: @surface2;
border: 0.2em solid @overlay1;
}
#dtray {
margin: 0px 10px 0px;
padding: 0px 10px 0px;
@ -58,7 +69,7 @@ window#waybar {
}
#mpd.stopped {
background-color: @surface0;
border: 0;
border: 0
}
#mpd.playing {
background: @mauve;