summaryrefslogtreecommitdiff
path: root/config/wayland/waybar/config.jsonc
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-11-26 12:51:13 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-11-26 12:51:13 +0100
commitc637bf905bdaa5b3310f1eb293f40d785164fc3c (patch)
treecff60edd99e096bef2989cb3c21865ca8d02f354 /config/wayland/waybar/config.jsonc
parent78d0fc01dfea453d1c23649f6353bd4ee5a8f2a1 (diff)
changed waybar theme to dwm
Diffstat (limited to 'config/wayland/waybar/config.jsonc')
-rw-r--r--config/wayland/waybar/config.jsonc82
1 files changed, 10 insertions, 72 deletions
diff --git a/config/wayland/waybar/config.jsonc b/config/wayland/waybar/config.jsonc
index 9d60915..aa93297 100644
--- a/config/wayland/waybar/config.jsonc
+++ b/config/wayland/waybar/config.jsonc
@@ -1,78 +1,16 @@
{
- "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,
- },
+ "modules-left": ["hyprland/workspaces", "custom/layout", "hyprland/window"],
+ "modules-right": ["custom/status"],
"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,
+ "format": " {} "
},
- "custom/bluetooth": {
- "exec": "bluetoothctl info",
- "format": "",
- "interval": 3,
+ "custom/layout": {
+ "format": " []= ",
+ "interval": "once",
},
- "tray": {
- "spacing": 5,
+ "custom/status": {
+ "exec": "~/.config/waybar/status.sh",
+ "format": " {} ",
+ "interval": 1
}
}