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

View file

@ -177,7 +177,7 @@ in
"SUPER_SHIFT,b, exec, ${extra-packages.rofi-bluetooth}/bin/rofi-bluetooth" "SUPER_SHIFT,b, exec, ${extra-packages.rofi-bluetooth}/bin/rofi-bluetooth"
"SUPER,escape, exec, ${loginctl} lock-session" "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,1, workspace, 1"
"SUPER,2, workspace, 2" "SUPER,2, workspace, 2"