im bad at writing commits

This commit is contained in:
Emily 2021-09-03 13:19:59 +10:00
parent 75ddde650f
commit 2c3e2ee3e8
8 changed files with 74 additions and 78 deletions

View file

@ -1,7 +1,7 @@
{
"position": "bottom",
"modules-left": ["sway/workspaces"],
"modules-right": ["custom/music", "backlight", "pulseaudio", "battery", "clock", "tray"],
"modules-right": ["tray", "network", "backlight", "pulseaudio", "battery", "clock"],
// Modules configuration
"sway/workspaces": {
"disable-scroll": true,
@ -17,32 +17,17 @@
"8": [],
"9": [],
"10": []
},
},
},
"tray": {
"spacing": 10,
},
"custom/music": {
"format": " {}",
"interval": 1,
"exec": "/home/emily/.scripts/player.sh"
},
"clock": {
"format": " {:%H:%M}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": " {:%d/%m/%Y}"
},
"battery": {
"states": {
"warning": 20,
"critical": 5,
},
"format": "{icon} {capacity}%",
"format-icons": {
"default": ["", "", "", "", ""],
"charging": ["", "", "", "", ""]
},
"network": {
"format": "{bandwidthDownBits} ↓↑ {bandwidthUpBits}",
"interval": 2
},
"backlight": {
"device": "intel_backlight",
"on-scroll-up": "light -A 10",
@ -50,10 +35,28 @@
"format": "{icon} {percent}%",
"format-icons": ["", "", ""]
},
"pulseaudio": {
"on-click": "pavucontrol",
"format": "{icon} {volume}%",
"format-muted": "ﱝ Muted",
"format-icons": ["", "", "墳", ""]
}
},
"battery": {
"states": {
"warning": 20,
"critical": 5,
},
"format": "{icon} {capacity}%",
"format-icons": {
"default": ["", "", "", "", ""],
"charging": ["", "", "", "", ""]
},
},
"clock": {
"format": " {:%a %b %d - %H:%M}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
}
}