chore: new folder structure for hyprland config

This commit is contained in:
hesam-init 2024-03-31 23:45:56 +03:30
parent fa42dc6a8f
commit 24cebca9da
45 changed files with 19 additions and 112 deletions

View file

@ -1 +0,0 @@
source = ~/.config/hypr/conf/animations/animations-river.conf

View file

@ -1 +0,0 @@
source = ~/.config/hypr/conf/decorations/default.conf

View file

@ -1 +0,0 @@
source = ~/.config/hypr/conf/environments/default.conf

View file

@ -1 +0,0 @@
source = ~/.config/hypr/conf/monitors/default.conf

View file

@ -1,51 +0,0 @@
#!/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 = ~/.config/hypr/conf/keybindings/default.conf" >~/.config/hypr/conf/keybinding.conf
echo "Hyprland keybinding.conf restored!"
echo "source = ~/.config/hypr/conf/environments/default.conf" >~/.config/hypr/conf/environment.conf
echo "Hyprland environment.conf restored!"
echo "source = ~/.config/hypr/conf/windowrules/default.conf" >~/.config/hypr/conf/windowrule.conf
echo "Hyprland windowrule.conf restored!"
echo "source = ~/.config/hypr/conf/animations/default.conf" >~/.config/hypr/conf/animation.conf
echo "Hyprland animation.conf restored!"
echo "source = ~/.config/hypr/conf/decorations/default.conf" >~/.config/hypr/conf/decoration.conf
echo "Hyprland decoration.conf restored!"
echo "source = ~/.config/hypr/conf/windows/default.conf" >~/.config/hypr/conf/window.conf
echo "Hyprland window.conf restored!"
echo "source = ~/.config/hypr/conf/monitors/default.conf" >~/.config/hypr/conf/monitor.conf
echo "Hyprland monitor.conf restored!"
echo
echo ":: Restore done!"
else
echo ":: Restore canceled!"
exit
fi

View file

@ -1,2 +0,0 @@
source = ~/.config/hypr/conf/rules/windows.conf
source = ~/.config/hypr/conf/rules/workspaces.conf

View file

@ -1,18 +0,0 @@
# -----------------------------------------------------
# General window layout and colors
# name: "Default"
# -----------------------------------------------------
general {
max_fps = 75
gaps_in = 4
gaps_out = 6
border_size = 1
col.active_border = rgba(0DB7D4FF)
col.inactive_border = rgba(31313699)
no_focus_fallback = true
layout = dwindle
allow_tearing = false
}

View file

@ -1,13 +0,0 @@
# -----------------------------------------------------
# General window layout and colors
# name: "No Border More Gaps"
# -----------------------------------------------------
general {
gaps_in = 20
gaps_out = 40
border_size = 0
col.active_border = $color11
col.inactive_border = rgba(ffffffff)
layout = dwindle
}

View file

@ -1,13 +0,0 @@
# -----------------------------------------------------
# General window layout and colors
# name: "No Border"
# -----------------------------------------------------
general {
gaps_in = 10
gaps_out = 14
border_size = 0
col.active_border = $color11
col.inactive_border = rgba(ffffffff)
layout = dwindle
}

View file

@ -0,0 +1 @@
source = ~/.config/hypr/configs/animation/variants/default.conf

View file

@ -3,9 +3,12 @@
# name "Default" # name "Default"
# ----------------------------------------------------- # -----------------------------------------------------
animations { animations {
enabled = true enabled = true
bezier = myBezier, 0.05, 0.9, 0.1, 1.05 bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80% animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default animation = border, 1, 10, default

View file

@ -0,0 +1 @@
source = ~/.config/hypr/configs/decoration/variants/rounding-all-blur.conf

View file

@ -0,0 +1 @@
source = ~/.config/hypr/configs/monitor/variants/default.conf

View file

@ -0,0 +1,2 @@
source = ~/.config/hypr/configs/rules/windows.conf
source = ~/.config/hypr/configs/rules/workspaces.conf

View file

@ -13,7 +13,7 @@ general {
no_focus_fallback = false no_focus_fallback = false
layout = dwindle layout = dwindle
# allow_tearing = true allow_tearing = false
} }
misc { misc {

View file

@ -43,29 +43,29 @@ $rofi_wallpaper = $SCRIPT_PATH/rofi-launch.sh w
# ----------------------------------------------------- # -----------------------------------------------------
# Autostart # Autostart
# ----------------------------------------------------- # -----------------------------------------------------
source = ~/.config/hypr/conf/autostart.conf source = ~/.config/hypr/configs/autostart.conf
# ----------------------------------------------------- # -----------------------------------------------------
# Monitor # Monitor
# ----------------------------------------------------- # -----------------------------------------------------
source = ~/.config/hypr/conf/monitor.conf source = ~/.config/hypr/configs/monitor/export.conf
# ----------------------------------------------------- # -----------------------------------------------------
# Animation # Animation
# ----------------------------------------------------- # -----------------------------------------------------
source = ~/.config/hypr/conf/animation.conf source = ~/.config/hypr/configs/animation/export.conf
# ----------------------------------------------------- # -----------------------------------------------------
# Input devices # Input devices
# ----------------------------------------------------- # -----------------------------------------------------
source = ~/.config/hypr/conf/input.conf source = ~/.config/hypr/configs/input.conf
# ----------------------------------------------------- # -----------------------------------------------------
# Load configuration files # Load configuration files
# ----------------------------------------------------- # -----------------------------------------------------
source = ~/.config/hypr/conf/settings.conf source = ~/.config/hypr/configs/settings.conf
source = ~/.config/hypr/conf/devices.conf source = ~/.config/hypr/configs/devices.conf
source = ~/.config/hypr/conf/decoration.conf source = ~/.config/hypr/configs/decoration/export.conf
source = ~/.config/hypr/conf/layout.conf source = ~/.config/hypr/configs/layout.conf
source = ~/.config/hypr/conf/keybinds.conf source = ~/.config/hypr/configs/keybinds.conf
source = ~/.config/hypr/conf/rules.conf source = ~/.config/hypr/configs/rules.conf