temporarily return home-manger, working hyprland module

This commit is contained in:
Charlie Root 2024-11-04 12:35:21 +01:00
commit fbb93a59d4
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw
10 changed files with 406 additions and 200 deletions

View file

@ -3,32 +3,29 @@
pkgs,
...
}: let
inherit (config.modules.other.system) username;
inherit (config.modules.style) cursor;
inherit (builtins) toString;
in {
home-manager.users.${username} = {
wayland.windowManager.hyprland.settings = {
# Hyprland settings
# Programs which get executed at Hyprland start.
exec-once = [
"hyprctl setcursor ${cursor.name} ${toString cursor.size}"
#start waybar
"${pkgs.waybar}/bin/waybar"
# "${pkgs.ianny}/bin/ianny"
programs.hyprland.settings = {
# Hyprland settings
# Programs which get executed at Hyprland start.
exec-once = [
"hyprctl setcursor ${cursor.name} ${toString cursor.size}"
#start waybar
"${pkgs.waybar}/bin/waybar"
# "${pkgs.ianny}/bin/ianny"
# run persistent special workspace windows
# "[workspace special:nixos; silent;tile] ${pkgs.foot}/bin/foot -D ~/projects/nichts"
# run persistent special workspace windows
# "[workspace special:nixos; silent;tile] ${pkgs.foot}/bin/foot -D ~/projects/nichts"
"[workspace special:keepassxc; silent;tile] ${pkgs.keepassxc}/bin/keepassxc"
"[workspace special:audio; silent;tile] ${pkgs.pwvucontrol}/bin/pwvucontrol"
"[workspace special:keepassxc; silent;tile] ${pkgs.keepassxc}/bin/keepassxc"
"[workspace special:audio; silent;tile] ${pkgs.pwvucontrol}/bin/pwvucontrol"
"${pkgs.swww}/bin/swww-daemon"
"${pkgs.swww}/bin/swww-daemon"
"${pkgs.wlsunset}/bin/wlsunset -S 06:00 -s 20:00"
"${pkgs.lxqt.lxqt-policykit}/bin/lxqt-policykit-agent"
"hyprctl dispatch split:workspace 1"
];
};
"${pkgs.wlsunset}/bin/wlsunset -S 06:00 -s 20:00"
"${pkgs.lxqt.lxqt-policykit}/bin/lxqt-policykit-agent"
"hyprctl dispatch split:workspace 1"
];
};
}