waaaay more stuff

This commit is contained in:
mokou 2022-03-13 00:07:07 +01:00
parent caeb25f041
commit 081988d00e
5 changed files with 196 additions and 53 deletions

View file

@ -3,22 +3,12 @@
"height": 20,
"modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
"modules-center": ["sway/window"],
"modules-right": ["pulseaudio", "cpu", "memory", "temperature", "battery", "clock", "tray"],
"modules-right": ["tray", "pulseaudio", "battery", "clock"],
// Modules configuration
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "{name}: {icon}",
"format-icons": {
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"urgent": "",
"focused": "",
"default": ""
}
"format": "{name}"
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
@ -36,33 +26,18 @@
},
"clock": {
"tooltip": "{:%Y-%m-%d}",
"format": "{:%H:%M}",
"format": "{:%H:%M}",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": "{usage}% ",
"tooltip": false
},
"memory": {
"format": "{}% "
},
"temperature": {
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}",
"format-icons": ["", "", ""]
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}%",
"format-plugged": "{capacity}%",
"format": "Bat {capacity}%",
"format-charging": "Chg {capacity}%",
"format-plugged": "Plg {capacity}%",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
@ -81,22 +56,12 @@
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": "婢 {icon} {format_source}",
"format-muted": "婢 {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphones": "",
"handsfree": "",
"headset": "",
"phone": "👇",
"portable": "👈",
"car": "",
"default": ["奄", "奔", "墳"]
},
"on-click": "alacritty -e ncpamixer"
"format": "Vol {volume}%",
"format-bluetooth": "BT {volume}% {format_source}",
"format-bluetooth-muted": "BT Muted {format_source}",
"format-muted": "Vol Muted {format_source}",
"format-source": "{volume}%",
"format-source-muted": "Muted"
}
}

View file

@ -2,8 +2,8 @@
border: none;
border-radius: 0;
/* `otf-font-awesome` is required to be installed for icons */
font-family: Cozette, monospace;
font-size: 11px;
font-family: 'curie', monospace;
font-size: 12px;
min-height: 0;
}