diff --git a/modules/desktop/sway/default.nix b/modules/desktop/sway/default.nix index adc9c08..5146b2f 100644 --- a/modules/desktop/sway/default.nix +++ b/modules/desktop/sway/default.nix @@ -61,7 +61,8 @@ security.pam.services.swaylock = {}; xdg.portal = { # Required for flatpak with windowmanagers - #enable = true; + enable = true; wlr.enable = true; + extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; }; } diff --git a/modules/desktop/sway/home.nix b/modules/desktop/sway/home.nix index 45fa031..5a6852f 100644 --- a/modules/desktop/sway/home.nix +++ b/modules/desktop/sway/home.nix @@ -85,6 +85,7 @@ { command = "gsettings set org.gnome.desktop.interface gtk-theme Arc"; } { command = "gsettings set org.gnome.desktop.interface icon-theme ePapirus"; } { command = "gsettings set org.gnome.desktop.interface cursor-theme Adwaita"; } + #{ command = "exec ${pkgs.networkmanagerapplet}/bin/nm-applet --indicator"; } #{ command = "${pkgs.thunderbird}/bin/thunderbird"; } #{ command = "${pkgs.firefox}/bin/firefox"; } #{ command = "${pkgs.element}/bin/element-desktop"; } @@ -253,8 +254,8 @@ { event = "unlock"; command = "${pkgs.sway}/bin/swaymsg output * dpms on"; } ]; timeouts = [ - { timeout = 300; command = "${pkgs.swaylock}/bin/swaylock -fF"; } - { timeout = 600; command = "${pkgs.sway}/bin/swaymsg output * dpms off"; resumeCommand = "${pkgs.sway}/bin/swaymsg output * dpms on"; } + { timeout = 600; command = "${pkgs.swaylock}/bin/swaylock -fF"; } + { timeout = 300; command = "${pkgs.sway}/bin/swaymsg output * dpms off"; resumeCommand = "${pkgs.sway}/bin/swaymsg output * dpms on"; } ]; }; }