diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-01-17 22:05:50 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-01-18 13:55:00 -0800 |
| commit | 0f6d26214e768ca5274f1d76238c999ca91b5cbc (patch) | |
| tree | f81a46b904557c1cd64081e8993c2b41da8f87b2 | |
| parent | 2befe0c818ad4df1529e55b34ef1bd2a51449db9 (diff) | |
extremely basic sway install
| -rw-r--r-- | roles/desktop/default.nix | 8 | ||||
| -rw-r--r-- | roles/home/desktop/i3.nix | 14 |
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 = { |