diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2026-10-23 23:45:35 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2026-10-23 23:45:35 +0200 |
| commit | 7ba2f3494fbf93c06364858d6bddd4aefc9924c7 (patch) | |
| tree | 16c66392edef4b2625a7f93c81b180d38e047270 /waybar | |
| parent | bb2dae2aaafab0bb7f1c1d03dc6ebe10deee0b24 (diff) | |
.
Diffstat (limited to 'waybar')
| -rw-r--r-- | waybar/default.conf | 34 | ||||
| -rw-r--r-- | waybar/niri.conf | 19 | ||||
| -rw-r--r-- | waybar/sway.conf | 30 |
3 files changed, 57 insertions, 26 deletions
diff --git a/waybar/default.conf b/waybar/default.conf new file mode 100644 index 0000000..9889747 --- /dev/null +++ b/waybar/default.conf @@ -0,0 +1,34 @@ +{ + "network": { + "format-wifi": " {essid}", + "format-ethernet": "󰛳 {ifname}", + "format-disconnected": "󰲛 disconnected", + "on-click": "connman-gtk" + }, + + "pulseaudio": { + "format": "󰕾 {volume:3}%", + "format-muted": "󰝟 mute", + "scroll-step": 5, + "on-click": "pavucontrol", + "on-click-right": "pulsemixer --toggle-mute", + "ignored-sinks": ["Built-in Audio Digital Stereo (HDMI)", + "Built-in Audio Digital Stereo (HDMI 2)"] + }, + + "battery": { + "format": "{icon} {capacity:3}%", + "format-icons": { + "default": ["󰂎", "󰁺", "󰁻", "󰁼", + "󰁽", "󰁾", "󰁿", "󰂀", + "󰂁", "󰂂", "󰁹"], + "charging": ["󰢟", "󰢜", "󰂆", "󰂇", + "󰂈", "󰢝", "󰂉", "󰢞", + "󰂊", "󰂋", "󰂅"] + } + }, + + "clock": { + "format": "󰃰 {:%Y-%m-%d %H:%M}" + } +} diff --git a/waybar/niri.conf b/waybar/niri.conf new file mode 100644 index 0000000..fe92e60 --- /dev/null +++ b/waybar/niri.conf @@ -0,0 +1,19 @@ +{ + "position": "top", + "modules-left": ["niri/workspaces"], + "modules-center": ["niri/window"], + "modules-right": ["network", "pulseaudio", "battery", "clock", "tray"], + + "niri/workspaces": { + "sort-by-name": true, + "display-condition": "only-populated" + }, + + "niri/window": { + "separate-outputs": true + }, + + "include": [ + "~/.config/waybar/default.conf" + ] +} diff --git a/waybar/sway.conf b/waybar/sway.conf index d117f96..2ed14ef 100644 --- a/waybar/sway.conf +++ b/waybar/sway.conf @@ -4,33 +4,11 @@ "modules-center": ["sway/window"], "modules-right": ["network", "pulseaudio", "battery", "clock", "tray"], - "sway/workspaces" : { + "sway/workspaces": { "format": "{name}" }, - "network": { - "format-wifi": " {essid}", - "format-ethernet": "󰛳 {ifname}", - "format-disconnected": "󰲛 disconnected", - "on-click": "connman-gtk" - }, - - "pulseaudio": { - "format": "󰕾 {volume:3}%", - "format-muted": "󰝟 mute", - "scroll-step": 5, - "on-click": "pavucontrol", - "on-click-right": "pulsemixer --toggle-mute", - "ignored-sinks": ["Built-in Audio Digital Stereo (HDMI)", - "Built-in Audio Digital Stereo (HDMI 2)"] - }, - - "battery": { - "format": "{icon} {capacity:3}%", - "format-icons": ["", "", "", "", ""] - }, - - "clock": { - "format": "󰃰 {:%Y-%m-%d %H:%M}" - } + "include": [ + "~/.config/waybar/default.conf" + ] } |
