aboutsummaryrefslogtreecommitdiff
path: root/users/fcuny/i3.nix
blob: 7f5f793a1b275b683d6b5edf45e09bddb2e86924 (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
25
26
27
28
29
30
31
32
33
34
35
36
{ config, pkgs, lib, ... }:

{
  xsession.enable = true;

  xsession.windowManager.i3 = {
    enable = true;
  };

  programs.rofi = {
    enable = true;
    theme = "purple";

    extraConfig = {
      modi = "drun";
      show-icons = true;
      combi-modi = "window,drun,ssh";
    };
  };

  services.polybar = {
    enable = true;
    package = pkgs.polybarFull;
    script = "";
    config =  {
      "bar/main" = {
        background = "#000000";
        foreground = "#fafafa";
      };
      "module/pulseaudio" = {
        type = "internal/pulseaudio";
        use-ui-max = false;
      };
    };
  };
}