aboutsummaryrefslogtreecommitdiff
path: root/waybar
diff options
context:
space:
mode:
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": " {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"
+ ]
}