hyprland-dotfiles/scripts/filemanager.sh

21 lines
685 B
Bash
Raw Normal View History

2023-09-15 07:10:32 +00:00
#/bin/sh
# _____ _ _
# | ___(_) | ___ _ __ ___ __ _ _ __ __ _ __ _ ___ _ __
# | |_ | | |/ _ \ '_ ` _ \ / _` | '_ \ / _` |/ _` |/ _ \ '__|
# | _| | | | __/ | | | | | (_| | | | | (_| | (_| | __/ |
# |_| |_|_|\___|_| |_| |_|\__,_|_| |_|\__,_|\__, |\___|_|
# |___/
#
# by Stephan Raabe (2023)
# -----------------------------------------------------
source ~/dotfiles/scripts/library.sh
if [ -f "/usr/bin/nautilus" ]; then
echo "nautilus is installed.";
nautilus
else
echo "nautilus not installed. Launching thunar instead."
thunar
fi;