aboutsummaryrefslogtreecommitdiff
path: root/share/cfg
diff options
context:
space:
mode:
Diffstat (limited to 'share/cfg')
-rw-r--r--share/cfg/waybar.nix15
1 files changed, 7 insertions, 8 deletions
diff --git a/share/cfg/waybar.nix b/share/cfg/waybar.nix
index bd6cc96..0626980 100644
--- a/share/cfg/waybar.nix
+++ b/share/cfg/waybar.nix
@@ -1,21 +1,16 @@
{ lib, ... }:
{
programs.waybar = {
- systemd = {
- enable = true;
- target = "hyprland-session.target";
- };
settings.mainBar = {
layer = "top";
- position = "right";
+ position = "top";
# width = 40;
reload_style_on_change = true;
- modules-left = [ "hyprland/workspaces" ];
+ modules-left = [ "niri/workspaces" ];
modules-right = [
"battery#capacity"
"battery#power"
- "network"
"cpu"
"memory"
"temperature"
@@ -29,6 +24,10 @@
format = "{:%H:%M}";
};
+ cpu = {
+ format = "\t{usage}%";
+ };
+
"battery#capacity" = {
format = lib.concatStringsSep "\n" [
"{icon}"
@@ -72,6 +71,6 @@
};
};
}; # end of settings.mainBar
- style = builtins.readFile ./waybar.css;
+ # style = builtins.readFile ./waybar.css;
};
}