diff options
Diffstat (limited to '.config/waybar/config')
| -rw-r--r-- | .config/waybar/config | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/.config/waybar/config b/.config/waybar/config new file mode 100644 index 0000000..3d2dce5 --- /dev/null +++ b/.config/waybar/config @@ -0,0 +1,87 @@ +{ + "modules-left": ["sway/workspaces", "sway/mode"], + "modules-center": ["sway/window", "cpu", "temperature", "memory","tray"], + "modules-right": ["pulseaudio", "backlight", "battery", "clock"], + "sway/mode": { + "format": "<span style=\"italic\">{}</span>" + }, + "position": "top", // Waybar position (top|bottom|left|right) + "network": { + "format-wifi": "({signalStrength}%) ", + "format-ethernet": "{ifname} ", + "format-disconnected": "", + "max-length": 50, + "on-click": "'" + }, + "tray": { + "icon-size": 15, + "spacing": 10 + }, + "clock": { + "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", + // "format-alt": "{:%Y-%m-%d}" + "on-click": "gnome-calendar" + }, + "pulseaudio": { + "format": "{volume}% {icon} ", + "format-bluetooth": "{volume}% {icon} {format_source}", + "format-bluetooth-muted": " {icon} {format_source}", + "format-muted": "0% {icon} ", + "format-source": "{volume}% ", + "format-source-muted": "", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", ""] + }, + "on-click": "pavucontrol" + }, + "cpu": { + "format": "{usage}% ", + "tooltip": true + }, + "memory": { + "format": "{}% 🐏" + }, + "battery": { + "states": { + // "good": 95, + "warning": 30, + "critical": 15 + }, + "format": "{capacity}% {icon}", + "format-charging": "{capacity}% ", + "format-plugged": "{capacity}% ", + "format-alt": "{time} {icon}", + // "format-good": "", // An empty format will hide the module + // "format-full": "", + "format-icons": ["", "", "", "", ""] + }, + "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": ["", "", ""] + }, + "sway/window": { + "format": "{}", + "min-length": 25, + "max-length": 25, + "rewrite": { + "": "Out of Focus" + } + }, + "backlight": { + "device": "intel_backlight", + "format": "{percent}% {icon}", + "format-icons": [""], + "on-scroll-up": "brightnessctl set +5%", + "on-scroll-down": "~/nushell/decrement-brightness.nu" + } +} |
