summaryrefslogtreecommitdiff
path: root/home-manager/compositor/sway.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/compositor/sway.nix')
-rw-r--r--home-manager/compositor/sway.nix21
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" ];
+ };
+ };
+ };
+}