hyprland porting

This commit is contained in:
2024-04-19 18:04:49 +02:00
parent 158fe716da
commit f6eb31a26b
5 changed files with 53 additions and 32 deletions

View File

@@ -4,37 +4,40 @@
pkgs,
...
}: let
hyprland = pkgs.inputs.hyprland.hyprland.override {wrapRuntimeDeps = false;};
xdhp = pkgs.inputs.hyprland.xdg-desktop-portal-hyprland.override {inherit hyprland;};
# hyprland = pkgs.inputs.hyprland.hyprland.override {wrapRuntimeDeps = false;};
# xdhp = pkgs.inputs.hyprland.xdg-desktop-portal-hyprland.override {inherit hyprland;};
in {
imports = [
../common
../common/wayland-wm
];
xdg.portal = {
extraPortals = [xdhp];
configPackages = [hyprland];
};
# xdg.portal = {
# extraPortals = [xdhp];
# configPackages = [hyprland];
# };
home.packages = with pkgs; [
inputs.hyprwm-contrib.grimblast
hyprslurp
# inputs.hyprwm-contrib.grimblast
# hyprslurp
hyprpicker
hyprpaper
waybar
xdg-desktop-portal-hyprland
];
wayland.windowManger.hyprland = {
enable = true;
package = hyprland;
systemd = {
enable = true;
# Same as default but stop graphical-session too
extraCommands = lib.mkBefore [
"systemctl --user stop graphical-session.target"
"systemctl --user start hyprland-session.target"
];
};
#TODO: Add hyprland config
};
# wayland.windowManger.hyprland = {
# enable = true;
# # package = hyprland;
# systemd = {
# enable = true;
# # Same as default but stop graphical-session too
# extraCommands = lib.mkBefore [
# "systemctl --user stop graphical-session.target"
# "systemctl --user start hyprland-session.target"
# ];
# };
#
# #TODO: Add hyprland config
# };
}