Corfrected hyprland.nix
This commit is contained in:
@@ -1797,10 +1797,7 @@ in
|
|||||||
{
|
{
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Load bindings from repo files
|
configFile.extraConfig = builtins.readFile bindingsConf;
|
||||||
# --- Repo keybindings ---
|
|
||||||
${builtins.readFile bindingsConf}
|
|
||||||
'';
|
|
||||||
settings = {
|
settings = {
|
||||||
windowrule = [
|
windowrule = [
|
||||||
"match:class nm-connection-editor, float 1, center 1, size 900 700"
|
"match:class nm-connection-editor, float 1, center 1, size 900 700"
|
||||||
@@ -1813,9 +1810,7 @@ in
|
|||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
xdg-desktop-portal-hyprland
|
xdg-desktop-portal-hyprland
|
||||||
];
|
];
|
||||||
# GTK als algemene backend (OpenURI is daar betrouwbaar)
|
|
||||||
config.common.default = [ "gtk" ];
|
config.common.default = [ "gtk" ];
|
||||||
# Hyprland alleen voor screensharing / remote desktop
|
|
||||||
config.hyprland = {
|
config.hyprland = {
|
||||||
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
|
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
|
||||||
"org.freedesktop.impl.portal.RemoteDesktop" = [ "hyprland" ];
|
"org.freedesktop.impl.portal.RemoteDesktop" = [ "hyprland" ];
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ in
|
|||||||
# --- Repo keybindings ---
|
# --- Repo keybindings ---
|
||||||
${builtins.readFile bindingsConf}
|
${builtins.readFile bindingsConf}
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
settings = {
|
settings = {
|
||||||
windowrule = [
|
windowrule = [
|
||||||
"match:class nm-connection-editor, float 1, center 1, size 900 700"
|
"match:class nm-connection-editor, float 1, center 1, size 900 700"
|
||||||
|
|||||||
Reference in New Issue
Block a user