diff options
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; + } + ''; }; } |