mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
fix: make waybar work for sway as well, make some things work betterer
This commit is contained in:
parent
93870e87e7
commit
63fcef9227
1 changed files with 6 additions and 4 deletions
|
|
@ -29,13 +29,15 @@
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"privacy",
|
"privacy",
|
||||||
"network",
|
"network",
|
||||||
|
"custom/music",
|
||||||
"custom/vpn",
|
"custom/vpn",
|
||||||
"custom/devices",
|
"custom/devices",
|
||||||
"custom/spotify",
|
"sway/mode",
|
||||||
"tray",
|
"tray",
|
||||||
],
|
],
|
||||||
|
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
|
"sway/workspaces",
|
||||||
"hyprland/workspaces",
|
"hyprland/workspaces",
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
@ -104,7 +106,7 @@
|
||||||
"interval": 30
|
"interval": 30
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/spotify": {
|
"custom/music": {
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/.local/bin/waybar-music",
|
"exec": "~/.local/bin/waybar-music",
|
||||||
|
|
@ -293,7 +295,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
"battery": {
|
"battery": {
|
||||||
"bat": "BAT1",
|
"bat": "BAT0",
|
||||||
"interval": 20,
|
"interval": 20,
|
||||||
"states": {
|
"states": {
|
||||||
"warning": 20,
|
"warning": 20,
|
||||||
|
|
@ -501,7 +503,7 @@
|
||||||
background: #f9409d;
|
background: #f9409d;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-spotify {
|
#custom-music {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue