fix: migrate services to hypridle
This commit is contained in:
parent
a5c4aecba2
commit
02646401fd
3 changed files with 12 additions and 12 deletions
|
|
@ -78,10 +78,8 @@ input {
|
|||
repeat_rate = 50
|
||||
}
|
||||
|
||||
exec-once = wl-paste --watch cliphist store
|
||||
exec-once = [ -f "${XDG_PICTURES_DIR:-$HOME/Pictures}/Screensavers/wallpaper.jpg" ] || ctl wallpaper wall
|
||||
exec-once = [ -f "${XDG_PICTURES_DIR:-$HOME/Pictures}/Screensavers/lock.jpg" ] || ctl wallpaper lock
|
||||
exec-once = hyprpaper
|
||||
exec-once = hypr windowrules
|
||||
exec-once = hypr spawnfocus --ws 1 $TERMINAL -e mux
|
||||
exec-once = hypr spawnfocus --ws 2 $BROWSER
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ in
|
|||
home.packages =
|
||||
lib.optionals hostConfig.isNixOS [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.hyprpaper
|
||||
]
|
||||
++ [
|
||||
pkgs.hyprlock
|
||||
|
|
@ -59,14 +58,16 @@ in
|
|||
xdg.configFile."hypr/themes/midnight.conf".text = mkHyprTheme config.palettes.midnight;
|
||||
xdg.configFile."hypr/themes/daylight.conf".text = mkHyprTheme config.palettes.daylight;
|
||||
|
||||
xdg.configFile."hypr/hyprpaper.conf".text = ''
|
||||
wallpaper {
|
||||
monitor =
|
||||
path = ${config.xdg.userDirs.pictures}/Screensavers/wallpaper.jpg
|
||||
}
|
||||
|
||||
splash = false
|
||||
'';
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
settings = {
|
||||
splash = false;
|
||||
wallpaper = {
|
||||
monitor = "";
|
||||
path = "${config.xdg.userDirs.pictures}/Screensavers/wallpaper.jpg";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
xdg.configFile."hypr/hyprlock.conf".text =
|
||||
let
|
||||
|
|
|
|||
|
|
@ -82,7 +82,6 @@ in
|
|||
psmisc
|
||||
fuzzel
|
||||
wl-clipboard
|
||||
cliphist
|
||||
grim
|
||||
slurp
|
||||
wf-recorder
|
||||
|
|
@ -292,6 +291,8 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
services.cliphist.enable = true;
|
||||
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue