feat: better AGS integration and Hyprland setup

AGS: Full AGS config directory init

Autostart: Created myAutostartCommands var to programmatically define

all commands to be started when Hyprland initiates

this includes firefox, thunderbird, and a terminal to be set in the

special Hyprland workspace
This commit is contained in:
Zhongheng Liu 2024-08-20 14:27:41 +08:00
commit 37674d828e
No known key found for this signature in database
10 changed files with 335 additions and 25 deletions

View file

@ -21,10 +21,13 @@
repeat_rate = 50;
repeat_delay = 250;
};
exec-once = [
"fcitx5"
"ags"
];
exec-once =
config.myAutostartCommands
++ [
''
[workspace special silent] ${pkgs.foot}/bin/foot -f 'BlexMono Nerd Fon
t:size=12' -o colors.alpha=0.85 ${config.myShells.defaultShell}''
];
misc = {
disable_hyprland_logo = true;
disable_splash_rendering = true;
@ -42,7 +45,9 @@
# firefox quickstart
"$mod, F, exec, ${pkgs.firefox}/bin/firefox"
# foot terminal
"$mod, Return, exec, ${pkgs.foot}/bin/foot -f 'BlexMono Nerd Font:size=12' -o colors.alpha=0.85 ${config.myShells.defaultShell}"
''
$mod, Return, exec, ${pkgs.foot}/bin/foot -f 'BlexMono Nerd Font:size=
12' -o colors.alpha=0.85 ${config.myShells.defaultShell}''
]
++ (
# workspaces
@ -64,9 +69,7 @@
};
# Optional
# Whether to enable hyprland-session.target on hyprland startup
systemd = {
enable = true;
};
systemd = {enable = true;};
};
# ...
}