Updates
This commit is contained in:
2
hypr/settings/modules/system/defaults/browser/config.sh
Normal file
2
hypr/settings/modules/system/defaults/browser/config.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
name="Browser"
|
||||
order=1
|
||||
23
hypr/settings/modules/system/defaults/browser/module.sh
Executable file
23
hypr/settings/modules/system/defaults/browser/module.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/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
|
||||
|
||||
|
||||
3
hypr/settings/modules/system/defaults/config.sh
Normal file
3
hypr/settings/modules/system/defaults/config.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
name="Default Applications"
|
||||
order=1
|
||||
author="Stephan Raabe ML4W"
|
||||
@@ -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
|
||||
|
||||
|
||||
2
hypr/settings/modules/system/defaults/module.sh
Executable file
2
hypr/settings/modules/system/defaults/module.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name"
|
||||
@@ -0,0 +1,2 @@
|
||||
name="Network"
|
||||
order=1
|
||||
25
hypr/settings/modules/system/defaults/networkmanager/module.sh
Executable file
25
hypr/settings/modules/system/defaults/networkmanager/module.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Define the start command to start the networkmanager (Must be installed on your system)."
|
||||
echo "(Default: nm-connection-editor)"
|
||||
echo "Possible values: alacritty -e nmtui, nm-connection-editor, etc."
|
||||
|
||||
# Define File
|
||||
targetFile="$HOME/dotfiles/.settings/networkmanager.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
|
||||
|
||||
|
||||
2
hypr/settings/modules/system/defaults/software/config.sh
Normal file
2
hypr/settings/modules/system/defaults/software/config.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
name="Software"
|
||||
order=1
|
||||
23
hypr/settings/modules/system/defaults/software/module.sh
Executable file
23
hypr/settings/modules/system/defaults/software/module.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Define the start command to start the software manager (Default: alacritty -e pacseek)."
|
||||
|
||||
# Define File
|
||||
targetFile="$HOME/dotfiles/.settings/software.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
|
||||
|
||||
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user