summaryrefslogtreecommitdiff
path: root/waybar/config.jsonc
diff options
context:
space:
mode:
Diffstat (limited to 'waybar/config.jsonc')
-rw-r--r--waybar/config.jsonc45
1 files changed, 16 insertions, 29 deletions
diff --git a/waybar/config.jsonc b/waybar/config.jsonc
index 3922b89..7831670 100644
--- a/waybar/config.jsonc
+++ b/waybar/config.jsonc
@@ -4,75 +4,62 @@
"spacing": 0,
"margin-bottom": 0,
"modules-left": [
- "sway/workspaces",
- "sway/window"
+ "custom/machi"
],
"modules-center": [
],
"modules-right": [
- "pulseaudio",
- "backlight",
"network#vpn",
"network#wifi",
+ "pulseaudio",
+ "backlight",
"temperature",
"battery",
"clock",
"tray",
],
- "sway/workspaces": {
- "persistent-workspaces": {
- "F": [],
- "O": [],
- "U": [],
- "B": [],
- "L": [],
- "D": [],
- "C": []
- },
- "alphabetical_sort": false,
- },
- "sway/window": {
- "max-length": 48,
- "min-length": 48,
- "align": 0,
+ "custom/machi": {
+ "exec": "machi_status"
},
"tray": {
"icon-size": 32,
"spacing": 10
},
"clock": {
- "format": "{:%H:%M %Y/%m/%d}",
+ "format": "| {:%a %H:%M %d/%m/%Y}",
"tooltip-format": "<tt><big>{calendar}</big></tt>",
},
"temperature": {
"interval": 10,
"hwmon-path": "/sys/class/hwmon/hwmon5/temp1_input",
- "format": "{temperatureC}°C",
+ "format": "| {temperatureC}°C",
},
"backlight": {
- "format": "{icon} {percent}%",
+ "format": "| {icon} {percent}%",
"format-icons": ["", "", "", "", "", "", "", "", ""]
},
"battery": {
- "format": "D{capacity}% {time}",
"interval": 10,
- "format-charging": "C{capacity}% {time}",
+ "format": "| U{capacity}%",
+ "format-plugged": "",
+ "format-not-charging": "| N{capacity}%",
+ "format-discharging": "| D{capacity}% {time}",
+ "format-charging": "| C{capacity}% {time}",
"format-time": "{H}h{M}m",
- "format-icons": ["", "", "", "", ""]
},
"network#vpn": {
"interface": "wg0-mullvad",
- "format-disconnected": "VPN ⚠",
+ "format-disconnected": "| VPN ⚠",
"format": "",
},
"network#wifi": {
"interface": "wlp1s0",
- "format-wifi": "{essid}",
+ "format-wifi": "| {essid}",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}",
},
"pulseaudio": {
"scroll-step": 1,
- "format": "{volume}% {icon} {format_source} ",
+ "format": "| {volume}% {icon} {format_source} ",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",