summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
l---------config/wayland/waybar/config.jsonc2
-rw-r--r--config/wayland/waybar/dwm.css20
-rw-r--r--config/wayland/waybar/dwm.jsonc16
-rwxr-xr-xconfig/wayland/waybar/status.sh2
l---------config/wayland/waybar/style.css2
5 files changed, 40 insertions, 2 deletions
diff --git a/config/wayland/waybar/config.jsonc b/config/wayland/waybar/config.jsonc
index 7f81c96..2ee4a48 120000
--- a/config/wayland/waybar/config.jsonc
+++ b/config/wayland/waybar/config.jsonc
@@ -1 +1 @@
-dwl.jsonc \ No newline at end of file
+dwm.jsonc \ No newline at end of file
diff --git a/config/wayland/waybar/dwm.css b/config/wayland/waybar/dwm.css
new file mode 100644
index 0000000..31eacf0
--- /dev/null
+++ b/config/wayland/waybar/dwm.css
@@ -0,0 +1,20 @@
+* {
+ border: none;
+ border-radius: 0;
+ font-family: monospace;
+ font-size: 14px;
+ min-height: 16px;
+}
+
+window#waybar, #workspaces button.active {
+ background-color: #4c566a;
+}
+
+#workspaces button, #custom-layout, #custom-status {
+ background-color: #2e3440;
+}
+
+#workspaces button {
+ padding: 0 2px;
+ margin: 0;
+}
diff --git a/config/wayland/waybar/dwm.jsonc b/config/wayland/waybar/dwm.jsonc
new file mode 100644
index 0000000..3e68245
--- /dev/null
+++ b/config/wayland/waybar/dwm.jsonc
@@ -0,0 +1,16 @@
+{
+ "modules-left": ["hyprland/workspaces", "custom/layout", "hyprland/window"],
+ "modules-right": ["custom/status"],
+ "hyprland/window": {
+ "format": " {} "
+ },
+ "custom/layout": {
+ "format": " []= ",
+ "interval": "once",
+ },
+ "custom/status": {
+ "exec": "/home/aluc/.config/waybar/status.sh",
+ "format": " {} ",
+ "interval": 1
+ }
+}
diff --git a/config/wayland/waybar/status.sh b/config/wayland/waybar/status.sh
new file mode 100755
index 0000000..3b658e5
--- /dev/null
+++ b/config/wayland/waybar/status.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+printf 'Hyprland %s' "$(expac %v hyprland)"
diff --git a/config/wayland/waybar/style.css b/config/wayland/waybar/style.css
index ba2f50f..7442e44 120000
--- a/config/wayland/waybar/style.css
+++ b/config/wayland/waybar/style.css
@@ -1 +1 @@
-schemes/base16.css \ No newline at end of file
+dwm.css \ No newline at end of file