Start nautilus with thunar as backup
This commit is contained in:
parent
0a7af4d2bb
commit
7aef153cb5
20
scripts/filemanager.sh
Executable file
20
scripts/filemanager.sh
Executable file
|
@ -0,0 +1,20 @@
|
|||
#/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;
|
|
@ -80,7 +80,7 @@
|
|||
// Filemanager Launcher
|
||||
"custom/filemanager": {
|
||||
"format": "",
|
||||
"on-click": "nautilus",
|
||||
"on-click": "~/dotfiles/scripts/filemanager.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user