add clock config and disable waybar systemd
This commit is contained in:
parent
1f9d627203
commit
b5797aabe4
1 changed files with 3 additions and 8 deletions
|
@ -127,6 +127,7 @@
|
|||
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
systemd.enable = false;
|
||||
settings = {
|
||||
mainBar = {
|
||||
layer = "top";
|
||||
|
@ -140,14 +141,8 @@
|
|||
modules-left = [ "wlr/workspaces" "wlr/mode" "wlr/taskbar" ];
|
||||
modules-center = [ "wlr/window" "clock" ];
|
||||
modules-right = [ "idle_inhibitor" "pulseaudio" "backlight" "battery" "tray" ];
|
||||
|
||||
"custom/hello-from-waybar" = {
|
||||
format = "hello {}";
|
||||
max-length = 40;
|
||||
interval = "once";
|
||||
exec = pkgs.writeShellScript "hello-from-waybar" ''
|
||||
echo "from within waybar"
|
||||
'';
|
||||
"clock" = {
|
||||
"format-alt" = "{:%a, %d. %b %H:%M:%S}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue