diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2024-11-09 14:26:34 +0100 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2024-11-09 14:26:34 +0100 |
commit | 3fce1b5d9350c116270111e92f2d993e1b518d4d (patch) | |
tree | daada43eb23df53d6a0df3622d4bfe913851d1f3 /home-manager/compositor/sway.nix | |
parent | 4211ed3b82be9af26460a0a8d88dce9ce319bb47 (diff) |
Inline home-manager
Diffstat (limited to 'home-manager/compositor/sway.nix')
-rw-r--r-- | home-manager/compositor/sway.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/home-manager/compositor/sway.nix b/home-manager/compositor/sway.nix new file mode 100644 index 0000000..16690e9 --- /dev/null +++ b/home-manager/compositor/sway.nix @@ -0,0 +1,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" ]; + }; + }; + }; +} |