Hyprland-dotfiles/scripts/filemanager.sh

19 lines
659 B
Bash
Raw Normal View History

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