Clean home env
This commit is contained in:
@@ -1,41 +1,17 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
dbus-hyprland-environment = pkgs.writeTextFile {
|
||||
name = "dbus-hyprland-environment";
|
||||
destination = "/bin/dbus-hyprland-environment";
|
||||
executable = true;
|
||||
text = ''
|
||||
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=hyprland
|
||||
systemctl --user stop pipewire wireplumber xdg-desktop-portal-hyprland xdg-desktop-portal-gtk
|
||||
systemctl --user start pipewire wireplumber xdg-desktop-portal-hyprland xdg-desktop-portal-gtk
|
||||
'';
|
||||
};
|
||||
in {
|
||||
{ lib, config, pkgs, ... }: {
|
||||
config = lib.mkIf (config.usercfg.wm == "Wayland") {
|
||||
|
||||
home.packages = with pkgs; [
|
||||
dbus-hyprland-environment
|
||||
wayland
|
||||
|
||||
hyprpicker
|
||||
|
||||
hyprshot
|
||||
slurp
|
||||
satty
|
||||
|
||||
swappy
|
||||
cliphist
|
||||
wl-clipboard
|
||||
|
||||
wlr-randr
|
||||
wdisplays
|
||||
kanshi
|
||||
|
||||
glib
|
||||
|
||||
brightnessctl
|
||||
awww
|
||||
playerctl
|
||||
];
|
||||
|
||||
xdg.mimeApps = {
|
||||
|
||||
Reference in New Issue
Block a user