From 0638e8adb7c0ce2c123cd7ad9f21c64d49c111dd Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Thu, 24 Jul 2025 22:35:41 +0100 Subject: Add waybar config --- dot-config/waybar/config.jsonc | 122 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 dot-config/waybar/config.jsonc (limited to 'dot-config/waybar/config.jsonc') diff --git a/dot-config/waybar/config.jsonc b/dot-config/waybar/config.jsonc new file mode 100644 index 0000000..390ba25 --- /dev/null +++ b/dot-config/waybar/config.jsonc @@ -0,0 +1,122 @@ +// -*- mode: jsonc -*- +{ + // "height": 10, + "spacing": 20, + "reload_style_on_change": true, + "modules-left": [ "niri/workspaces" ], + "modules-center": [], + "modules-right": [ + "tray", + "cpu", + "memory", + "network", + "backlight", + "wireplumber", + "battery", + "clock", + "clock#calendar" + ], + + // MODULES + "niri/workspaces": { + "format": "{value}" + }, + "clock": { + "format": "{:%R} 󱑊 ", + "format-alt": "{:%r} 󱑊 " + }, + "clock#calendar": { + "format": "{:%a %d %B}  ", + "format-alt": "{:%Y-%m-%d}  ", + "tooltip-format": "{calendar}", + "calendar": { + "mode" : "year", + "mode-mon-col" : 3, + "weeks-pos" : "right", + "on-scroll" : 1, + "format": { + "months": "{}", + "days": "{}", + "weeks": "W{}", + "weekdays": "{}", + "today": "{}" + } + }, + "actions": { + "on-click": "mode" + } + }, + "battery": { + "interval": 60, + "states": { + "warning": 20, + "critical": 10 + }, + "format": "{capacity}% {icon}", + "format-alt": "({time}) {capacity}% {icon}", + "format-icons": ["󰁺 ","󰁻 ","󰁼 ","󰁽 ","󰁾 ","󰁿 ","󰂀 ","󰂁 ","󰂂 ","󰁹 "] + }, + "wireplumber": { + "format": "{volume}% {icon}", + "format-muted": " ", + "on-click": "pulsemixer", + "format-icons": [" ", " ", " "] + }, + "tray": { + "icon-size": 21, + "spacing": 10, + "icons": { + "blueman": "bluetooth", + "TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png" + } + }, + "network": { + "format": "{ifname}", + "format-wifi": "{essid}  ", + "format-ethernet": "{ipaddr}/{cidr} 󰊗 ", + "format-disconnected": "", //An empty format will hide the module. + "tooltip-format": "{ifname} via {gwaddr} 󰊗 ", + "tooltip-format-wifi": "{essid} ({signalStrength}%)  ", + "tooltip-format-ethernet": "{ifname} " , + "tooltip-format-disconnected": "Disconnected", + "max-length": 100 + }, + "memory": { + "interval": 30, + "format": "{used:0.1f}G  " + }, + "cpu": { + "interval": 10, + "format": "{}%  ", + "max-length": 10 + }, + "backlight": { + "format": "{percent}% {icon}", + "format-icons": ["󱩎 ","󱩏 ","󱩐 ","󱩑 ","󱩒 ","󱩓 ","󱩔 ","󱩕 ","󱩖 ","󰛨 "] + }, + + // NOT ENABLED + "wlr/taskbar": { + "format": "{icon}", + "icon-size": 14, + "icon-theme": "Numix-Circle", + "tooltip-format": "{title}", + "on-click": "activate", + "on-click-middle": "close", + "ignore-list": [ + "Alacritty" + ], + "app_ids-mapping": { + "firefoxdeveloperedition": "firefox-developer-edition" + }, + "rewrite": { + "Firefox Web Browser": "Firefox", + "Foot Server": "Terminal" + } + }, + "pulseaudio/slider": { + "min": 0, + "max": 100, + "orientation": "horizontal" + } +} -- cgit