1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Enable Hyprland systemd target and use home manager config for cliphist

This commit is contained in:
RGBCube 2024-05-21 21:12:50 +03:00
parent 787cb2ce8a
commit a525e997f8
No known key found for this signature in database
2 changed files with 8 additions and 6 deletions

View file

@ -18,6 +18,10 @@ desktopUserHomeConfiguration {
]; ];
}; };
services.cliphist = enabled {
extraOptions = [ "-max-items" "1000" ];
};
programs.fuzzel = with config.theme; enabled { programs.fuzzel = with config.theme; enabled {
settings.main = { settings.main = {
dpi-aware = false; dpi-aware = false;

View file

@ -33,15 +33,14 @@ in desktopSystemConfiguration {
''; '';
wayland.windowManager.hyprland = enabled { wayland.windowManager.hyprland = enabled {
systemd = enabled {
enableXdgAutostart = true;
};
settings = { settings = {
monitor = [ ", preferred, auto, 1" ]; monitor = [ ", preferred, auto, 1" ];
windowrule = [ "noinitialfocus" ]; windowrule = [ "noinitialfocus" ];
exec-once = [
"wl-paste --type text --watch cliphist store -max-items 1000"
"wl-paste --type image --watch cliphist store -max-items 1000"
];
exec = [ "pkill swaybg; swaybg --image ${./wallpaper.png}" ]; exec = [ "pkill swaybg; swaybg --image ${./wallpaper.png}" ];
bindle = [ bindle = [
@ -207,7 +206,6 @@ in desktopSystemConfiguration {
(desktopUserHomePackages (with pkgs; [ (desktopUserHomePackages (with pkgs; [
brightnessctl brightnessctl
cliphist
grim grim
hyprpicker hyprpicker
slurp slurp