From c469761495dd7006f00274dc6950b32106a8d38b Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Mon, 8 Apr 2024 11:29:07 -0400 Subject: [PATCH] added sway config --- .../desktopEnv/sway/default.nix | 61 +++---------------- 1 file changed, 7 insertions(+), 54 deletions(-) diff --git a/homeManagerModules/desktopEnv/sway/default.nix b/homeManagerModules/desktopEnv/sway/default.nix index 181f5d58..6105b877 100644 --- a/homeManagerModules/desktopEnv/sway/default.nix +++ b/homeManagerModules/desktopEnv/sway/default.nix @@ -36,9 +36,13 @@ services.cliphist.enable = true; - wayland.windowManager.sway = { - enable = true; - extraConfig = builtins.readFile ./config.conf; + wayland.windowManager.sway.enable = true; + wayland.windowManager.sway.config = { + bars = [{ command = "${pkgs.waybar}/bin/waybar"; }]; + # bars.waybar.command = "${pkgs.waybar}/bin/waybar"; + terminal = "${pkgs.alacritty}/bin/alacritty"; + menu = "${pkgs.fuzzel}/bin/fuzzel"; + modifier = "Mod4"; }; xdg.configFile."xfce4/helpers.rc".text = '' @@ -52,56 +56,5 @@ configPackages = [pkgs.xdg-desktop-portal-wlr]; extraPortals = [pkgs.xdg-desktop-portal-wlr]; }; - - home.pointerCursor = { - gtk.enable = true; - x11.enable = true; - package = pkgs.catppuccin-cursors.frappeDark; - name = "Catppuccin-Frappe-Dark-Cursors"; - size = 24; - }; - - qt = { - enable = true; - platformTheme = "gtk"; - style.name = "Catppuccin-Frappe-Compact-Mauve-Dark"; - }; - - gtk = { - enable = true; - - theme = { - package = pkgs.catppuccin-gtk.override { - accents = ["mauve"]; - size = "compact"; - variant = "frappe"; - tweaks = ["normal"]; - }; - name = "Catppuccin-Frappe-Compact-Mauve-Dark"; - }; - - iconTheme = { - package = pkgs.catppuccin-papirus-folders.override { - flavor = "frappe"; - accent = "mauve"; - }; - name = "Papirus-Dark"; - }; - - font = { - name = "NotoSans Nerd Font Regular"; - package = pkgs.nerdfonts.override {fonts = ["Noto"];}; - size = 11; - }; - }; - - dconf.settings = { - "org/gnome/desktop/interface" = { - gtk-theme = "Catppuccin-Frappe-Compact-Mauve-Dark"; - color-scheme = "prefer-dark"; - cursor-theme = "Catppuccin-Frappe-Dark-Cursors"; - cursor-size = 24; - }; - }; }; }