This commit is contained in:
Stephan Raabe 2024-01-14 12:04:52 +01:00
parent 222b23bb4c
commit c0ce4ec0f9
15 changed files with 33 additions and 2 deletions

View File

@ -31,6 +31,11 @@ else
echo "bluetooth.service activated successfully." echo "bluetooth.service activated successfully."
fi fi
if [ -d ~/dotfiles/hypr/settings/modules/waybar/defaults ] ;then
rm -rf ~/dotfiles/hypr/settings/modules/waybar/defaults
echo "~/dotfiles/hypr/settings/modules/waybar/defaults removed."
fi
# Create default folder structure # Create default folder structure
xdg-user-dirs-update xdg-user-dirs-update
echo "Default folders created..." echo "Default folders created..."

1
.settings/terminal.sh Executable file
View File

@ -0,0 +1 @@
alacritty

View File

@ -7,7 +7,7 @@
$mainMod = SUPER $mainMod = SUPER
# Applications # Applications
bind = $mainMod, RETURN, exec, alacritty bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh
bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh
# Windows # Windows

View File

@ -1,3 +1,3 @@
name="Quick Launcher" name="Default Applications"
order=1 order=1
author="Stephan Raabe ML4W" author="Stephan Raabe ML4W"

View File

@ -0,0 +1,2 @@
name="Terminal"
order=1

View File

@ -0,0 +1,23 @@
#!/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