summaryrefslogtreecommitdiff
path: root/home-manager/compositor/sway.nix
blob: 16690e90e11282dd9fd8589b6930700e6047af3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ pkgs, ... }:
{
  wayland.windowManager.sway = {
    enable = true;
  
    config = {
      terminal = "alacritty";
      modifier = "Mod4";
      menu = "${pkgs.tofi}/bin/tofi-run | ${pkgs.findutils}/bin/xargs swaymsg exec --";
      bars = [
        { 
          command = "${pkgs.waybar}/bin/waybar";
          position = "bottom";
        }
      ];
      fonts = {
          names = [ "FontAwesome5Free" ];
      };
    };
  };
}