sway: xdg-portal fixup change behaviour of swayidle
This commit is contained in:
parent
3465fc5f17
commit
7c8d55c805
@ -61,7 +61,8 @@
|
|||||||
security.pam.services.swaylock = {};
|
security.pam.services.swaylock = {};
|
||||||
|
|
||||||
xdg.portal = { # Required for flatpak with windowmanagers
|
xdg.portal = { # Required for flatpak with windowmanagers
|
||||||
#enable = true;
|
enable = true;
|
||||||
wlr.enable = true;
|
wlr.enable = true;
|
||||||
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -85,6 +85,7 @@
|
|||||||
{ command = "gsettings set org.gnome.desktop.interface gtk-theme Arc"; }
|
{ 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 icon-theme ePapirus"; }
|
||||||
{ command = "gsettings set org.gnome.desktop.interface cursor-theme Adwaita"; }
|
{ 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.thunderbird}/bin/thunderbird"; }
|
||||||
#{ command = "${pkgs.firefox}/bin/firefox"; }
|
#{ command = "${pkgs.firefox}/bin/firefox"; }
|
||||||
#{ command = "${pkgs.element}/bin/element-desktop"; }
|
#{ command = "${pkgs.element}/bin/element-desktop"; }
|
||||||
@ -253,8 +254,8 @@
|
|||||||
{ event = "unlock"; command = "${pkgs.sway}/bin/swaymsg output * dpms on"; }
|
{ event = "unlock"; command = "${pkgs.sway}/bin/swaymsg output * dpms on"; }
|
||||||
];
|
];
|
||||||
timeouts = [
|
timeouts = [
|
||||||
{ timeout = 300; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
|
{ timeout = 600; 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 = 300; command = "${pkgs.sway}/bin/swaymsg output * dpms off"; resumeCommand = "${pkgs.sway}/bin/swaymsg output * dpms on"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user