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
|
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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue