26 yarara update
This commit is contained in:
parent
1c0da4eba9
commit
c371aeb483
8 changed files with 56 additions and 30 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue