Use waybar

This commit is contained in:
Smaug123
2024-10-21 23:29:39 +01:00
parent 9fbcd75842
commit 0972b16055

View File

@@ -9,21 +9,28 @@
modifier = "Mod4";
terminal = "alacritty";
window = {border = 5;};
bars = [
{ command = "${nixpkgs.waybar}/bin/waybar"; }
];
};
extraConfig = ''
output Unknown-1 scale 2
'';
};
programs.waybar = {
enable = true;
settings = {
mainBar = {
position = "bottom";
};
};
};
services.gpg-agent = {
enable = nixpkgs.stdenv.isLinux;
pinentryPackage = nixpkgs.pinentry-curses;
};
services.swayidle = {enable = true;};
services.cbatticon = {
lowLevelPercent = 20;
iconType = "standard";
enable = true;
};
}