Hyprland-dotfiles/hypr/settings/modules/waybar/defaults/browser/module.sh
Stephan Raabe 222b23bb4c Updates
2024-01-11 16:03:36 +01:00

24 lines
473 B
Bash
Executable File

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