diff --git a/waybar/config.json b/waybar/config.json index 5f56cfe..281c5a8 100644 --- a/waybar/config.json +++ b/waybar/config.json @@ -1,27 +1,13 @@ { - "layer": "top", // "position": "bottom", // Waybar position (top|bottom|left|right) - "height": 35, // Waybar height - // "width": 1280, // Waybar width - // Choose the order of the modules + "layer": "top", + "height": 35, "modules-left": ["sway/workspaces", "sway/mode", "custom/media"], "modules-center": ["sway/window"], "modules-right": ["pulseaudio", "network", "cpu", "memory", "backlight", "battery", "battery#bat2", "clock", "tray", "idle_inhibitor"], - // 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 + }, "sway/mode": { "format": "{}" }, @@ -33,7 +19,6 @@ } }, "tray": { - // "icon-size": 21, "spacing": 10 }, "clock": { @@ -46,15 +31,7 @@ "memory": { "format": "{}% " }, - "temperature": { - // "thermal-zone": 2, - // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", - "critical-threshold": 80, - // "format-critical": "{temperatureC}°C ", - "format": "{temperatureC}°C " - }, "backlight": { - // "device": "acpi_video1", "format": "{percent}% {icon}", "format-icons": ["", ""] }, @@ -65,22 +42,18 @@ "critical": 15 }, "format": "{capacity}% {icon}", - // "format-good": "", // An empty format will hide the module - // "format-full": "", "format-icons": ["", "", "", "", ""] }, "battery#bat2": { "bat": "BAT2" }, "network": { - // "interface": "wlp2s0", // (Optional) To force the use of this interface "format-wifi": "{essid} ({signalStrength}%) ", "format-ethernet": "{ifname}: {ipaddr}/{cidr} ", - "format-disconnected": "Disconnected ⚠", + "format-disconnected": "⚠", "on-click": "rofi-wifi-menu" }, "pulseaudio": { - //"scroll-step": 1, "format": "{volume}% {icon}", "format-bluetooth": "{volume}% {icon}", "format-muted": "", diff --git a/waybar/style.css b/waybar/style.css index 709174d..5e134b1 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -61,10 +61,10 @@ window#waybar { } #battery.critical:not(.charging) { - background: #f53c3c; + background: #eb4d4b; color: #ffffff; animation-name: blink; - animation-duration: 0.5s; + animation-duration: 1s; animation-timing-function: linear; animation-iteration-count: infinite; animation-direction: alternate;