diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-18 19:59:00 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-18 20:05:22 +0200 |
commit | 1d4479a1e638513e04b850ac935c94868ed8418d (patch) | |
tree | e17ba9137bc4368786d89e9308e880334ff43823 /config | |
parent | 72340276d77c0f2126bdd0f2971ed5858edb6ad0 (diff) |
new dwm like status for waybar
Diffstat (limited to 'config')
l--------- | config/wayland/waybar/config.jsonc | 2 | ||||
-rw-r--r-- | config/wayland/waybar/dwm.css | 20 | ||||
-rw-r--r-- | config/wayland/waybar/dwm.jsonc | 16 | ||||
-rwxr-xr-x | config/wayland/waybar/status.sh | 2 | ||||
l--------- | config/wayland/waybar/style.css | 2 |
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 |