mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-22 06:06:29 +00:00
Use swaylock-effects
This commit is contained in:
parent
91bc09157a
commit
3daeab3b2e
2 changed files with 5 additions and 33 deletions
|
@ -49,7 +49,7 @@ in
|
|||
enable = true;
|
||||
wrapperFeatures.gtk = true; # so that gtk works properly
|
||||
extraPackages = with pkgs; [
|
||||
swaylock
|
||||
swaylock-effects
|
||||
swayidle
|
||||
xwayland # for legacy apps
|
||||
waybar
|
||||
|
@ -91,6 +91,7 @@ in
|
|||
services.redshift = {
|
||||
enable = true;
|
||||
package = pkgs.gammastep;
|
||||
executable = "/bin/gammastep";
|
||||
temperature.night = 3500;
|
||||
};
|
||||
|
||||
|
@ -107,38 +108,9 @@ in
|
|||
|
||||
environment.etc."greetd/environments".text = ''
|
||||
${pkgs.sway}/bin/sway
|
||||
startx
|
||||
${pkgs.xorg.xinit}/bin/startx
|
||||
${pkgs.libsForQt5.plasma-workspace}/bin/startplasma-wayland
|
||||
${pkgs.fish}/bin/fish
|
||||
'';
|
||||
|
||||
#environment.etc."greetd/gtkgreet.css".text = ''
|
||||
#window {
|
||||
#background-image: url("file://${pkgs.nixos-artwork.wallpapers.stripes-logo.gnomeFilePath}");
|
||||
#background-size: cover;
|
||||
#background-position: center;
|
||||
#}
|
||||
#'';
|
||||
|
||||
#services.xserver = {
|
||||
## under protest
|
||||
#enable = true;
|
||||
|
||||
## graphics
|
||||
##videoDrivers = [ "modesetting" ];
|
||||
#useGlamor = true;
|
||||
|
||||
## use sddm for authentication
|
||||
##displayManager.sddm.enable = true;
|
||||
#displayManager.lightdm = {
|
||||
#enable = true;
|
||||
#greeters.enso = {
|
||||
#enable = true;
|
||||
#theme = {
|
||||
#name = "Dracula";
|
||||
#package = pkgs.dracula-theme;
|
||||
#};
|
||||
#};
|
||||
#};
|
||||
#};
|
||||
}
|
||||
|
|
|
@ -49,8 +49,8 @@ exec configure-gtk
|
|||
# Example configuration:
|
||||
#
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaylock -f -c 000000ff' \
|
||||
before-sleep 'swaylock -f -c 000000ff'
|
||||
timeout 300 'swaylock --screenshots --effect-blur 5x5 --effect-greyscale --fade-in 0.5' \
|
||||
before-sleep 'swaylock --screenshots --effect-blur 5x5 --effect-greyscale --fade-in 0.5'
|
||||
#exec swayidle -w \
|
||||
#timeout 300 'swaylock -f -c 99999960' \
|
||||
#timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
|
|
Loading…
Reference in a new issue