Updates
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# -----------------------------------------------------
|
||||
# Animations
|
||||
# name "Moving"
|
||||
# -----------------------------------------------------
|
||||
animations {
|
||||
enabled = true
|
||||
bezier = overshot, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = smoothOut, 0.5, 0, 0.99, 0.99
|
||||
bezier = smoothIn, 0.5, -0.5, 0.68, 1.5
|
||||
animation = windows, 1, 5, overshot, slide
|
||||
animation = windowsOut, 1, 3, smoothOut
|
||||
animation = windowsIn, 1, 3, smoothOut
|
||||
animation = windowsMove, 1, 4, smoothIn, slide
|
||||
animation = border, 1, 5, default
|
||||
animation = fade, 1, 5, smoothIn
|
||||
animation = fadeDim, 1, 5, smoothIn
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
@@ -1,3 +1,7 @@
|
||||
# -----------------------------------------------------
|
||||
# Animations
|
||||
# name "Fast"
|
||||
# -----------------------------------------------------
|
||||
animations {
|
||||
enabled = true
|
||||
bezier = linear, 0, 0, 1, 1
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
# -----------------------------------------------------
|
||||
# ML4W configurations
|
||||
# -----------------------------------------------------
|
||||
|
||||
windowrulev2 = float,class:(ml4w-about)
|
||||
windowrulev2 = size 60% 60%,class:(ml4w-about)
|
||||
windowrulev2 = center,class:(ml4w-about)
|
||||
|
||||
windowrulev2 = float,class:(dotfiles-floating)
|
||||
windowrulev2 = size 60% 60%,class:(dotfiles-floating)
|
||||
windowrulev2 = center,class:(dotfiles-floating)
|
||||
Executable
+51
@@ -0,0 +1,51 @@
|
||||
#!/bin/bash
|
||||
clear
|
||||
cat <<"EOF"
|
||||
____ _
|
||||
| _ \ ___ ___| |_ ___ _ __ ___
|
||||
| |_) / _ \/ __| __/ _ \| '__/ _ \
|
||||
| _ < __/\__ \ || (_) | | | __/
|
||||
|_| \_\___||___/\__\___/|_| \___|
|
||||
|
||||
__ __ _ _ _
|
||||
\ \ / /_ _ _ __(_) __ _| |_(_) ___ _ __ ___
|
||||
\ \ / / _` | '__| |/ _` | __| |/ _ \| '_ \/ __|
|
||||
\ V / (_| | | | | (_| | |_| | (_) | | | \__ \
|
||||
\_/ \__,_|_| |_|\__,_|\__|_|\___/|_| |_|___/
|
||||
|
||||
|
||||
EOF
|
||||
echo "You can restore to the default Hyprland Variations."
|
||||
echo "PLEASE NOTE: You can reactivate to a customized variation or selection in the settings script."
|
||||
echo "Your customized variation will not be overwritten or deleted."
|
||||
|
||||
if gum confirm "Do you want to restore all variations to the default values?" ;then
|
||||
echo
|
||||
|
||||
echo "source = ~/dotfiles/hypr/conf/keybindings/default.conf" > ~/dotfiles/hypr/conf/keybinding.conf
|
||||
echo "Hyprland keybinding.conf restored!"
|
||||
|
||||
echo "source = ~/dotfiles/hypr/conf/environments/default.conf" > ~/dotfiles/hypr/conf/environment.conf
|
||||
echo "Hyprland environment.conf restored!"
|
||||
|
||||
echo "source = ~/dotfiles/hypr/conf/windowrules/default.conf" > ~/dotfiles/hypr/conf/windowrule.conf
|
||||
echo "Hyprland windowrule.conf restored!"
|
||||
|
||||
echo "source = ~/dotfiles/hypr/conf/animations/default.conf" > ~/dotfiles/hypr/conf/animation.conf
|
||||
echo "Hyprland animation.conf restored!"
|
||||
|
||||
echo "source = ~/dotfiles/hypr/conf/decorations/default.conf" > ~/dotfiles/hypr/conf/decoration.conf
|
||||
echo "Hyprland decoration.conf restored!"
|
||||
|
||||
echo "source = ~/dotfiles/hypr/conf/windows/default.conf" > ~/dotfiles/hypr/conf/window.conf
|
||||
echo "Hyprland window.conf restored!"
|
||||
|
||||
echo "source = ~/dotfiles/hypr/conf/monitors/default.conf" > ~/dotfiles/hypr/conf/monitor.conf
|
||||
echo "Hyprland monitor.conf restored!"
|
||||
|
||||
echo
|
||||
echo ":: Restore done!"
|
||||
else
|
||||
echo ":: Restore canceled!"
|
||||
exit
|
||||
fi
|
||||
@@ -9,6 +9,3 @@ windowrule = float,^(pavucontrol)$
|
||||
windowrule = float,^(blueman-manager)$
|
||||
windowrule = float,^(nm-connection-editor)$
|
||||
|
||||
windowrulev2 = float,class:(dotfiles-floating)
|
||||
windowrulev2 = size 60% 60%,class:(dotfiles-floating)
|
||||
windowrulev2 = center,class:(dotfiles-floating)
|
||||
|
||||
+7
-2
@@ -48,11 +48,16 @@ source = ~/dotfiles/hypr/conf/windowrule.conf
|
||||
source = ~/dotfiles/hypr/conf/animation.conf
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Animation
|
||||
# Custom
|
||||
# -----------------------------------------------------
|
||||
source = ~/dotfiles/hypr/conf/custom.conf
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Custom
|
||||
# -----------------------------------------------------
|
||||
source = ~/dotfiles/hypr/conf/ml4w.conf
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Environment for xdg-desktop-portal-hyprland
|
||||
# -----------------------------------------------------
|
||||
# exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
if [ -f ~/.hyprland.sh ]; then
|
||||
sleep 1
|
||||
~/.hyprland.sh
|
||||
fi
|
||||
@@ -9,6 +9,9 @@
|
||||
# by Stephan Raabe (2023)
|
||||
# -----------------------------------------------------
|
||||
|
||||
# START SWAYIDLE
|
||||
# exit
|
||||
# END SWAYIDLE
|
||||
source ~/dotfiles/.settings/swayidle.sh
|
||||
if [ -f "/usr/bin/swayidle" ]; then
|
||||
echo "swayidle is installed."
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
cd ~/hyprland-settings
|
||||
./settings.sh dotfiles
|
||||
@@ -95,7 +95,7 @@ _getModules() {
|
||||
nameList+=("BACK")
|
||||
fi
|
||||
echo ""
|
||||
selected=$(gum choose ${nameList[@]})
|
||||
selected=$(gum choose --height 12 ${nameList[@]})
|
||||
case $selected in
|
||||
BACK)
|
||||
_goBack
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
name="Enable/Disable Swaylock"
|
||||
order=1
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Enable/Disable the start of Swaylock. Restart of Hyprland is required after a change."
|
||||
|
||||
# Define File
|
||||
targetFile="$HOME/dotfiles/hypr/scripts/lockscreentime.sh"
|
||||
settingsFile="$HOME/dotfiles/.settings/hypr_lockscreen"
|
||||
|
||||
# Define Markers
|
||||
startMarker="START SWAYIDLE"
|
||||
endMarker="END SWAYIDLE"
|
||||
|
||||
# Select Value
|
||||
customvalue=$(gum choose "ENABLE" "DISABLE")
|
||||
|
||||
if [ ! -z $customvalue ]; then
|
||||
if [ "$customvalue" == "ENABLE" ] ;then
|
||||
customtext="# exit"
|
||||
else
|
||||
customtext="exit"
|
||||
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,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Define the label of the Apps Starter"
|
||||
echo "Define the label of the Apps Starter (Default is Apps). "
|
||||
|
||||
# Define File
|
||||
targetFile="$HOME/dotfiles/waybar/modules.json"
|
||||
|
||||
@@ -15,11 +15,13 @@ startMarker="START BT TOOGLE"
|
||||
endMarker="END BT TOOGLE"
|
||||
|
||||
# Select Value
|
||||
customvalue=$(gum choose "SHOW" "HIDE")
|
||||
customvalue=$(gum choose "SHOW" "HIDE" "DEFAULT")
|
||||
|
||||
if [ ! -z $customvalue ]; then
|
||||
if [ "$customvalue" == "SHOW" ] ;then
|
||||
customtext=" \"bluetooth\","
|
||||
elif [ "$customvalue" == "DEFAULT" ] ;then
|
||||
customtext=" \"bluetooth\","
|
||||
else
|
||||
customtext=" \/\/\"bluetooth\","
|
||||
fi
|
||||
|
||||
@@ -12,11 +12,13 @@ startMarker="START CHATGPT TOOGLE"
|
||||
endMarker="END CHATGPT TOOGLE"
|
||||
|
||||
# Select Value
|
||||
customvalue=$(gum choose "SHOW" "HIDE")
|
||||
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
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Define the start command to start the browser."
|
||||
echo "Define the start command to start the browser (Default: chromium)."
|
||||
|
||||
# Define File
|
||||
targetFile="$HOME/dotfiles/.settings/browser.sh"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Define the start command to start the filemanager."
|
||||
echo "Define the start command to start the filemanager (Default: thunar)."
|
||||
|
||||
# Define File
|
||||
targetFile="$HOME/dotfiles/.settings/filemanager.sh"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
_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
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Define the start command to start the software manager."
|
||||
echo "Define the start command to start the software manager (Default: alacritty -e pacseek)."
|
||||
|
||||
# Define File
|
||||
targetFile="$HOME/dotfiles/.settings/software.sh"
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
name="Show/Hide Swaylock"
|
||||
order=1
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
#!/bin/bash
|
||||
_getHeader "$name" "$author"
|
||||
|
||||
echo "Hide or show the swaylock (idle_inhibitor) 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"
|
||||
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
|
||||
_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
|
||||
Reference in New Issue
Block a user