diff --git a/homeManagerModules/desktopEnv/sway/default.nix b/homeManagerModules/desktopEnv/sway/default.nix index ca55c645..09a2755e 100644 --- a/homeManagerModules/desktopEnv/sway/default.nix +++ b/homeManagerModules/desktopEnv/sway/default.nix @@ -16,14 +16,22 @@ guiApps.wlogout.enable = lib.mkDefault true; guiApps.alacritty.enable = lib.mkDefault true; guiApps.firefox.enable = lib.mkDefault true; + guiApps.kanshi.enable = lib.mkDefault true; # Packages that should be installed to the user profile. home.packages = with pkgs; [ - brightnessctl + # brightnessctl + # hyprnome + celluloid evince + gnome.eog + gnome.file-roller + kdePackages.polkit-kde-agent-1 + networkmanagerapplet playerctl + swayosd + trayscale xfce.exo - xfce.ristretto xfce.thunar xfce.thunar-archive-plugin xfce.thunar-media-tags-plugin @@ -32,9 +40,12 @@ xfce.xfce4-settings xfce.xfce4-taskmanager xfce.xfconf + swayidle ]; - services.cliphist.enable = true; + programs.swaylock.enable = lib.mkDefault true; + + services.cliphist.enable = lib.mkDefault true; wayland.windowManager.sway.enable = true; wayland.windowManager.sway.config = { @@ -43,8 +54,64 @@ terminal = "${pkgs.alacritty}/bin/alacritty"; menu = "${pkgs.fuzzel}/bin/fuzzel"; modifier = "Mod4"; + colors.focused = { + background = "#ca9ee6"; + border = "#ca9ee6"; + childBorder = "#ca9ee6"; + indicator = "#ca9ee6"; + text = "#ffffff"; + }; + colors.focusedInactive = { + background = "#99d1db"; + border = "#99d1db"; + childBorder = "#99d1db"; + indicator = "#99d1db"; + text = "#ffffff"; + }; + colors.unfocused = { + background = "#99d1db"; + border = "#99d1db"; + childBorder = "#99d1db"; + indicator = "#99d1db"; + text = "#ffffff"; + }; + gaps.inner = 5; + gaps.outer = 10; + window.titlebar = false; + fonts = { + names = ["Noto SansM Nerd Font"]; + style = "Bold"; + size = 12.0; + }; + startup = [ + # { command = "${pkgs.kanshi}"; } + {command = "nm-applet";} + {command = "swayosd-server";} + {command = "thunar --daemon";} + {command = "${pkgs.swayidle}/bin/swayidle -w timeout 300 '${pkgs.swaylock}/bin/swaylock' before-sleep '${pkgs.swaylock}/bin/swaylock'";} + ]; + output = { + "BOE 0x095F Unknown" = { + scale = "1.5"; + }; + }; + input = { + "type:touchpad" = { + click_method = "clickfinger"; + dwt = "enabled"; + natural_scroll = "enabled"; + scroll_method = "two_finger"; + tap = "enabled"; + tap_button_map = "lrm"; + }; + }; }; + wayland.windowManager.sway.extraConfig = '' + bindgesture swipe:right workspace prev + bindgesture swipe:left workspace next + ''; + xdg.configFile."xfce4/helpers.rc".text = '' TerminalEmulator=alacritty FileManager=thunar diff --git a/homeManagerModules/guiApps/waybar/default.nix b/homeManagerModules/guiApps/waybar/default.nix index cb2d48f5..d8afd1c5 100644 --- a/homeManagerModules/guiApps/waybar/default.nix +++ b/homeManagerModules/guiApps/waybar/default.nix @@ -24,8 +24,8 @@ output = ["*"]; position = "top"; reload_style_on_change = true; - modules-left = ["hyprland/workspaces" "river/tags" "hyprland/submap"]; - modules-center = ["hyprland/window" "river/window"]; + modules-left = ["hyprland/workspaces" "river/tags" "sway/workspaces" "hyprland/submap"]; + modules-center = ["hyprland/window" "river/window" "sway/window"]; modules-right = [ "tray" "bluetooth"