41 lines
994 B
Nix
41 lines
994 B
Nix
{ config, pkgs, ... }:
|
|
let
|
|
unstable = import (builtins.fetchTarball https://github.com/nixos/nixpkgs/tarball/master)
|
|
{ config = config.nixpkgs.config; };
|
|
in
|
|
{
|
|
home-manager.users.zoe.programs.waybar = {
|
|
enable = true;
|
|
package = unstable.waybar;
|
|
settings = {
|
|
mainBar = {
|
|
layer = "top";
|
|
position = "top";
|
|
height = 30;
|
|
modules-left = [ "wlr/workspaces" "wlr/taskbar" "hyprland/submap" ];
|
|
modules-center = [ "clock" ];
|
|
modules-right = [ "battery" "clock" ];
|
|
|
|
"wlr/taskbar" = {
|
|
"format" = "{icon}";
|
|
"on-click" = "activate";
|
|
"on-click-middle" = "close";
|
|
};
|
|
|
|
"hyprland/submap" = {
|
|
"format" = "{}";
|
|
};
|
|
|
|
"clock" = {
|
|
"format" = "{:%H:%M} ";
|
|
};
|
|
|
|
"battery" = {
|
|
"format" = "{capacity}{icon}";
|
|
"format-icons" = "['', '', '', '', '']";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|