refactor: use systemd services instead of start script

This is probably what I should've done from the beginning, but I didn't
really know how `systemd` worked when I started writing this config.
This commit is contained in:
Kiana Sheibani 2024-10-15 03:30:13 -04:00
parent 5f95f0ffba
commit af0e27630f
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
4 changed files with 42 additions and 18 deletions

View file

@ -4,11 +4,6 @@ let
modifier = "SUPER";
terminal = "alacritty";
in {
home.packages = with pkgs; [
swaybg
swayidle
];
wayland.windowManager.hyprland = {
enable = true;
systemd.enable = true;
@ -28,10 +23,6 @@ in {
"$terminal" = terminal;
"$menu" = "rofi -show drun";
exec-once = [
"background=${../../assets/background.png} platform=${config.platform} ${scripts}/autostart"
];
general = {
layout = "hy3";