prgrammatically enable sioyek, vesktop, claude, etc.
This commit is contained in:
parent
43f68c58a2
commit
9aac8350a5
8 changed files with 198 additions and 223 deletions
|
|
@ -26,8 +26,64 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
home.packages = lib.mkIf isNixOS [ pkgs.xdg-desktop-portal-gtk ];
|
||||
home.packages =
|
||||
lib.optionals isNixOS [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.hyprpaper
|
||||
]
|
||||
++ [
|
||||
pkgs.hyprlock
|
||||
pkgs.hypridle
|
||||
];
|
||||
|
||||
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.home.homeDirectory}/img/screen/wallpaper.jpg
|
||||
}
|
||||
|
||||
splash = false
|
||||
'';
|
||||
|
||||
xdg.configFile."hypr/hyprlock.conf".text = ''
|
||||
general {
|
||||
hide_cursor = true
|
||||
grace = 0
|
||||
}
|
||||
|
||||
background {
|
||||
monitor =
|
||||
path = ${config.home.homeDirectory}/img/screen/lock.jpg
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = false
|
||||
}
|
||||
'';
|
||||
|
||||
xdg.configFile."hypr/hypridle.conf".text = ''
|
||||
general {
|
||||
lock_cmd = wp lock && hyprlock
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300
|
||||
on-timeout = wp lock && hyprlock
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 600
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1800
|
||||
on-timeout = systemctl suspend
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue