Compare commits
2 Commits
5ec82e75a2
...
ba197b44e5
Author | SHA1 | Date | |
---|---|---|---|
ba197b44e5 | |||
5c4a03900d |
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"height": 40,
|
"height": 40,
|
||||||
"modules-left": ["sway/workspaces", "sway/mode", "idle_inhibitor"],
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||||
"modules-center": ["tray"],
|
"modules-center": ["tray"],
|
||||||
"modules-right": ["pulseaudio", "battery", "clock"],
|
"modules-right": ["idle_inhibitor", "mpris", "pulseaudio", "battery", "clock"],
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"persistent_workspaces": {
|
"persistent_workspaces": {
|
||||||
@ -46,6 +46,21 @@
|
|||||||
"format-plugged": "{icon} {capacity}%",
|
"format-plugged": "{icon} {capacity}%",
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": ["", "", "", "", ""]
|
||||||
},
|
},
|
||||||
|
"mpris": {
|
||||||
|
"interval": 1,
|
||||||
|
"format": "{status_icon} {title} {player_icon}",
|
||||||
|
"ignored-players": [
|
||||||
|
"firefox"
|
||||||
|
],
|
||||||
|
"player-icons": {
|
||||||
|
"default": "♫"
|
||||||
|
},
|
||||||
|
"status-icons": {
|
||||||
|
"playing": "⏵",
|
||||||
|
"paused": "⏸",
|
||||||
|
"stopped": "⏹"
|
||||||
|
}
|
||||||
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"scroll-step": 0,
|
"scroll-step": 0,
|
||||||
"format": "{icon} {volume}%",
|
"format": "{icon} {volume}%",
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* {
|
* {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
font-family: IBM Plex Sans Medium;
|
font-family: "IBM Plex Sans Medium";
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -48,14 +48,26 @@ window#waybar {
|
|||||||
padding: 0 1em;
|
padding: 0 1em;
|
||||||
color: #ebdbb2;
|
color: #ebdbb2;
|
||||||
}
|
}
|
||||||
|
#mpris {
|
||||||
|
padding: 0 1em;
|
||||||
|
}
|
||||||
|
#mpris.playing {
|
||||||
|
background: #d3869b;
|
||||||
|
color: #282828;
|
||||||
|
}
|
||||||
|
#mpris.paused, #mpris.stopped {
|
||||||
|
background: #32302f;
|
||||||
|
color: #282828;
|
||||||
|
}
|
||||||
#idle_inhibitor {
|
#idle_inhibitor {
|
||||||
|
color: #282828;
|
||||||
padding: 0 1em;
|
padding: 0 1em;
|
||||||
}
|
}
|
||||||
#idle_inhibitor.deactivated {
|
#idle_inhibitor.deactivated {
|
||||||
color: #32302f;
|
background: #32302f;
|
||||||
}
|
}
|
||||||
#idle_inhibitor.activated {
|
#idle_inhibitor.activated {
|
||||||
color: #fb4934;
|
background: #fb4934;
|
||||||
}
|
}
|
||||||
#battery {
|
#battery {
|
||||||
padding: 0 1em;
|
padding: 0 1em;
|
||||||
|
Loading…
Reference in New Issue
Block a user