Updates
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
name="Filemanager"
|
||||
order=1
|
||||
23
hypr/settings/modules/system/defaults/filemanager/module.sh
Executable file
23
hypr/settings/modules/system/defaults/filemanager/module.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Define the start command to start the filemanager (Default: thunar)."
|
||||
|
||||
# Define File
|
||||
targetFile="$HOME/dotfiles/.settings/filemanager.sh"
|
||||
|
||||
# Current Value
|
||||
echo "Current Value: $(cat $targetFile)"
|
||||
|
||||
# Select Value
|
||||
customvalue=$(gum input --placeholder "Command to start")
|
||||
if [ ! -z $customvalue ] ;then
|
||||
# Write into file
|
||||
echo "$customvalue" > $targetFile
|
||||
else
|
||||
echo "Please define a command"
|
||||
sleep 1
|
||||
fi
|
||||
_goBack
|
||||
|
||||
|
||||
Reference in New Issue
Block a user