hyprland-dotfiles/scripts/filemanager.sh

19 lines
659 B
Bash
Raw Normal View History

2023-09-15 07:10:32 +00:00
#/bin/sh
# _____ _ _
# | ___(_) | ___ _ __ ___ __ _ _ __ __ _ __ _ ___ _ __
# | |_ | | |/ _ \ '_ ` _ \ / _` | '_ \ / _` |/ _` |/ _ \ '__|
# | _| | | | __/ | | | | | (_| | | | | (_| | (_| | __/ |
# |_| |_|_|\___|_| |_| |_|\__,_|_| |_|\__,_|\__, |\___|_|
# |___/
#
# by Stephan Raabe (2023)
# -----------------------------------------------------
if [ -f "/usr/bin/nautilus" ]; then
2023-09-18 17:46:06 +00:00
echo "nautilus is installed."
2023-09-18 17:21:10 +00:00
nautilus --new-window
2023-09-15 07:10:32 +00:00
else
echo "nautilus not installed. Launching thunar instead."
thunar
fi;