fix: migrate services to hypridle

This commit is contained in:
Barrett Ruth 2026-02-21 01:53:02 -05:00
parent a5c4aecba2
commit 02646401fd
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
3 changed files with 12 additions and 12 deletions

View file

@ -78,10 +78,8 @@ input {
repeat_rate = 50 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/wallpaper.jpg" ] || ctl wallpaper wall
exec-once = [ -f "${XDG_PICTURES_DIR:-$HOME/Pictures}/Screensavers/lock.jpg" ] || ctl wallpaper lock exec-once = [ -f "${XDG_PICTURES_DIR:-$HOME/Pictures}/Screensavers/lock.jpg" ] || ctl wallpaper lock
exec-once = hyprpaper
exec-once = hypr windowrules exec-once = hypr windowrules
exec-once = hypr spawnfocus --ws 1 $TERMINAL -e mux exec-once = hypr spawnfocus --ws 1 $TERMINAL -e mux
exec-once = hypr spawnfocus --ws 2 $BROWSER exec-once = hypr spawnfocus --ws 2 $BROWSER

View file

@ -50,7 +50,6 @@ in
home.packages = home.packages =
lib.optionals hostConfig.isNixOS [ lib.optionals hostConfig.isNixOS [
pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-gtk
pkgs.hyprpaper
] ]
++ [ ++ [
pkgs.hyprlock pkgs.hyprlock
@ -59,14 +58,16 @@ in
xdg.configFile."hypr/themes/midnight.conf".text = mkHyprTheme config.palettes.midnight; 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/themes/daylight.conf".text = mkHyprTheme config.palettes.daylight;
xdg.configFile."hypr/hyprpaper.conf".text = '' services.hyprpaper = {
wallpaper { enable = true;
monitor = settings = {
path = ${config.xdg.userDirs.pictures}/Screensavers/wallpaper.jpg splash = false;
} wallpaper = {
monitor = "";
splash = false path = "${config.xdg.userDirs.pictures}/Screensavers/wallpaper.jpg";
''; };
};
};
xdg.configFile."hypr/hyprlock.conf".text = xdg.configFile."hypr/hyprlock.conf".text =
let let

View file

@ -82,7 +82,6 @@ in
psmisc psmisc
fuzzel fuzzel
wl-clipboard wl-clipboard
cliphist
grim grim
slurp slurp
wf-recorder wf-recorder
@ -292,6 +291,8 @@ in
''; '';
}; };
services.cliphist.enable = true;
services.dunst = { services.dunst = {
enable = true; enable = true;
settings = { settings = {