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:
parent
5f95f0ffba
commit
af0e27630f
4 changed files with 42 additions and 18 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue