This repository has been archived on 2024-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
nixos-dotfiles/user/configs/wayland/hyprland/default.nix

40 lines
844 B
Nix
Raw Normal View History

2023-10-08 10:51:15 +01:00
{
config,
pkgs,
inputs,
...
2023-12-01 12:55:49 +00:00
}: {
imports = [
2024-01-11 03:47:13 +00:00
../eww
../mako
2023-12-29 23:19:10 +00:00
./settings.nix
];
wayland.windowManager.hyprland = {
enable = true;
2024-01-11 03:47:13 +00:00
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
2024-01-19 11:17:30 +00:00
#package = inputs.nixpkgs.legacyPackages.${pkgs.system}.hyprland;
};
2023-05-25 15:44:15 +01:00
2023-05-21 21:21:25 +01:00
home.file.".local/share/kservices5/swww.desktop".text = ''
2023-07-01 19:47:43 +01:00
[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=image/jpeg;image/png;image/svg
Actions=setSWWWWallpaper;
Encoding=UTF-8
[Desktop Action setSWWWWallpaper]
Name=Set Image as Wallpaper
2023-12-01 12:55:49 +00:00
Exec=swww img "%f" && ln -sf "%f" ~/.cache/swww/wallpaper
2023-05-21 21:21:25 +01:00
'';
2023-12-22 16:11:01 +00:00
home.packages = [
2024-01-11 03:47:13 +00:00
inputs.hyprland-contrib.packages.${pkgs.system}.hyprprop
2023-12-22 16:11:01 +00:00
pkgs.hyprpicker
pkgs.swww
pkgs.wl-clipboard
pkgs.wl-clipboard-x11
];
}