Add early incomplete hyprland config

This commit is contained in:
ItsDrike 2024-06-09 22:40:50 +02:00
parent 953334c841
commit 6da71787f1
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
17 changed files with 491 additions and 6 deletions

View file

@ -0,0 +1,11 @@
{pkgs, ...}:
pkgs.writeTextFile {
name = "dbus-hyprland-env";
destination = "/bin/dbus-hyprland-environment";
executable = true;
text = ''
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=hyprland
systemctl --user stop pipewire pipewire-media-session xdg-desktop-portal xdg-desktop-portal-wlr
systemctl --user start pipewire wireplumber pipewire-media-session xdg-desktop-portal xdg-desktop-portal-hyprland
'';
}

View file

@ -0,0 +1,9 @@
{
pkgs,
...
}: let
packages = {
dbus-hyprland-env = pkgs.callPackage ./dbus-hyprland-env.nix {};
};
in
packages