summary refs log tree commit diff
path: root/hyprland-welcome
diff options
context:
space:
mode:
Diffstat (limited to 'hyprland-welcome')
-rwxr-xr-x[-rw-r--r--]hyprland-welcome4
1 files changed, 2 insertions, 2 deletions
diff --git a/hyprland-welcome b/hyprland-welcome
index f0be4f4..b9d097d 100644..100755
--- a/hyprland-welcome
+++ b/hyprland-welcome
@@ -17,7 +17,7 @@ register_app_state() {
 	label="$1"
 	shift
 	installed="$(which "$@" | xargs -I{} basename "{}" | tr '\n' ' ')"
-	running="$(pgrep -a "$(echo "$@" |tr ' ' '|')" |cut -d' ' -f2 |xargs -I{} basename "{}" | tr '\n' ' ')"
+	running="$(pgrep -a "$(echo "$@" |tr ' ' '|')" |cut -d' ' -f2 |xargs -I{} basename "{}" | sort -u | tr '\n' ' ')"
 	printf "• %s: " "$label"
 	if test -n "$running"; then
 		printf "☑️<span foreground="'"'"#22cccc"'"'">%s</span>" "$running"
@@ -45,7 +45,7 @@ $(register_app_state "Terminal*" "kitty" "alacritty" "wezterm" "foot" "konsole"
 $(register_app_state "Pipewire*" "pipewire" "wireplumber")
 $(register_app_state "Wallpaper" "hyprpaper" "swww" "awww" "swaybg" "wpaperd")
 $(register_app_state "XDG Desktop Portal*" "xdg-desktop-portal-hyprland")
-$(register_app_state "Notification Daemon*" "dunst", "mako" "swaync")
+$(register_app_state "Notification Daemon*" "dunst" "mako" "swaync")
 $(register_app_state "Status bar / shell" "quickshell" "waybar"  "eww" "ags")
 $(register_app_state "Application launcher" "hyprlauncher" "fuzzel" "wofi" "rofi" "anyrun" "walker" "tofi")
 $(register_app_state "Clipboard*" "wl-copy")