26 yarara update

This commit is contained in:
Zoty 2026-07-06 07:02:34 -03:00
parent 1c0da4eba9
commit c371aeb483
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA
8 changed files with 56 additions and 30 deletions

View file

@ -14,12 +14,9 @@ in {
command = "${pkgs.niri}/bin/niri msg action power-off-monitors";
}
];
events = [
{
event = "before-sleep";
command = "${pkgs.swaylock}/bin/swaylock -f -i ${wallpaper}";
}
];
events = {
before-sleep = "${pkgs.swaylock}/bin/swaylock -f -i ${wallpaper}";
};
};
home.sessionVariables = {
@ -37,7 +34,7 @@ in {
# Niri session tools
fuzzel
swaylock
swww
awww
rofimoji
libnotify
@ -87,12 +84,12 @@ in {
'';
};
home.file.".local/bin/swww-init" = {
home.file.".local/bin/awww-init" = {
executable = true;
text = ''
#!/usr/bin/env bash
swww-daemon &
swww img "${wallpaper}" --transition-type none
awww-daemon &
awww img "${wallpaper}" --transition-type none
'';
};
@ -130,7 +127,7 @@ in {
prefer-no-csd
spawn-at-startup "quickshell"
spawn-at-startup "bash" "-c" "$HOME/.local/bin/swww-init"
spawn-at-startup "bash" "-c" "$HOME/.local/bin/awww-init"
screenshot-path "${config.xdg.userDirs.pictures}/screenshots/%Y-%m-%d %H-%M-%S.png"