{ ... }: { programs.waybar = { systemd = { enable = true; target = "hyprland-session.target"; }; # settings.mainBar = { # layer = "top"; # position = "right"; # width = 40; # reload_style_on_change = true; # # modules-left = [ "hyprland/workspaces" ]; # modules-right = [ # "battery" # "network" # "cpu" # "memory" # "temperature" # "backlight" # "clock" # "tray" # ]; # # clock = { # format = "{:%H:%m\n%b}"; # }; # # battery = { # format = lib.concatStringsSep "\n" [ # "{icon} {capacity}%" # "󱐋 {power:4.1f} W" # ]; # interval = 2; # format-icons = [ "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹" ]; # }; # # keyboard-state = { # numlock = true; # capslock = true; # format = "{name} {icon}"; # format-icons = { # locked = ""; # unlocked = ""; # }; # }; # }; # end of settings.mainBar # style = builtins.readFile ./waybar.css; }; }