From 82c01bb51df9f2ed6f4cef842729e80cd7b032d5 Mon Sep 17 00:00:00 2001 From: histalek Date: Sun, 24 Apr 2022 13:45:44 +0200 Subject: [PATCH] waybar: Fix indentation --- .config/waybar/config | 290 +++++++++++++++++++++--------------------- 1 file changed, 145 insertions(+), 145 deletions(-) diff --git a/.config/waybar/config b/.config/waybar/config index 03b4bb1..7e85514 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -1,151 +1,151 @@ { - "layer": "top", - "position": "top", - "height": 31, + "layer": "top", + "position": "top", + "height": 31, - "modules-left": [ - "sway/mode", - "sway/workspaces", - "custom/arrowworkspaces", - "sway/window" - ], + "modules-left": [ + "sway/mode", + "sway/workspaces", + "custom/arrowworkspaces", + "sway/window" + ], - "modules-right": [ - "custom/arrowtray", - "tray", - "custom/arrowpackages", - "custom/packages", - "custom/arrowcpu", - "cpu", - "custom/arrowmemory", - "memory", - "custom/arrownetwork", - "network", - "custom/arrowpulseaudio", - "pulseaudio", - "custom/arrowdate", - "clock#date", - "custom/arrowtime", - "clock#time", - ], - - "sway/mode": { - "format": " {}", // Icon: expand-arrows-alt - "tooltip": false, - }, - "sway/workspaces": { - "disable-scroll": true, - "disable-click": true, - "format-icons": { - "urgent": "", - "focused": "", - "default": "", - }, - }, - "sway/window": { - "format": "{}", - "max-length": 50, - "tooltip": false, - }, - "tray": { - "icon-size": 20, - "spacing": 10, - }, - "clock#date": { - "interval": 60, - "format": "{:%a %e.%b.%Y}", - "tooltip": false, - }, - "clock#time": { - "interval": 10, - "format": "{:%R}", - "tooltip": false, - }, - "cpu": { - "interval": 5, - "format": " {usage}%", - "tooltip": false, - "states": { - "warning": 70, - "critical": 90 - }, - }, - "memory": { - "interval": 5, - "format": " {}%", - "tooltip": false, - "states": { - "warning": 70, - "critical": 90 - }, - }, - "network": { - "format-wifi": " {essid}", - "format-disconnected": "⚠ Disconnected", - "tooltip": false, - }, - "pulseaudio": { - "format": "{volume}% {icon} {format_source}", - "format-source": "{volume}%", - "format-muted": " {format-source}", - "format-icons": { - "headphone": "", - "hands-free": "", - "headset": "", - "phone": "", - "portable": "", - "default": ["", ""], - }, - "tooltip": false, - }, - "custom/packages": { - "format": " {}", - "interval": 3600, - "exec": "checkupdates | wc -l", - "exec-if": "exit 0", - "on-click": "exit 0", - "signal": 8, - "states": { - "warning": 1, - }, - "tooltip": false, - }, + "modules-right": [ + "custom/arrowtray", + "tray", + "custom/arrowpackages", + "custom/packages", + "custom/arrowcpu", + "cpu", + "custom/arrowmemory", + "memory", + "custom/arrownetwork", + "network", + "custom/arrowpulseaudio", + "pulseaudio", + "custom/arrowdate", + "clock#date", + "custom/arrowtime", + "clock#time", + ], - "custom/arrowtime": { - "format": "", - "tooltip": false - }, - "custom/arrowdate": { - "format": "", - "tooltip": false - }, - "custom/arrowpulseaudio": { - "format": "", - "tooltip": false - }, - "custom/arrownetwork": { - "format": "", - "tooltip": false - }, - "custom/arrowmemory": { - "format": "", - "tooltip": false - }, - "custom/arrowcpu": { - "format": "", - "tooltip": false - }, - "custom/arrowpackages": { - "format": "", - "tooltip": false - }, - "custom/arrowtray": { - "format": "", - "tooltip": false - }, - "custom/arrowworkspaces": { - "format": "", - "tooltip": false - }, + "sway/mode": { + "format": " {}", // Icon: expand-arrows-alt + "tooltip": false, + }, + "sway/workspaces": { + "disable-scroll": true, + "disable-click": true, + "format-icons": { + "urgent": "", + "focused": "", + "default": "", + }, + }, + "sway/window": { + "format": "{}", + "max-length": 50, + "tooltip": false, + }, + "tray": { + "icon-size": 20, + "spacing": 10, + }, + "clock#date": { + "interval": 60, + "format": "{:%a %e.%b.%Y}", + "tooltip": false, + }, + "clock#time": { + "interval": 10, + "format": "{:%R}", + "tooltip": false, + }, + "cpu": { + "interval": 5, + "format": " {usage}%", + "tooltip": false, + "states": { + "warning": 70, + "critical": 90 + }, + }, + "memory": { + "interval": 5, + "format": " {}%", + "tooltip": false, + "states": { + "warning": 70, + "critical": 90 + }, + }, + "network": { + "format-wifi": " {essid}", + "format-disconnected": "⚠ Disconnected", + "tooltip": false, + }, + "pulseaudio": { + "format": "{volume}% {icon} {format_source}", + "format-source": "{volume}%", + "format-muted": " {format-source}", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "default": ["", ""], + }, + "tooltip": false, + }, + "custom/packages": { + "format": " {}", + "interval": 3600, + "exec": "checkupdates | wc -l", + "exec-if": "exit 0", + "on-click": "exit 0", + "signal": 8, + "states": { + "warning": 1, + }, + "tooltip": false, + }, + + "custom/arrowtime": { + "format": "", + "tooltip": false + }, + "custom/arrowdate": { + "format": "", + "tooltip": false + }, + "custom/arrowpulseaudio": { + "format": "", + "tooltip": false + }, + "custom/arrownetwork": { + "format": "", + "tooltip": false + }, + "custom/arrowmemory": { + "format": "", + "tooltip": false + }, + "custom/arrowcpu": { + "format": "", + "tooltip": false + }, + "custom/arrowpackages": { + "format": "", + "tooltip": false + }, + "custom/arrowtray": { + "format": "", + "tooltip": false + }, + "custom/arrowworkspaces": { + "format": "", + "tooltip": false + }, }