2024-10-21 12:31:30 +07:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
2024-06-12 09:54:11 +07:00
|
|
|
let
|
|
|
|
cfg = config.profile.hyprland;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [
|
2024-10-16 09:54:46 +07:00
|
|
|
# ./dunst.nix
|
2024-06-12 09:54:11 +07:00
|
|
|
./hypridle.nix
|
|
|
|
./hyprland.nix
|
|
|
|
./hyprlock.nix
|
2024-10-16 09:54:46 +07:00
|
|
|
./hyprshot.nix
|
2024-06-12 09:54:11 +07:00
|
|
|
# hyprpaper seems to be broken with out of memory and failure to swap wallpapers correctly.
|
|
|
|
# Use swww for now until the application is stable.
|
|
|
|
# ./hyprpaper.nix
|
|
|
|
./pyprland.nix
|
|
|
|
./rofi.nix
|
|
|
|
./waybar.nix
|
|
|
|
./wlogout.nix
|
2024-10-16 09:54:46 +07:00
|
|
|
# ./swappy.nix
|
2024-06-12 09:54:11 +07:00
|
|
|
./alacritty.nix
|
2024-10-16 21:41:09 +07:00
|
|
|
./swayosd.nix
|
2024-10-20 15:42:48 +07:00
|
|
|
./swaync.nix
|
2024-10-16 10:51:40 +07:00
|
|
|
./ntfy-sh.nix
|
2024-10-17 07:58:29 +07:00
|
|
|
./gnome-keyring.nix
|
2024-10-24 17:27:43 +07:00
|
|
|
./kdeconnect.nix
|
2024-10-21 17:15:48 +07:00
|
|
|
|
|
|
|
./wallust
|
2024-06-12 09:54:11 +07:00
|
|
|
];
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
cliphist
|
|
|
|
qalculate-gtk
|
|
|
|
pavucontrol
|
|
|
|
pasystray
|
|
|
|
|
|
|
|
graphicsmagick
|
2024-07-10 09:39:39 +07:00
|
|
|
pkgs.swayosd
|
2024-06-12 09:54:11 +07:00
|
|
|
image-roll # image viewer
|
|
|
|
];
|
|
|
|
|
|
|
|
home.pointerCursor = {
|
|
|
|
name = "Adwaita";
|
|
|
|
package = pkgs.gnome.adwaita-icon-theme;
|
|
|
|
size = 24;
|
|
|
|
x11 = {
|
|
|
|
enable = true;
|
|
|
|
defaultCursor = "Adwaita";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|