1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

chore: don't use systemd to start swaync and waybar to get restart support

This commit is contained in:
oddlama 2024-06-20 17:46:19 +02:00
parent a0e50ce0e9
commit c5a4bfa5f2
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
3 changed files with 33 additions and 2 deletions

View file

@ -117,6 +117,13 @@ in {
};
decoration.rounding = 4;
exec-once = [
"${pkgs.waybar}/bin/waybar"
"${pkgs.swaynotificationcenter}/bin/swaync"
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"systemctl --user restart xdg-desktop-portal.service"
];
input = {
kb_layout = "de";