nichts/modules/wms/wayland/hyprland/exec.nix

33 lines
807 B
Nix

{
config,
lib,
pkgs,
...
}: let
# inherit (config.modules.style) cursor;
inherit (lib.meta) getExe;
in {
programs.hyprland.settings = {
# Hyprland settings
# Programs which get executed at Hyprland start.
exec-once = [
"uwsm finalize"
"hyprctl setcursor BreezeX-RosePine-Linux 32"
"hyprctl seterror disable"
"[workspace special:keepassxc; silent;tile] ${pkgs.keepassxc}/bin/keepassxc"
"[workspace special:audio; silent;tile] ${pkgs.pwvucontrol}/bin/pwvucontrol"
"${pkgs.swww}/bin/swww-daemon"
"${pkgs.avizo}/bin/avizo-service"
"${pkgs.wlsunset}/bin/wlsunset -S 06:00 -s 20:00"
"${pkgs.lxqt.lxqt-policykit}/bin/lxqt-policykit-agent"
"hyprctl dispatch split-workspace 1"
"${getExe pkgs.hyprlock}"
];
};
}