aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/desktop/default.nix8
-rw-r--r--roles/home/desktop/i3.nix14
2 files changed, 16 insertions, 6 deletions
diff --git a/roles/desktop/default.nix b/roles/desktop/default.nix
index 7acd1d8..dc5adfe 100644
--- a/roles/desktop/default.nix
+++ b/roles/desktop/default.nix
@@ -56,6 +56,14 @@ let cfg = config.roles.desktop; in {
};
};
+ programs.sway = {
+ enable = true;
+ #package = pkgs.swayfx;
+ xwayland.enable = true;
+ };
+
+ programs.waybar.enable = true;
+
fonts = {
packages = with pkgs; [
noto-fonts
diff --git a/roles/home/desktop/i3.nix b/roles/home/desktop/i3.nix
index 2653c4d..bea43fc 100644
--- a/roles/home/desktop/i3.nix
+++ b/roles/home/desktop/i3.nix
@@ -93,13 +93,15 @@
};
startup = [
- { command = "polybar-msg cmd quit"; always = true; notification = false; }
- { command = "polybar"; always = true; notification = false; }
- { command = "systemctl --user restart picom"; always = true; notification = false; }
- { command = "${pkgs.feh}/bin/feh --bg-fill ${../../../assets/bg/${config.theme.background}}"; always = true; notification = false; }
+ #{ command = "polybar-msg cmd quit"; always = true; notification = false; }
+ #{ command = "polybar"; always = true; notification = false; }
+ { command = "waybar"; always = true; notification = false; }
+
+ #{ command = "systemctl --user restart picom"; always = true; notification = false; }
+ #{ command = "${pkgs.feh}/bin/feh --bg-fill ${../../../assets/bg/${config.theme.background}}"; always = true; notification = false; }
+ { command = "${pkgs.swww}/bin/swww-daemon"; always = true; notification = false; }
+ { command = "${pkgs.swww}/bin/swww img ${../../../assets/bg/${config.theme.background}}"; always = true; notification = false; }
{ command = "${pkgs.fcitx5}/bin/fcitx5 -r -d"; always = true; notification = false; }
-
- { command = "${pkgs.premid}/bin/premid --no-sandbox"; always = false; notification = false; }
];
keybindings = {