Hyprland-dotfiles/hypr/settings/modules/system/defaults/terminal/module.sh
Stephan Raabe c0ce4ec0f9 Updates
2024-01-14 12:04:52 +01:00

24 lines
469 B
Bash
Executable File

#!/bin/bash
_getHeader "$name" "$author"
echo "Define the command to open the terminal (Default: alacritty)."
# Define File
targetFile="$HOME/dotfiles/.settings/terminal.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