pika-welcome/data/scripts/software-manager.sh
Ward from fusion-voyager-3 1e591ad755 get code in place
2024-02-24 23:00:00 +03:00

10 lines
280 B
Bash
Executable File

#!/bin/bash
if echo $XDG_SESSION_DESKTOP | grep -i -E 'gnome|pika|ubuntu'
then
gnome-software "$@"
elif echo $XDG_SESSION_DESKTOP | grep -i -E 'plasma|kde'
then
plasma-discover "$@"
else
zenity --error --text "$XDG_SESSION_DESKTOP does have a registered software-manager"
fi