Updates
This commit is contained in:
parent
222b23bb4c
commit
c0ce4ec0f9
@ -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
1
.settings/terminal.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
alacritty
|
@ -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
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
name="Quick Launcher"
|
name="Default Applications"
|
||||||
order=1
|
order=1
|
||||||
author="Stephan Raabe ML4W"
|
author="Stephan Raabe ML4W"
|
2
hypr/settings/modules/system/defaults/terminal/config.sh
Normal file
2
hypr/settings/modules/system/defaults/terminal/config.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
name="Terminal"
|
||||||
|
order=1
|
23
hypr/settings/modules/system/defaults/terminal/module.sh
Executable file
23
hypr/settings/modules/system/defaults/terminal/module.sh
Executable 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user