mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 11:06:11 +01:00
hyprland porting
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
|
||||
];
|
||||
|
||||
dconf.settings."org/gnome/desktop/interface".color-scheme =
|
||||
if config.colorscheme.variant == "dark"
|
||||
then "prefer-dark"
|
||||
else if config.colorscheme.variant == "light"
|
||||
then "prefer-light"
|
||||
else "default";
|
||||
# dconf.settings."org/gnome/desktop/interface".color-scheme =
|
||||
# if config.colorscheme.variant == "dark"
|
||||
# then "prefer-dark"
|
||||
# else if config.colorscheme.variant == "light"
|
||||
# then "prefer-light"
|
||||
# else "default";
|
||||
|
||||
xdg.portal.enable = true;
|
||||
# xdg.portal.enable = true;
|
||||
|
||||
}
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
gtk3
|
||||
imv
|
||||
mimeo
|
||||
primary-xwayland
|
||||
# primary-xwayland
|
||||
pulseaudio
|
||||
slurp
|
||||
waypipe
|
||||
wf-recorder
|
||||
wl-clipboard
|
||||
wl-mirror
|
||||
wl-mirror-pick
|
||||
# wl-mirror-pick
|
||||
xdg-utils
|
||||
ydotool
|
||||
];
|
||||
@@ -25,5 +25,5 @@
|
||||
LIBSEAT_BACKEND = "logind";
|
||||
};
|
||||
|
||||
xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-wlr];
|
||||
# xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-wlr];
|
||||
}
|
||||
|
||||
@@ -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
|
||||
# };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user