Updates
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
# _ _ _ _
|
||||
# | |__ _ _ _ __ _ __(_) __| | | ___
|
||||
# | '_ \| | | | '_ \| '__| |/ _` | |/ _ \
|
||||
# | | | | |_| | |_) | | | | (_| | | __/
|
||||
# |_| |_|\__, | .__/|_| |_|\__,_|_|\___|
|
||||
# |___/|_|
|
||||
#
|
||||
|
||||
# Disabled
|
||||
@@ -1,25 +0,0 @@
|
||||
# _ _ _ _
|
||||
# | |__ _ _ _ __ _ __(_) __| | | ___
|
||||
# | '_ \| | | | '_ \| '__| |/ _` | |/ _ \
|
||||
# | | | | |_| | |_) | | | | (_| | | __/
|
||||
# |_| |_|\__, | .__/|_| |_|\__,_|_|\___|
|
||||
# |___/|_|
|
||||
#
|
||||
|
||||
general {
|
||||
ignore_dbus_inhibit = false
|
||||
}
|
||||
|
||||
# Screenlock
|
||||
listener {
|
||||
timeout = 600
|
||||
on-timeout = hyprlock
|
||||
# on-resume = notify-send "Welcome back to your desktop!"
|
||||
}
|
||||
|
||||
# dpms
|
||||
listener {
|
||||
timeout = 660
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
# _ _ _ _
|
||||
# | |__ _ _ _ __ _ __(_) __| | | ___
|
||||
# | '_ \| | | | '_ \| '__| |/ _` | |/ _ \
|
||||
# | | | | |_| | |_) | | | | (_| | | __/
|
||||
# |_| |_|\__, | .__/|_| |_|\__,_|_|\___|
|
||||
# |___/|_|
|
||||
#
|
||||
|
||||
general {
|
||||
ignore_dbus_inhibit = false
|
||||
}
|
||||
|
||||
# Screenlock
|
||||
listener {
|
||||
timeout = 600
|
||||
on-timeout = hyprlock
|
||||
# on-resume = notify-send "Welcome back to your desktop!"
|
||||
}
|
||||
|
||||
# dpms
|
||||
listener {
|
||||
timeout = 660
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
# Suspend
|
||||
listener {
|
||||
timeout = 1800
|
||||
on-timeout = systemctl suspend
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
# _ _ _ _
|
||||
# | |__ _ _ _ __ _ __(_) __| | | ___
|
||||
# | '_ \| | | | '_ \| '__| |/ _` | |/ _ \
|
||||
# | | | | |_| | |_) | | | | (_| | | __/
|
||||
# |_| |_|\__, | .__/|_| |_|\__,_|_|\___|
|
||||
# |___/|_|
|
||||
#
|
||||
|
||||
general {
|
||||
ignore_dbus_inhibit = false
|
||||
}
|
||||
|
||||
# Screenlock
|
||||
listener {
|
||||
timeout = 600
|
||||
on-timeout = hyprlock
|
||||
# on-resume = notify-send "Welcome back to your desktop!"
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
# _ _ _ _
|
||||
# | |__ _ _ _ __ _ __(_) __| | | ___
|
||||
# | '_ \| | | | '_ \| '__| |/ _` | |/ _ \
|
||||
# | | | | |_| | |_) | | | | (_| | | __/
|
||||
# |_| |_|\__, | .__/|_| |_|\__,_|_|\___|
|
||||
# |___/|_|
|
||||
#
|
||||
|
||||
general {
|
||||
ignore_dbus_inhibit = false
|
||||
}
|
||||
|
||||
# Screenlock
|
||||
listener {
|
||||
timeout = 600
|
||||
on-timeout = hyprlock
|
||||
# on-resume = notify-send "Welcome back to your desktop!"
|
||||
}
|
||||
|
||||
# Suspend
|
||||
listener {
|
||||
timeout = 660
|
||||
on-timeout = systemctl suspend
|
||||
}
|
||||
@@ -43,7 +43,7 @@ bind = $mainMod CTRL, F, exec, ~/dotfiles/scripts/filemanager.sh
|
||||
bind = $mainMod CTRL, C, exec, ~/dotfiles/scripts/cliphist.sh
|
||||
bind = $mainMod, V, exec, ~/dotfiles/scripts/cliphist.sh
|
||||
bind = $mainMod CTRL, T, exec, ~/dotfiles/waybar/themeswitcher.sh
|
||||
bind = $mainMod CTRL, S, exec, alacritty --class dotfiles-floating -e ~/dotfiles/hypr/start-settings.sh
|
||||
bind = $mainMod CTRL, S, exec, ~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage
|
||||
|
||||
# Workspaces
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
|
||||
@@ -14,6 +14,18 @@ windowrulev2 = nomaximizerequest,class:(ml4w-welcome.py)
|
||||
windowrulev2 = nofullscreenrequest,class:(ml4w-welcome.py)
|
||||
windowrulev2 = center,class:(ml4w-welcome.py)
|
||||
|
||||
windowrulev2 = float,class:(com.ml4w.dotfilessettings)
|
||||
windowrulev2 = size 700 600,class:(com.ml4w.dotfilessettings)
|
||||
windowrulev2 = nomaximizerequest,class:(com.ml4w.dotfilessettings)
|
||||
windowrulev2 = nofullscreenrequest,class:(com.ml4w.dotfilessettings)
|
||||
windowrulev2 = move 10% 20%,class:(com.ml4w.dotfilessettings)
|
||||
|
||||
windowrulev2 = float,class:(ml4w-dotfiles-settings.py)
|
||||
windowrulev2 = size 400 500,class:(ml4w-dotfiles-settings.py)
|
||||
windowrulev2 = nomaximizerequest,class:(ml4w-dotfiles-settings.py)
|
||||
windowrulev2 = nofullscreenrequest,class:(ml4w-dotfiles-settings.py)
|
||||
windowrulev2 = move 10% 20%,class:(ml4w-dotfiles-settings.py)
|
||||
|
||||
windowrulev2 = float,class:(dotfiles-floating)
|
||||
windowrulev2 = size 1000 800,class:(dotfiles-floating)
|
||||
windowrulev2 = nomaximizerequest,class:(dotfiles-floating)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
background {
|
||||
monitor =
|
||||
path = $HOME/dotfiles/.settings/lockscreen.png # only png supported for now
|
||||
path = $HOME/.cache/blurred_wallpaper.png # only png supported for now
|
||||
color = rgba(25, 20, 20, 1.0)
|
||||
|
||||
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||
@@ -39,12 +39,24 @@ input-field {
|
||||
valign = center
|
||||
}
|
||||
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "$TIME"
|
||||
color = rgba(200, 200, 200, 1.0)
|
||||
font_size = 55
|
||||
font_family = Fira Semibold
|
||||
|
||||
position = 0, 300
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
label {
|
||||
monitor =
|
||||
text = Enter your password to unlock
|
||||
color = rgba(200, 200, 200, 1.0)
|
||||
font_size = 25
|
||||
font_family = Noto Sans
|
||||
font_size = 15
|
||||
font_family = Fira Semibold
|
||||
|
||||
position = 0, 200
|
||||
halign = center
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
# Cache file for holding the current wallpaper
|
||||
cache_file="$HOME/.cache/current_wallpaper"
|
||||
blurred="$HOME/.cache/blurred_wallpaper.png"
|
||||
rasi_file="$HOME/.cache/current_wallpaper.rasi"
|
||||
|
||||
# Create cache file if not exists
|
||||
@@ -65,12 +66,6 @@ esac
|
||||
source "$HOME/.cache/wal/colors.sh"
|
||||
echo ":: Wallpaper: $wallpaper"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Write selected wallpaper into .cache files
|
||||
# -----------------------------------------------------
|
||||
echo "$wallpaper" > "$cache_file"
|
||||
echo "* { current-image: url(\"$wallpaper\", height); }" > "$rasi_file"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# get wallpaper image name
|
||||
# -----------------------------------------------------
|
||||
@@ -95,6 +90,17 @@ swww img $wallpaper \
|
||||
--transition-duration=0.7 \
|
||||
--transition-pos "$( hyprctl cursorpos )"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Created blurred wallpaper
|
||||
# -----------------------------------------------------
|
||||
magick $wallpaper -blur 0x20 $blurred
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Write selected wallpaper into .cache files
|
||||
# -----------------------------------------------------
|
||||
echo "$wallpaper" > "$cache_file"
|
||||
echo "* { current-image: url(\"$blurred\", height); }" > "$rasi_file"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Send notification
|
||||
# -----------------------------------------------------
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
.gitignore
|
||||
.git
|
||||
.dev
|
||||
README.md
|
||||
CHANGELOG
|
||||
LICENSE
|
||||
install.sh
|
||||
create.sh
|
||||
.target.sh
|
||||
@@ -1,377 +0,0 @@
|
||||
# Settings Library
|
||||
|
||||
# Load module
|
||||
_getModules() {
|
||||
clear
|
||||
|
||||
# Get path to parent folder to go back
|
||||
back="$(dirname "$1")"
|
||||
|
||||
# Load module config
|
||||
if [ -f $1/init.sh ]; then
|
||||
source $1/init.sh
|
||||
fi
|
||||
|
||||
# Load module config
|
||||
if [ -f $1/config.sh ]; then
|
||||
source $1/config.sh
|
||||
else
|
||||
echo "ERROR: config.sh doesn't exists in $1"
|
||||
exit
|
||||
fi
|
||||
|
||||
clickArr+=("/")
|
||||
clickArr+=("$name")
|
||||
echo "You are here:" ${clickArr[@]}
|
||||
|
||||
# Load module
|
||||
if [ -f $1/module.sh ]; then
|
||||
source $1/module.sh
|
||||
else
|
||||
echo "ERROR: module.sh doesn't exists in $1"
|
||||
# exit 0
|
||||
fi
|
||||
|
||||
# Read folder
|
||||
modules=$(find $1 -maxdepth 1 -type d)
|
||||
count=0
|
||||
|
||||
# Check if subfolders exists
|
||||
for value in $modules
|
||||
do
|
||||
if [[ ! "$value" == "$1" ]]; then
|
||||
# Check if custom version of module exists and skip original module
|
||||
if [ ! -d "$value-custom" ]; then
|
||||
((count++))
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Create Navigation
|
||||
unset modulesArr
|
||||
if [[ ! $count == 0 ]]; then
|
||||
|
||||
# Get modules folders
|
||||
for value in $modules
|
||||
do
|
||||
if [[ ! "$value" == "$1" ]]; then
|
||||
if [[ ! $value == *"-custom" ]]; then
|
||||
if [ ! -d "$value-custom" ]; then
|
||||
if [ -f $value/config.sh ]; then
|
||||
source $value/config.sh
|
||||
modulesArr+=("$order:$name:$value")
|
||||
else
|
||||
echo "ERROR: config.sh doesn't exists in $value"
|
||||
exit
|
||||
fi
|
||||
else
|
||||
if [ -f $value-custom/config.sh ]; then
|
||||
source $value-custom/config.sh
|
||||
modulesArr+=("$order:$name:$value-custom")
|
||||
else
|
||||
echo "ERROR: config.sh doesn't exists in $value-custom"
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
# Sort array by order
|
||||
IFS=$'\n' modulesArr=($(sort <<<"${modulesArr[*]}"))
|
||||
unset nameList
|
||||
unset pathList
|
||||
|
||||
# Output
|
||||
for value in "${modulesArr[@]}"
|
||||
do
|
||||
name="$(cut -d':' -f2 <<<"$value")"
|
||||
path="$(cut -d':' -f3 <<<"$value")"
|
||||
nameList+=("$name")
|
||||
pathList+=("$path")
|
||||
done
|
||||
if [[ "$back" == "$installFolder/settings" ]]; then
|
||||
nameList+=("EXIT")
|
||||
else
|
||||
nameList+=("BACK")
|
||||
fi
|
||||
echo ""
|
||||
selected=$(gum choose --height 12 ${nameList[@]})
|
||||
case $selected in
|
||||
BACK)
|
||||
_goBack
|
||||
break;;
|
||||
EXIT)
|
||||
clear
|
||||
exit
|
||||
break;;
|
||||
* )
|
||||
|
||||
;;
|
||||
esac
|
||||
if [ ! -z $selected ] ;then
|
||||
for i in "${!nameList[@]}"; do
|
||||
if [[ "${nameList[$i]}" = "${selected}" ]]; then
|
||||
nameIndex="${i}"
|
||||
fi
|
||||
done
|
||||
current="${pathList[$nameIndex]}"
|
||||
_getModules "$current"
|
||||
else
|
||||
if [[ "$back" == "$installFolder/settings" ]]; then
|
||||
clear
|
||||
exit
|
||||
else
|
||||
_goBack
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# _getConfSelector conf/monitor.conf conf/monitors/
|
||||
_getConfSelector() {
|
||||
cur=$(cat $installFolder/conf/$1)
|
||||
echo "Folder: $installFolder/conf/$2"
|
||||
echo "In use: ${cur##*/}"
|
||||
echo ""
|
||||
echo "Select a file to load (RETURN = Confirm, ESC = Cancel/Back):"
|
||||
echo ""
|
||||
sel=$(gum choose $(ls $installFolder/conf/$2))
|
||||
|
||||
if [ -z $sel ] ;then
|
||||
_goBack
|
||||
fi
|
||||
echo "File $sel selected."
|
||||
echo ""
|
||||
}
|
||||
|
||||
_getConfEditor() {
|
||||
selected=$(gum choose "EXECUTE" "EDIT" "COPY" "DELETE" "CANCEL")
|
||||
case $selected in
|
||||
EXECUTE)
|
||||
_writeConf $1 $2 $3
|
||||
break;;
|
||||
EDIT)
|
||||
vim $installFolder/conf/$3/$2
|
||||
sleep 1
|
||||
_reloadModule
|
||||
break;;
|
||||
COPY)
|
||||
echo "Define the new file name. Please use *.conf"
|
||||
filename=$(gum input --value="custom-${sel##*/}" --placeholder "Enter your filename")
|
||||
if [ -z $filename ] ;then
|
||||
echo "ERROR: No filename specified."
|
||||
else
|
||||
if ! [[ $filename =~ [^\s]+.conf ]]; then
|
||||
echo "ERROR: Wrong filename format. Please use *.conf"
|
||||
else
|
||||
if [ -f $(dirname $sel)/$filename ] ;then
|
||||
echo "ERROR: File already exists."
|
||||
else
|
||||
cp $installFolder/conf/$3/$sel $installFolder/conf/$3/$filename
|
||||
_reloadModule
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
_getConfEditor $1 $2 $3
|
||||
break;;
|
||||
DELETE)
|
||||
if gum confirm "Do you really want to delete the file $sel?" ;then
|
||||
rm $installFolder/conf/$3/$sel
|
||||
_reloadModule
|
||||
else
|
||||
_getConfEditor $1 $2 $3
|
||||
fi
|
||||
break;;
|
||||
* )
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# _writeConf conf/monitor.conf $sel
|
||||
_writeConf() {
|
||||
if [ ! -z $2 ] ;then
|
||||
editsel=$(echo "$installFolder/conf/$3/$2" | sed "s+"\/home\/$USER"+~+")
|
||||
echo "source = $editsel" > $installFolder/conf/$1
|
||||
fi
|
||||
}
|
||||
|
||||
# _replaceInFile $startMarket $endMarker $customtext $targetFile
|
||||
_replaceInFile() {
|
||||
|
||||
# Set function parameters
|
||||
start_string=$1
|
||||
end_string=$2
|
||||
new_string="$3"
|
||||
file_path=$4
|
||||
|
||||
# Counters
|
||||
start_line_counter=0
|
||||
end_line_counter=0
|
||||
start_found=0
|
||||
end_found=0
|
||||
|
||||
if [ -f $file_path ] ;then
|
||||
|
||||
# Detect Start String
|
||||
while read -r line
|
||||
do
|
||||
((start_line_counter++))
|
||||
if [[ $line = *$start_string* ]]; then
|
||||
# echo "Start found in $start_line_counter"
|
||||
start_found=$start_line_counter
|
||||
break
|
||||
fi
|
||||
done < "$file_path"
|
||||
|
||||
# Detect End String
|
||||
while read -r line
|
||||
do
|
||||
((end_line_counter++))
|
||||
if [[ $line = *$end_string* ]]; then
|
||||
# echo "End found in $end_line_counter"
|
||||
end_found=$end_line_counter
|
||||
break
|
||||
fi
|
||||
done < "$file_path"
|
||||
|
||||
# Check that deliminters exists
|
||||
if [[ "$start_found" == "0" ]] ;then
|
||||
echo "ERROR: Start deliminter not found."
|
||||
sleep 2
|
||||
fi
|
||||
if [[ "$end_found" == "0" ]] ;then
|
||||
echo "ERROR: End deliminter not found."
|
||||
sleep 2
|
||||
fi
|
||||
|
||||
# Replace text between delimiters
|
||||
if [[ ! "$start_found" == "0" ]] && [[ ! "$end_found" == "0" ]] && [ "$start_found" -le "$end_found" ] ;then
|
||||
# Remove the old line
|
||||
((start_found++))
|
||||
|
||||
if [ ! "$start_found" == "$end_found" ] ;then
|
||||
((end_found--))
|
||||
sed -i "$start_found,$end_found d" $file_path
|
||||
fi
|
||||
# Add the new line
|
||||
sed -i "$start_found i $new_string" $file_path
|
||||
else
|
||||
echo "ERROR: Delimiters syntax."
|
||||
sleep 2
|
||||
fi
|
||||
else
|
||||
echo "ERROR: Target file not found."
|
||||
sleep 2
|
||||
fi
|
||||
}
|
||||
|
||||
# replaceLineInFile $findText $customtext $targetFile
|
||||
_replaceLineInFile() {
|
||||
# Set function parameters
|
||||
find_string="$1"
|
||||
new_string="$2"
|
||||
file_path=$3
|
||||
|
||||
# Counters
|
||||
find_line_counter=0
|
||||
line_found=0
|
||||
|
||||
if [ -f $file_path ] ;then
|
||||
|
||||
# Detect Line
|
||||
while read -r line
|
||||
do
|
||||
((find_line_counter++))
|
||||
if [[ $line = *$find_string* ]]; then
|
||||
# echo "Start found in $start_line_counter"
|
||||
line_found=$find_line_counter
|
||||
break
|
||||
fi
|
||||
done < "$file_path"
|
||||
|
||||
if [[ ! "$line_found" == "0" ]] ;then
|
||||
|
||||
#Remove the line
|
||||
sed -i "$line_found d" $file_path
|
||||
|
||||
# Add the new line
|
||||
sed -i "$line_found i $new_string" $file_path
|
||||
|
||||
else
|
||||
echo "ERROR: Target line not found."
|
||||
sleep 2
|
||||
fi
|
||||
|
||||
else
|
||||
echo "ERROR: Target file not found."
|
||||
sleep 2
|
||||
fi
|
||||
}
|
||||
|
||||
# _writeSettings $settingsFile $customtext
|
||||
_writeSettings() {
|
||||
if [ ! -f $1 ] ;then
|
||||
touch $1
|
||||
fi
|
||||
echo "$2" > $1
|
||||
}
|
||||
|
||||
# Return the version of the hyprland-settings script
|
||||
_getVersion() {
|
||||
echo $version
|
||||
}
|
||||
|
||||
# Write the header to a page
|
||||
_getHeader() {
|
||||
figlet -w 100 "$1"
|
||||
if [ ! -z "$2" ]; then
|
||||
echo "by $2"
|
||||
fi
|
||||
echo ""
|
||||
}
|
||||
|
||||
# Update the breadcrumb and opens parent page
|
||||
_goBack() {
|
||||
unset clickArr[-1]
|
||||
unset clickArr[-1]
|
||||
unset clickArr[-1]
|
||||
unset clickArr[-1]
|
||||
_getModules "$back"
|
||||
}
|
||||
|
||||
_reloadModule() {
|
||||
unset clickArr[-1]
|
||||
unset clickArr[-1]
|
||||
_getModules "$current"
|
||||
}
|
||||
|
||||
# Replace the variables in a template and publish to location
|
||||
_replaceByTemplate() {
|
||||
template=$1
|
||||
variables=$2
|
||||
values=$3
|
||||
publishto=$4
|
||||
}
|
||||
|
||||
# Back Button
|
||||
_getBackBtn() {
|
||||
echo ""
|
||||
gum choose "Back"
|
||||
_goBack
|
||||
}
|
||||
|
||||
_getBackRepeatBtn() {
|
||||
echo ""
|
||||
selected=$(gum choose "REPEAT" "BACK")
|
||||
case $selected in
|
||||
BACK)
|
||||
_goBack
|
||||
break;;
|
||||
REPEAT)
|
||||
_getModules "$current"
|
||||
break;;
|
||||
* )
|
||||
|
||||
;;
|
||||
esac
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
version="2.0"
|
||||
@@ -1,3 +0,0 @@
|
||||
name="Animations"
|
||||
order=1
|
||||
author="Stephan Raabe ML4W"
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
sel=""
|
||||
_getConfSelector animation.conf animations
|
||||
_getConfEditor animation.conf $sel animations
|
||||
_reloadModule
|
||||
@@ -1,3 +0,0 @@
|
||||
name="Appearance"
|
||||
order=10
|
||||
author="Stephan Raabe ML4W"
|
||||
@@ -1,3 +0,0 @@
|
||||
name="Decorations"
|
||||
order=1
|
||||
author="Stephan Raabe ML4W"
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
sel=""
|
||||
_getConfSelector decoration.conf decorations
|
||||
_getConfEditor decoration.conf $sel decorations
|
||||
setsid $HOME/dotfiles/waybar/launch.sh 1>/dev/null 2>&1 &
|
||||
_reloadModule
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name"
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
name="Windows"
|
||||
order=1
|
||||
author="Stephan Raabe ML4W"
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
sel=""
|
||||
_getConfSelector window.conf windows
|
||||
_getConfEditor window.conf $sel windows
|
||||
_reloadModule
|
||||
@@ -1,6 +0,0 @@
|
||||
name="Settings"
|
||||
description="The settings script will help you to configure your Hyprland installation."
|
||||
author="Stephan Raabe ML4W"
|
||||
order=1
|
||||
email="mail@ml4w.com"
|
||||
homepage="https://gitlab.com/stephan-raabe/dotfiles"
|
||||
@@ -1,4 +0,0 @@
|
||||
name="Keybindings"
|
||||
order=20
|
||||
author="Stephan Raabe ML4W"
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name"
|
||||
|
||||
sel=""
|
||||
_getConfSelector keybinding.conf keybindings
|
||||
_getConfEditor keybinding.conf $sel keybindings
|
||||
_reloadModule
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
echo "ML4W dotfiles Version" $(cat $HOME/dotfiles/.version/name)
|
||||
echo
|
||||
echo "$homepage ($email)"
|
||||
echo
|
||||
echo $description
|
||||
@@ -1,2 +0,0 @@
|
||||
name="System"
|
||||
order=30
|
||||
@@ -1,3 +0,0 @@
|
||||
name="Custom"
|
||||
order=10
|
||||
author="Stephan Raabe ML4W"
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
vim ~/dotfiles/hypr/conf/custom.conf
|
||||
_goBack
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Browser"
|
||||
order=1
|
||||
@@ -1,28 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Define the start command to start your preferred browser (Default: chromium)."
|
||||
echo
|
||||
echo "Executable (if installed) are:"
|
||||
echo "chromium for Chromium"
|
||||
echo "google-chrome-stable for Google Chrome"
|
||||
echo "brave for Brave"
|
||||
echo "firefox for Firefox"
|
||||
echo
|
||||
|
||||
# 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
|
||||
@@ -1,3 +0,0 @@
|
||||
name="Default Applications"
|
||||
order=1
|
||||
author="Stephan Raabe ML4W"
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Filemanager"
|
||||
order=1
|
||||
@@ -1,23 +0,0 @@
|
||||
#!/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
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name"
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Network"
|
||||
order=1
|
||||
@@ -1,25 +0,0 @@
|
||||
#!/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
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Software"
|
||||
order=1
|
||||
@@ -1,23 +0,0 @@
|
||||
#!/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
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Terminal"
|
||||
order=1
|
||||
@@ -1,23 +0,0 @@
|
||||
#!/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
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
name="Environment"
|
||||
order=05
|
||||
author="Stephan Raabe ML4W"
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
sel=""
|
||||
_getConfSelector environment.conf environments
|
||||
_getConfEditor environment.conf $sel environments
|
||||
_reloadModule
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Keyboard"
|
||||
order=30
|
||||
@@ -1,2 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name"
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Natural Scrolling"
|
||||
order=1
|
||||
@@ -1,31 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Enable/Disable the natural scrolling for touchpads."
|
||||
|
||||
# Define File
|
||||
targetFile="$HOME/dotfiles/hypr/conf/keyboard.conf"
|
||||
settingsFile="$HOME/dotfiles/.settings/keyboard_naturalscroll"
|
||||
|
||||
# Define Markers
|
||||
findMarker="natural_scroll"
|
||||
|
||||
# Select Value
|
||||
customvalue=$(gum choose "Enable" "Disable")
|
||||
|
||||
if [ ! -z $customvalue ]; then
|
||||
if [ "$customvalue" == "Enable" ] ;then
|
||||
customtext=" natural_scroll = true"
|
||||
else
|
||||
customtext=" natural_scroll = false"
|
||||
fi
|
||||
_replaceLineInFile "$findMarker" "$customtext" "$targetFile"
|
||||
_writeSettings "$settingsFile" "$customtext"
|
||||
echo "Keyboard settings changed."
|
||||
sleep 2
|
||||
_goBack
|
||||
else
|
||||
echo "ERROR: Define a value."
|
||||
sleep 2
|
||||
_goBack
|
||||
fi
|
||||
@@ -1,2 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name"
|
||||
@@ -1,3 +0,0 @@
|
||||
name="Monitor"
|
||||
order=01
|
||||
author="Stephan Raabe ML4W"
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
sel=""
|
||||
_getConfSelector monitor.conf monitors
|
||||
_getConfEditor monitor.conf $sel monitors
|
||||
_reloadModule
|
||||
@@ -1,2 +0,0 @@
|
||||
name="nw-applet "
|
||||
order=1
|
||||
@@ -1,35 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Enable or disable the network manager applet (nw-applet) in the Systray."
|
||||
echo "(nw-applet must be installed on your system)"
|
||||
echo "IMPORTANT: Please reboot your system after a change."
|
||||
echo
|
||||
# Define File
|
||||
targetFile1="$HOME/dotfiles/hypr/conf/autostart.conf"
|
||||
settingsFile="$HOME/dotfiles/.settings/waybar_nmapplet"
|
||||
|
||||
# Define Markers
|
||||
startMarker="START NM APPLET"
|
||||
endMarker="END NM APPLET"
|
||||
|
||||
# Select Value
|
||||
customvalue=$(gum choose "Enable" "Disable")
|
||||
|
||||
if [ ! -z $customvalue ]; then
|
||||
if [ "$customvalue" == "Enable" ] ;then
|
||||
customtext="exec-once = nm-applet"
|
||||
else
|
||||
customtext="# exec-once = nm-applet"
|
||||
fi
|
||||
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile1
|
||||
_writeSettings $settingsFile $customtext
|
||||
|
||||
# Reload Waybar
|
||||
_goBack
|
||||
else
|
||||
echo "ERROR: Define a value."
|
||||
sleep 2
|
||||
_goBack
|
||||
fi
|
||||
@@ -1,4 +0,0 @@
|
||||
name="Windowrules"
|
||||
order=09
|
||||
author="Stephan Raabe ML4W"
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
sel=""
|
||||
_getConfSelector windowrule.conf windowrules
|
||||
_getConfEditor windowrule.conf $sel windowrules
|
||||
_reloadModule
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Apps Label"
|
||||
order=1
|
||||
@@ -1,33 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Define the label of the Apps Starter (Default is Apps). "
|
||||
|
||||
# Define File
|
||||
targetFile="$HOME/dotfiles/waybar/modules.json"
|
||||
settingsFile="$HOME/dotfiles/.settings/waybar_appslabel"
|
||||
|
||||
# Define Markers
|
||||
startMarker="START APPS LABEL"
|
||||
endMarker="END APPS LABEL"
|
||||
|
||||
# Define Replacement Template
|
||||
customtemplate="\"format\": \"VALUE\","
|
||||
|
||||
# Select Value
|
||||
customvalue=$(gum input --placeholder="Define the Apps label")
|
||||
|
||||
if [ ! -z $customvalue ]; then
|
||||
# Replace in Template
|
||||
customtext="${customtemplate/VALUE/"$customvalue"}"
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile
|
||||
_writeSettings $settingsFile $customtext
|
||||
|
||||
# Reload Waybar
|
||||
setsid $HOME/dotfiles/waybar/launch.sh 1>/dev/null 2>&1 &
|
||||
_goBack
|
||||
else
|
||||
echo "ERROR: Define a value."
|
||||
sleep 2
|
||||
_goBack
|
||||
fi
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Show/Hide ChatGPT"
|
||||
order=1
|
||||
@@ -1,36 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Hide or show the chatgpt icon in ML4W waybar themes."
|
||||
|
||||
# Define File
|
||||
targetFile="$HOME/dotfiles/waybar/modules.json"
|
||||
settingsFile="$HOME/dotfiles/.settings/waybar_chatgpt"
|
||||
|
||||
# Define Markers
|
||||
startMarker="START CHATGPT TOOGLE"
|
||||
endMarker="END CHATGPT TOOGLE"
|
||||
|
||||
# Select Value
|
||||
customvalue=$(gum choose "SHOW" "HIDE" "DEFAULT")
|
||||
|
||||
if [ ! -z $customvalue ]; then
|
||||
if [ "$customvalue" == "SHOW" ] ;then
|
||||
customtext=" \"custom\/chatgpt\","
|
||||
elif [ "$customvalue" == "DEFAULT" ] ;then
|
||||
customtext=" \"custom\/chatgpt\","
|
||||
else
|
||||
customtext=" \/\/\"custom\/chatgpt\","
|
||||
fi
|
||||
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile
|
||||
_writeSettings $settingsFile $customtext
|
||||
|
||||
# Reload Waybar
|
||||
setsid $HOME/dotfiles/waybar/launch.sh 1>/dev/null 2>&1 &
|
||||
_goBack
|
||||
else
|
||||
echo "ERROR: Define a value."
|
||||
sleep 2
|
||||
_goBack
|
||||
fi
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Waybar"
|
||||
order=50
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Date Format"
|
||||
order=1
|
||||
@@ -1,33 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Define the date format for the clock module. Default: {:%Y-%m-%d}"
|
||||
# Define File
|
||||
targetFile="$HOME/dotfiles/waybar/modules.json"
|
||||
settingsFile="$HOME/dotfiles/.settings/waybar_date"
|
||||
|
||||
# Define Markers
|
||||
startMarker="\/\/ START CLOCK FORMAT"
|
||||
endMarker="\/\/ END CLOCK FORMAT"
|
||||
|
||||
# Define Replacement Template
|
||||
customtemplate="\"format-alt\": \"VALUE\""
|
||||
|
||||
# Select Value
|
||||
customvalue=$(gum input --placeholder="Define the date format")
|
||||
|
||||
if [ ! -z $customvalue ]; then
|
||||
# Replace in Template
|
||||
customtext="${customtemplate/VALUE/"$customvalue"}"
|
||||
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile
|
||||
_writeSettings $settingsFile $customtext
|
||||
|
||||
# Reload Waybar
|
||||
setsid $HOME/dotfiles/waybar/launch.sh 1>/dev/null 2>&1 &
|
||||
_goBack
|
||||
else
|
||||
echo "ERROR: Define a value."
|
||||
sleep 2
|
||||
_goBack
|
||||
fi
|
||||
@@ -1,2 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name"
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Show/Hide Network"
|
||||
order=1
|
||||
@@ -1,42 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Hide or show the network module in ML4W waybar themes."
|
||||
|
||||
# Define File
|
||||
targetFile1="$HOME/dotfiles/waybar/themes/ml4w/config"
|
||||
targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config"
|
||||
targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config"
|
||||
targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config"
|
||||
targetFile5="$HOME/dotfiles/waybar/themes/ml4w-minimal/config"
|
||||
settingsFile="$HOME/dotfiles/.settings/waybar_network"
|
||||
|
||||
# Define Markers
|
||||
startMarker="START NETWORK TOOGLE"
|
||||
endMarker="END NETWORK TOOGLE"
|
||||
|
||||
# Select Value
|
||||
customvalue=$(gum choose "SHOW" "HIDE")
|
||||
|
||||
if [ ! -z $customvalue ]; then
|
||||
if [ "$customvalue" == "SHOW" ] ;then
|
||||
customtext=" \"network\","
|
||||
else
|
||||
customtext=" \/\/\"network\","
|
||||
fi
|
||||
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile1
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile2
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile3
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile4
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile5
|
||||
_writeSettings $settingsFile $customtext
|
||||
|
||||
# Reload Waybar
|
||||
setsid $HOME/dotfiles/waybar/launch.sh 1>/dev/null 2>&1 &
|
||||
_goBack
|
||||
else
|
||||
echo "ERROR: Define a value."
|
||||
sleep 2
|
||||
_goBack
|
||||
fi
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Show/Hide Lock"
|
||||
order=1
|
||||
@@ -1,42 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Hide or show the idle_inhibitor module (lock icon) in ML4W waybar themes."
|
||||
|
||||
# Define File
|
||||
targetFile1="$HOME/dotfiles/waybar/themes/ml4w/config"
|
||||
targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config"
|
||||
targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config"
|
||||
targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config"
|
||||
targetFile5="$HOME/dotfiles/waybar/themes/ml4w-minimal/config"
|
||||
settingsFile="$HOME/dotfiles/.settings/waybar_swaylock"
|
||||
|
||||
# Define Markers
|
||||
startMarker="START IDLE TOOGLE"
|
||||
endMarker="END IDLE TOOGLE"
|
||||
|
||||
# Select Value
|
||||
customvalue=$(gum choose "SHOW" "HIDE")
|
||||
|
||||
if [ ! -z $customvalue ]; then
|
||||
if [ "$customvalue" == "SHOW" ] ;then
|
||||
customtext=" \"idle_inhibitor\","
|
||||
else
|
||||
customtext=" \/\/\"idle_inhibitor\","
|
||||
fi
|
||||
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile1
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile2
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile3
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile4
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile5
|
||||
_writeSettings $settingsFile $customtext
|
||||
|
||||
# Reload Waybar
|
||||
setsid $HOME/dotfiles/waybar/launch.sh 1>/dev/null 2>&1 &
|
||||
_goBack
|
||||
else
|
||||
echo "ERROR: Define a value."
|
||||
sleep 2
|
||||
_goBack
|
||||
fi
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Show/Hide Systray"
|
||||
order=1
|
||||
@@ -1,42 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Hide or show the systray in ML4W waybar themes."
|
||||
|
||||
# Define File
|
||||
targetFile1="$HOME/dotfiles/waybar/themes/ml4w/config"
|
||||
targetFile2="$HOME/dotfiles/waybar/themes/ml4w-blur/config"
|
||||
targetFile3="$HOME/dotfiles/waybar/themes/ml4w-blur-bottom/config"
|
||||
targetFile4="$HOME/dotfiles/waybar/themes/ml4w-bottom/config"
|
||||
targetFile5="$HOME/dotfiles/waybar/themes/ml4w-minimal/config"
|
||||
settingsFile="$HOME/dotfiles/.settings/waybar_systray"
|
||||
|
||||
# Define Markers
|
||||
startMarker="START TRAY TOOGLE"
|
||||
endMarker="END TRAY TOOGLE"
|
||||
|
||||
# Select Value
|
||||
customvalue=$(gum choose "SHOW" "HIDE")
|
||||
|
||||
if [ ! -z $customvalue ]; then
|
||||
if [ "$customvalue" == "SHOW" ] ;then
|
||||
customtext=" \"tray\","
|
||||
else
|
||||
customtext=" \/\/\"tray\","
|
||||
fi
|
||||
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile1
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile2
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile3
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile4
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile5
|
||||
_writeSettings $settingsFile $customtext
|
||||
|
||||
# Reload Waybar
|
||||
setsid $HOME/dotfiles/waybar/launch.sh 1>/dev/null 2>&1 &
|
||||
_goBack
|
||||
else
|
||||
echo "ERROR: Define a value."
|
||||
sleep 2
|
||||
_goBack
|
||||
fi
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Themes"
|
||||
order=1
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
setsid $HOME/dotfiles/waybar/themeswitcher.sh 1>/dev/null 2>&1 &
|
||||
_goBack
|
||||
@@ -1,2 +0,0 @@
|
||||
name="Workspaces"
|
||||
order=1
|
||||
@@ -1,31 +0,0 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
# Define File
|
||||
targetFile="$HOME/dotfiles/waybar/modules.json"
|
||||
settingsFile="$HOME/dotfiles/.settings/waybar_workspaces"
|
||||
|
||||
# Define Markers
|
||||
startMarker="START WORKSPACE"
|
||||
endMarker="END WORKSPACES"
|
||||
|
||||
# Define Replacement Template
|
||||
customtemplate="\"*\": VALUE"
|
||||
|
||||
# Select Value
|
||||
customvalue=$(gum choose 5 6 7 8 9 10)
|
||||
if [ ! -z $customvalue ] ;then
|
||||
|
||||
# Replace in Template
|
||||
customtext="${customtemplate/VALUE/"$customvalue"}"
|
||||
|
||||
_replaceInFile $startMarker $endMarker $customtext $targetFile
|
||||
_writeSettings $settingsFile $customtext
|
||||
|
||||
# Reload Waybar
|
||||
setsid $HOME/dotfiles/waybar/launch.sh 1>/dev/null 2>&1 &
|
||||
_goBack
|
||||
|
||||
else
|
||||
_goBack
|
||||
fi
|
||||
@@ -1,27 +0,0 @@
|
||||
#!/bin/bash
|
||||
# ____ _ _ _
|
||||
# / ___| ___| |_| |_(_)_ __ __ _ ___
|
||||
# \___ \ / _ \ __| __| | '_ \ / _` / __|
|
||||
# ___) | __/ |_| |_| | | | | (_| \__ \
|
||||
# |____/ \___|\__|\__|_|_| |_|\__, |___/
|
||||
# |___/
|
||||
# The Hyprland Settings Script
|
||||
# by Stephan Raabe (2023)
|
||||
# -----------------------------------------------------
|
||||
|
||||
clear
|
||||
installFolder=$(dirname "$(pwd)")
|
||||
|
||||
# Source files
|
||||
source .library/version.sh
|
||||
source .library/library.sh
|
||||
|
||||
# Define global variables
|
||||
modules_path="modules"
|
||||
current=""
|
||||
back=""
|
||||
clickArr=""
|
||||
confDir="conf"
|
||||
|
||||
# Start Application
|
||||
_getModules $(pwd)/$modules_path
|
||||
@@ -1,3 +1,2 @@
|
||||
#!/bin/bash
|
||||
cd ~/dotfiles/hypr/settings
|
||||
exec ./settings.sh
|
||||
$HOME/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage
|
||||
Reference in New Issue
Block a user