2024-09-16 14:59:29 +02:00
|
|
|
{
|
2024-09-20 16:01:22 +02:00
|
|
|
inputs,
|
2024-09-16 14:59:29 +02:00
|
|
|
pkgs,
|
|
|
|
...
|
2024-09-20 16:01:22 +02:00
|
|
|
}: {
|
2024-09-16 14:59:29 +02:00
|
|
|
home.file = {
|
|
|
|
".config/hypr/hyprland.conf.d".source = ./hyprland.conf.d;
|
2024-09-22 10:03:11 +02:00
|
|
|
# Gamemode script
|
|
|
|
".config/hypr/gamemode.sh" = {
|
|
|
|
source = ./gamemode.sh;
|
|
|
|
executable = true;
|
|
|
|
};
|
2024-09-20 18:28:58 +02:00
|
|
|
# Hyprland launch wrapper
|
2024-10-16 08:14:44 +02:00
|
|
|
".local/bin/Hyprland-wrapper" = {
|
|
|
|
source = ../../bin/Hyprland-wrapper;
|
2024-09-20 18:28:58 +02:00
|
|
|
executable = true;
|
|
|
|
};
|
2024-09-20 19:32:51 +02:00
|
|
|
# UWU launcher script
|
|
|
|
".local/bin/uwu-launcher" = {
|
|
|
|
source = ../../bin/uwu-launcher;
|
|
|
|
executable = true;
|
|
|
|
};
|
|
|
|
# Togglescreen script
|
|
|
|
".local/bin/togglescreen" = {
|
|
|
|
source = ../../bin/togglescreen;
|
|
|
|
executable = true;
|
|
|
|
};
|
2024-09-21 12:41:12 +02:00
|
|
|
# Wallpaperctl script
|
|
|
|
".local/bin/wallpaperctl" = {
|
|
|
|
source = ../../bin/wallpaperctl;
|
|
|
|
executable = true;
|
|
|
|
};
|
2024-09-30 14:09:15 +02:00
|
|
|
# Lock script
|
|
|
|
".local/bin/swaylock-hyprland" = {
|
|
|
|
source = ../../bin/swaylock-hyprland;
|
|
|
|
executable = true;
|
|
|
|
};
|
2024-09-16 14:59:29 +02:00
|
|
|
};
|
2024-09-19 12:57:44 +02:00
|
|
|
|
2024-10-12 19:07:07 +02:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
egl-wayland # For NVIDIA compatibility
|
|
|
|
xdg-desktop-portal-hyprland
|
2024-09-20 19:32:51 +02:00
|
|
|
# Common DE packages required in config
|
2024-10-12 19:07:07 +02:00
|
|
|
wl-clipboard
|
|
|
|
grim
|
|
|
|
slurp
|
|
|
|
hyprpicker
|
|
|
|
udiskie
|
|
|
|
swww
|
|
|
|
swaylock-effects
|
|
|
|
brightnessctl
|
2024-10-12 19:08:57 +02:00
|
|
|
networkmanagerapplet
|
2024-09-20 19:32:51 +02:00
|
|
|
# Apps launchable from bindings
|
2024-10-12 19:07:07 +02:00
|
|
|
firefox
|
|
|
|
kitty
|
|
|
|
yazi
|
2024-10-12 20:08:27 +02:00
|
|
|
# Yazi requirements
|
|
|
|
ffmpegthumbnailer
|
|
|
|
poppler
|
|
|
|
imagemagick
|
2024-09-19 12:57:44 +02:00
|
|
|
];
|
2024-09-20 16:01:22 +02:00
|
|
|
|
2024-09-23 15:19:39 +02:00
|
|
|
home.pointerCursor = {
|
|
|
|
gtk.enable = true;
|
|
|
|
# x11.enable = true;
|
|
|
|
package = pkgs.bibata-cursors;
|
|
|
|
name = "Bibata-Modern-Classic";
|
|
|
|
size = 24;
|
|
|
|
};
|
|
|
|
|
2024-09-16 14:59:29 +02:00
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
enable = true;
|
2024-10-16 08:58:12 +02:00
|
|
|
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
2024-09-16 14:59:29 +02:00
|
|
|
extraConfig = builtins.readFile ./hyprland.conf;
|
2024-09-20 16:01:22 +02:00
|
|
|
plugins = [inputs.hy3.packages.${pkgs.system}.hy3];
|
2024-09-16 14:59:29 +02:00
|
|
|
};
|
2024-09-18 14:55:52 +02:00
|
|
|
|
|
|
|
# bar is required
|
2024-09-18 15:00:31 +02:00
|
|
|
imports = [
|
2024-09-18 14:55:52 +02:00
|
|
|
../../bar
|
2024-09-20 19:32:51 +02:00
|
|
|
../../term/alacritty
|
|
|
|
../../misc/swayosd
|
|
|
|
../../misc/anyrun
|
2024-09-21 13:25:34 +02:00
|
|
|
../../misc/end-rs
|
2024-09-18 15:00:31 +02:00
|
|
|
];
|
2024-09-16 14:59:29 +02:00
|
|
|
}
|