mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-07 08:37:34 +08:00
polybar
This commit is contained in:
parent
0ab19ef678
commit
8dd72527b1
2 changed files with 26 additions and 1 deletions
|
|
@ -11,11 +11,12 @@
|
|||
./redshift.nix
|
||||
./gnome-keyring.nix
|
||||
./guiapps.nix
|
||||
./polybar.nix
|
||||
|
||||
# WMish things
|
||||
./xmonad
|
||||
#./taffybar # Disabled, because it rarely works (and memory hungry)
|
||||
./xmobar # shit UX
|
||||
# ./xmobar # shit UX
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
|||
24
features/desktopish/polybar.nix
Normal file
24
features/desktopish/polybar.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
xmobarPkg = pkgs.callPackage ./xmobar-srid { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
systemd.user.services.polybar = {
|
||||
enable = true;
|
||||
description = "Polybar";
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.polybar}/bin/polybar -c ~/.config/polybar/user example";
|
||||
Restart = "on-abnormal";
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = [ pkgs.polybar ];
|
||||
|
||||
fonts = {
|
||||
fonts = with pkgs; [
|
||||
siji
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue