diff options
| author | Zach DeCook <zachdecook@librem.one> | 2026-04-12 21:43:18 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2026-04-12 21:43:18 -0400 |
| commit | 21cf7c2949646761a0d415c07e89dd61c0437d00 (patch) | |
| tree | a44a04eef6cc2ee20d30d30bc65ec43da4fe7cba /hyprland-welcome | |
| parent | e0f5fdd8bbf05f528fe28fc77acf7d809327b0f7 (diff) | |
| download | hyprland-zenityutils-21cf7c2949646761a0d415c07e89dd61c0437d00.tar.gz | |
Improve welcome page zachster
Diffstat (limited to 'hyprland-welcome')
| -rwxr-xr-x[-rw-r--r--] | hyprland-welcome | 4 |
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") |
