diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-11-24 10:56:29 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-11-24 10:56:29 +0100 |
commit | 70959f9a31680ed1cfe684e9c5a33098334f2e4d (patch) | |
tree | 4580eefebd83b00ff413ee28e5b8b11c14ba5ff2 /config/wayland/waybar/config.jsonc | |
parent | ab64fdcb9fbe30a20bfd129f1d27c19a246125cb (diff) |
keep only hyprland config
Diffstat (limited to 'config/wayland/waybar/config.jsonc')
-rw-r--r--[l---------] | config/wayland/waybar/config.jsonc | 79 |
1 files changed, 78 insertions, 1 deletions
diff --git a/config/wayland/waybar/config.jsonc b/config/wayland/waybar/config.jsonc index 1d795fc..9d60915 120000..100644 --- a/config/wayland/waybar/config.jsonc +++ b/config/wayland/waybar/config.jsonc @@ -1 +1,78 @@ -configs/hyprland.jsonc
\ No newline at end of file +{ + "layer": "top", + "modules-left": ["battery", "hyprland/workspaces", "mpd", "hyprland/window"], + "modules-center": ["clock"], + "modules-right": ["custom/wireguard", "network", "pulseaudio", "temperature", "cpu", "custom/memory", "custom/bluetooth", "tray"], + "mpd": { + "format": "{artist} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})", + "artist-len": 24, + "format-disconnected": "s", + "format-stopped": "", + "state-icons": { + "playing": "", + "paused": "", + }, + "tooltip-format": "{songPosition}/{queueLength} ({volume}%)", + "on-click": "mpc toggle", + "on-scroll-up": "mpc volume +5", + "on-scroll-down": "mpc volume -5", + }, + "battery": { + "format-charging": " {capacity}%", + "on-click": "mpower", + "interval": 10, + }, + "hyprland/window": { + "format": " {}", + "separate-outputs": true, + }, + "pulseaudio": { + "scroll-step": 1, + "format": "{icon} {volume:3}%", + "format-icons": { + "default": ["", "", ""] + }, + "on-click": "pavucontrol", + }, + "temperature": { + "interval": 3, + "format": "{icon} {temperatureC}°C", + "format-icons": { + "default":["", "", "", "", ""] + }, + }, + "custom/wireguard": { + "exec": "ip addr show dev wg0", + "format": "wg0", + "restart-interval": 3, + }, + "network": { + "format-wifi": " ", + "tooltip-format-wifi": "{ifname} {essid}", + "format-ethernet": "", + "tooltip-format-ethernet": "{ifname} {ipaddr}", + "format-disconnected": "", + }, + "cpu": { + "format": " {usage:2}%", + "interval": 3, + }, + "custom/memory": { + "exec": "free -h | awk '(NR==2){ print $3 }'", + "format": "{}", + "restart-interval": 3, + }, + "clock": { + "format": "{:%R}", + "format-alt": "{:(%T) %A %d %B}", + "interval": 1, + }, + "custom/bluetooth": { + "exec": "bluetoothctl info", + "format": "", + "interval": 3, + }, + "tray": { + "spacing": 5, + } +} |