From 1da0ea7f1ea8d3fd7f84ee17f4154498dc1ab7a6 Mon Sep 17 00:00:00 2001 From: BluemediaGER Date: Sat, 12 Oct 2024 16:42:26 +0200 Subject: [PATCH] Add dunst and polkit-kde-agent --- .../desktop-environment/files/.config/dunst/dunst.ini | 11 +++++++++++ roles/desktop-environment/tasks/utils.yml | 4 +++- .../templates/.config/hypr/hyprland.conf.j2 | 6 +++++- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 roles/desktop-environment/files/.config/dunst/dunst.ini diff --git a/roles/desktop-environment/files/.config/dunst/dunst.ini b/roles/desktop-environment/files/.config/dunst/dunst.ini new file mode 100644 index 0000000..b2bd36b --- /dev/null +++ b/roles/desktop-environment/files/.config/dunst/dunst.ini @@ -0,0 +1,11 @@ +[global] +follow = mouse +font = "JetBrainsMono Nerd Font" +background = "#1A1B26" +foreground = "#F3F4F5" +frame_color = "#FF8F40" +separator_color = frame +min_icon_size = 75 +max_icon_size = 75 +icon_corner_radius = 8 +text_icon_padding = 10 diff --git a/roles/desktop-environment/tasks/utils.yml b/roles/desktop-environment/tasks/utils.yml index 45c7dbd..015e829 100644 --- a/roles/desktop-environment/tasks/utils.yml +++ b/roles/desktop-environment/tasks/utils.yml @@ -24,4 +24,6 @@ - fonts-firacode - fonts-font-awesome - fonts-noto-color-emoji - - thunar \ No newline at end of file + - thunar + - dunst + - polkit-kde-agent-1 \ No newline at end of file diff --git a/roles/desktop-environment/templates/.config/hypr/hyprland.conf.j2 b/roles/desktop-environment/templates/.config/hypr/hyprland.conf.j2 index df2b8ab..45dac2d 100644 --- a/roles/desktop-environment/templates/.config/hypr/hyprland.conf.j2 +++ b/roles/desktop-environment/templates/.config/hypr/hyprland.conf.j2 @@ -105,10 +105,14 @@ workspace = {{ workspace['id'] }}{% if 'monitor' in workspace %}, monitor:desc:{ {% endfor %} -# Execute apps at launch +# Execute helper programs exec-once = systemctl --user import-environment DISPLAY WAYLAND_DISPLAY && hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK +exec-once = systemctl --user start plasma-polkit-agent.service +exec-once = dunst -config ~/.config/dunst/dunst.ini exec-once = waybar & ~/.local/bin/hyprhelpr background & ~/.local/bin/hyprhelpr idle exec-once = flatpak run com.tomjwatson.Emote + +# Execute apps at launch {% if 'nextcloud' in role_names %} exec-once = nextcloud --background {% endif %}