diff --git a/home-manager/config/waybar/config.json b/home-manager/config/waybar/config.json
index c1dee69..40ef021 100644
--- a/home-manager/config/waybar/config.json
+++ b/home-manager/config/waybar/config.json
@@ -1,10 +1,9 @@
{
- // "layer": "top", // Waybar at top layer
- // "position": "bottom", // Waybar position (top|bottom|left|right)
- "height": 30, // Waybar height (to be removed for auto height)
- // "width": 1280, // Waybar width
- "spacing": 4, // Gaps between modules (4px)
- // Choose the order of the modules
+ "layer": "top",
+ "position": "bottom",
+ "height": 30,
+ "width": 1280,
+ "spacing": 4,
"modules-left": [
"sway/workspaces",
"sway/mode",
@@ -28,22 +27,21 @@
"clock",
"tray"
],
- // Modules configuration
- // "sway/workspaces": {
- // "disable-scroll": true,
- // "all-outputs": true,
- // "format": "{name}: {icon}",
- // "format-icons": {
- // "1": "",
- // "2": "",
- // "3": "",
- // "4": "",
- // "5": "",
- // "urgent": "",
- // "focused": "",
- // "default": ""
- // }
- // },
+ "sway/workspaces": {
+ "disable-scroll": true,
+ "all-outputs": true,
+ "format": "{name}: {icon}",
+ "format-icons": {
+ "1": "",
+ "2": "",
+ "3": "",
+ "4": "",
+ "5": "",
+ "urgent": "",
+ "focused": "",
+ "default": ""
+ }
+ },
"keyboard-state": {
"numlock": true,
"capslock": true,
@@ -97,11 +95,11 @@
}
},
"tray": {
- // "icon-size": 21,
+ "icon-size": 21,
"spacing": 10
},
"clock": {
- // "timezone": "America/New_York",
+ "timezone": "America/New_York",
"tooltip-format": "{:%Y %B}\n{calendar}",
"format-alt": "{:%Y-%m-%d}"
},
@@ -113,21 +111,21 @@
"format": "{}% "
},
"temperature": {
- // "thermal-zone": 2,
- // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
+ "thermal-zone": 2,
+ "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
- // "format-critical": "{temperatureC}°C {icon}",
+ "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}",
"format-icons": ["", "", ""]
},
"backlight": {
- // "device": "acpi_video1",
+ "device": "acpi_video1",
"format": "{percent}% {icon}",
"format-icons": ["", "", "", "", "", "", "", "", ""]
},
"battery": {
"states": {
- // "good": 95,
+ "good": 95,
"warning": 30,
"critical": 15
},
@@ -135,15 +133,15 @@
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
- // "format-good": "", // An empty format will hide the module
- // "format-full": "",
+ "format-good": "",
+ "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
- // "interface": "wlp2*", // (Optional) To force the use of this interface
+ "interface": "wlp2*",
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{ifname} via {gwaddr} ",
@@ -152,7 +150,7 @@
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
- // "scroll-step": 1, // %, can be a float
+ "scroll-step": 1,
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
@@ -179,7 +177,7 @@
"default": "🎜"
},
"escape": true,
- "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
- // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
+ "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null",
+ "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null"
}
}