rename scripts

This commit is contained in:
Adithya 2024-05-25 23:11:52 +05:30
parent 428425bab7
commit f6d4428d48
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
2 changed files with 8 additions and 7 deletions

View file

@ -6,11 +6,12 @@ in
{
systemd.user = {
services = {
wallhaven = {
getpaper = {
Unit = {
Description = "Wallpaper Downloader";
PartOf = [ "graphical-session.target" ];
After = [ "graphical-session-pre.target" ];
After = [ "graphical-session.target" "gnome-keyring.service" ];
Wants = "gnome-keyring.service";
};
Service = {
Type = "oneshot";
@ -18,7 +19,7 @@ in
};
};
wallpaper = {
setpaper = {
Unit = {
Description = "Change Wallpaper";
PartOf = [ "graphical-session.target" ];
@ -35,7 +36,7 @@ in
};
};
timers = {
wallhaven = {
getpaper = {
Unit = {
Description = "Wallpaper Downloader";
};
@ -47,7 +48,7 @@ in
Persistent = true;
};
};
wallpaper = {
setpaper = {
Unit = {
Description = "Change Wallpaper";
};

View file

@ -177,7 +177,7 @@ in
"SUPER_SHIFT,b, exec, ${extra-packages.rofi-bluetooth}/bin/rofi-bluetooth"
"SUPER,escape, exec, ${loginctl} lock-session"
"SUPER_SHIFT,W, exec, systemctl --user start wallpaper.service"
"SUPER_SHIFT,W, exec, systemctl --user start setpaper.service"
"SUPER,1, workspace, 1"
"SUPER,2, workspace, 2"