aboutsummaryrefslogtreecommitdiff
path: root/modules/home-manager/polybar/default.nix
blob: 101e8a86df1950fd65a33ea2053d5f90e4ebaf1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ ... }:
{
    flake.modules.homeManager.polybar =
        {
            config,
            pkgs,
            ...
        } : {
            home.file.".config/polybar/launch.sh" = {
                source = ./launch.sh;
                executable = true;
            };
            home.file.".config/polybar/config.ini" = {
                source = ./config.ini;
        #        onChange = ''
        #${pkgs.procps}/bin/pkill polybar
        #PATH=$PATH:${pkgs.polybarFull}/bin:${pkgs.lxrandr}/bin ~/.config/polybar/launch.sh
        #'';
            };
            home.packages = with pkgs; [
        		polybarFull
            ];
        };
}