Enable teams-for-linux and disable ferdium in system modules; add both to core packages. Simplify Hyprland configuration by using direct settings for animations, window rules, env, exec‑once and hypridle. Remove unused Microsoft Teams PWA entry.
23 lines
749 B
Nix
23 lines
749 B
Nix
{host, ...}: let
|
|
inherit
|
|
(import ../../../hosts/${host}/variables.nix)
|
|
stylixImage
|
|
;
|
|
in {
|
|
wayland.windowManager.hyprland.settings.exec-once = [
|
|
"wl-paste --type text --watch cliphist store" # Saves text
|
|
"wl-paste --type image --watch cliphist store" # Saves images
|
|
"dbus-update-activation-environment --all --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
|
"systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
|
"systemctl --user start hyprpolkitagent"
|
|
|
|
"killall -q swww;sleep .5 && swww-daemon"
|
|
"killall -q waybar;sleep .5 && waybar"
|
|
"killall -q swaync;sleep .5 && swaync"
|
|
"#wallsetter &"
|
|
"pypr &"
|
|
"nm-applet --indicator"
|
|
"sleep 1.0 && swww img ${stylixImage}"
|
|
];
|
|
}
|