File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed
home/environments/compositors/hyprland Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change 1
1
{ pkgs , ... } :
2
2
3
3
{
4
- home . file = let
5
- defaultWallpaper = ../../../../assets/wallpapers/sea.png ;
6
- wallpaperPath = ".config/hypr/default.png" ;
7
- in {
8
- ".config/hypr/hyprpaper.conf" . text = ''
9
- preload = ~/${ wallpaperPath }
10
- wallpaper = , ~/${ wallpaperPath }
11
- splash = true
12
- ipc = off
13
- '' ;
4
+ home . file =
5
+ let
6
+ defaultWallpaper = ../../../../assets/wallpapers/sea.png ;
7
+ wallpaperPath = ".config/wallpapers/default.png" ;
8
+ in
9
+ {
10
+ ".config/hypr/hyprpaper.conf" . text = ''
11
+ preload = ~/${ wallpaperPath }
12
+ wallpaper = , ~/${ wallpaperPath }
13
+ splash = true
14
+ ipc = off
15
+ '' ;
14
16
15
- "${ wallpaperPath } " . source = defaultWallpaper ;
16
- } ;
17
+ "${ wallpaperPath } " . source = defaultWallpaper ;
18
+ } ;
17
19
18
20
systemd . user . services . hyprpaper = {
19
21
Unit = {
20
22
Description = "Hyprland wallpaper daemon" ;
21
- PartOf = [ "graphical-session.target" ] ;
23
+ PartOf = [ "graphical-session.target" ] ;
22
24
} ;
23
25
Service = {
24
26
ExecStart = "${ pkgs . unstable . hyprpaper } /bin/hyprpaper" ;
25
27
Restart = "on-failure" ;
26
28
} ;
27
- Install . WantedBy = [ "graphical-session.target" ] ;
29
+ Install . WantedBy = [ "graphical-session.target" ] ;
28
30
} ;
29
31
}
You can’t perform that action at this time.
0 commit comments