mirror of
https://github.com/Smaug123/nix-dotfiles
synced 2025-10-13 02:18:42 +00:00
Use waybar
This commit is contained in:
@@ -9,21 +9,28 @@
|
|||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
terminal = "alacritty";
|
terminal = "alacritty";
|
||||||
window = {border = 5;};
|
window = {border = 5;};
|
||||||
|
bars = [
|
||||||
|
{ command = "${nixpkgs.waybar}/bin/waybar"; }
|
||||||
|
];
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
output Unknown-1 scale 2
|
output Unknown-1 scale 2
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.waybar = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
mainBar = {
|
||||||
|
position = "bottom";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.gpg-agent = {
|
services.gpg-agent = {
|
||||||
enable = nixpkgs.stdenv.isLinux;
|
enable = nixpkgs.stdenv.isLinux;
|
||||||
pinentryPackage = nixpkgs.pinentry-curses;
|
pinentryPackage = nixpkgs.pinentry-curses;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.swayidle = {enable = true;};
|
services.swayidle = {enable = true;};
|
||||||
services.cbatticon = {
|
|
||||||
lowLevelPercent = 20;
|
|
||||||
iconType = "standard";
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user