diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-14 17:46:48 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-14 17:46:48 -0800 |
commit | ea91a3bdac07b3bf82a5bde66c6136acf14cd07f (patch) | |
tree | 85baca39f9042bb8a281b1fb6357b466e39dd07f /users/fcuny/desktop | |
parent | hosts: enable rtkit with audio module (diff) | |
download | world-ea91a3bdac07b3bf82a5bde66c6136acf14cd07f.tar.gz |
waybar: initial customization
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/desktop/sway/waybar.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/users/fcuny/desktop/sway/waybar.nix b/users/fcuny/desktop/sway/waybar.nix index e5d28de..9678ec9 100644 --- a/users/fcuny/desktop/sway/waybar.nix +++ b/users/fcuny/desktop/sway/waybar.nix @@ -4,5 +4,35 @@ programs.waybar = { enable = true; systemd.enable = true; + + settings = [{ + layer = "top"; + position = "top"; + height = 30; + modules-left = [ "sway/workspaces" ]; + modules-right = [ "custom/clock" ]; + modules = { + "sway/workspaces" = { + disable-scroll = true; + all-outputs = true; + }; + + "clock" = { + interval = 30; + format = "{%D %M %Y %H:%M}"; + }; + }; + }]; + + style = '' + * { + border: none; + border-radius: 0; + font-size: 15px; + min-height: 0; + margin: 2px; + font-weight: normal; + } + ''; }; } |