mirror of
https://git.gay/xqtc/nixos-config
synced 2024-12-29 15:03:44 +01:00
Compare commits
2 commits
e15275369f
...
da112e3f79
Author | SHA1 | Date | |
---|---|---|---|
xqtc | da112e3f79 | ||
xqtc | 37edc43c9a |
|
@ -79,6 +79,7 @@ window#waybar {
|
||||||
#clock,
|
#clock,
|
||||||
#battery,
|
#battery,
|
||||||
#battery.bat2,
|
#battery.bat2,
|
||||||
|
#battery.bat3,
|
||||||
#cpu,
|
#cpu,
|
||||||
#memory,
|
#memory,
|
||||||
#temperature,
|
#temperature,
|
||||||
|
|
|
@ -74,7 +74,6 @@ in {
|
||||||
pkgs.brightnessctl
|
pkgs.brightnessctl
|
||||||
pkgs.pavucontrol
|
pkgs.pavucontrol
|
||||||
|
|
||||||
pkgs.bitwarden-cli
|
|
||||||
pkgs.rbw
|
pkgs.rbw
|
||||||
|
|
||||||
pkgs.swayfx
|
pkgs.swayfx
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
extraConfig = builtins.readFile ../config-files/hyprland.conf;
|
extraConfig = builtins.readFile ../config-files/hyprland.conf;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.waybar = lib.mkIf (pkgs.system == "x86_64-linux") {
|
programs.waybar = /* lib.mkIf (pkgs.system == "x86_64-linux") */ {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
height = 30;
|
height = 30;
|
||||||
# modules-left = ["wlr/workspaces"];
|
# modules-left = ["wlr/workspaces"];
|
||||||
#modules-center = [ "hyprland/window" ];
|
#modules-center = [ "hyprland/window" ];
|
||||||
modules-center = ["hyprland/workspaces" "tray" "network" "battery" "battery#bat2" "clock"];
|
modules-center = ["hyprland/workspaces" "tray" "network" "battery" "battery#bat2" "battery#bat3" "clock"];
|
||||||
"tray" = {"icon-size" = 21;};
|
"tray" = {"icon-size" = 21;};
|
||||||
"network" = {
|
"network" = {
|
||||||
"format-wifi" = "NET: {essid} ({signalStrength}%) ";
|
"format-wifi" = "NET: {essid} ({signalStrength}%) ";
|
||||||
|
@ -54,6 +54,17 @@
|
||||||
#"format-icons" = ''["", "", "", "", ""]'';
|
#"format-icons" = ''["", "", "", "", ""]'';
|
||||||
"max-length" = 25;
|
"max-length" = 25;
|
||||||
};
|
};
|
||||||
|
"battery#bat3" = {
|
||||||
|
"bat" = "macsmc-battery";
|
||||||
|
"interval" = 10;
|
||||||
|
"states" = {
|
||||||
|
"warning" = 30;
|
||||||
|
"critical" = 15;
|
||||||
|
};
|
||||||
|
"format" = " BAT: {capacity}%";
|
||||||
|
#"format-icons" = ''["", "", "", "", ""]'';
|
||||||
|
"max-length" = 25;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
style = builtins.readFile ../config-files/waybar-mocha.css;
|
style = builtins.readFile ../config-files/waybar-mocha.css;
|
||||||
|
|
Loading…
Reference in a new issue