aboutsummaryrefslogtreecommitdiff
path: root/waybar
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2026-10-23 23:45:35 +0200
committerbozo.kopic <bozo@kopic.xyz>2026-10-23 23:45:35 +0200
commit7ba2f3494fbf93c06364858d6bddd4aefc9924c7 (patch)
tree16c66392edef4b2625a7f93c81b180d38e047270 /waybar
parentbb2dae2aaafab0bb7f1c1d03dc6ebe10deee0b24 (diff)
.
Diffstat (limited to 'waybar')
-rw-r--r--waybar/default.conf34
-rw-r--r--waybar/niri.conf19
-rw-r--r--waybar/sway.conf30
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": "&#xf1eb; {essid}",
+ "format-ethernet": "&#xf06f3; {ifname}",
+ "format-disconnected": "&#xf0c9b; disconnected",
+ "on-click": "connman-gtk"
+ },
+
+ "pulseaudio": {
+ "format": "&#xf057e; {volume:3}%",
+ "format-muted": "&#xf075f; 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": ["&#xf008e;", "&#xf007a;", "&#xf007b;", "&#xf007c;",
+ "&#xf007d;", "&#xf007e;", "&#xf007f;", "&#xf0080;",
+ "&#xf0081;", "&#xf0082;", "&#xf0079;"],
+ "charging": ["&#xf089f;", "&#xf089c;", "&#xf0086;", "&#xf0087;",
+ "&#xf0088;", "&#xf089d;", "&#xf0089;", "&#xf089e;",
+ "&#xf008a;", "&#xf008b;", "&#xf0085;"]
+ }
+ },
+
+ "clock": {
+ "format": "&#xf00f0; {:%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": "&#xf1eb; {essid}",
- "format-ethernet": "&#xf06f3; {ifname}",
- "format-disconnected": "&#xf0c9b; disconnected",
- "on-click": "connman-gtk"
- },
-
- "pulseaudio": {
- "format": "&#xf057e; {volume:3}%",
- "format-muted": "&#xf075f; 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": ["&#xf244;", "&#xf243;", "&#xf242;", "&#xf241;", "&#xf240;"]
- },
-
- "clock": {
- "format": "&#xf00f0; {:%Y-%m-%d %H:%M}"
- }
+ "include": [
+ "~/.config/waybar/default.conf"
+ ]
}