💥 fix(update-repo): create base directories instead of creating directories from file names
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
###############
|
||||||
|
## AUTOSTART ##
|
||||||
|
###############
|
||||||
|
# Wiki: https://wiki.hyprland.org/Configuring/Keywords/#executing
|
||||||
|
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
##############
|
||||||
|
## BINDINGS ##
|
||||||
|
##############
|
||||||
|
# Wiki: https://wiki.hyprland.org/Configuring/Binds
|
||||||
|
|
||||||
|
|
||||||
|
# Uncomment if you want to press SUPER to launch application search
|
||||||
|
# bind = $mainMod, $mainMod_L, exec, astal toggle apps-window
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
################
|
||||||
|
## DECORATION ##
|
||||||
|
################
|
||||||
|
# Wiki: https://wiki.hyprland.org/Configuring/Variables
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
#################
|
||||||
|
## ENVIRONMENT ##
|
||||||
|
#################
|
||||||
|
# Wiki: https://wiki.hyprland.org/Configuring/Keywords/#setting-the-environment
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
########################
|
||||||
|
## USER CONFIGURATION ##
|
||||||
|
########################
|
||||||
|
|
||||||
|
# This sources all user configuration files
|
||||||
|
|
||||||
|
source = ./monitors.conf
|
||||||
|
source = ./environment.conf
|
||||||
|
source = ./input.conf
|
||||||
|
source = ./bindings.conf
|
||||||
|
source = ./layout.conf
|
||||||
|
source = ./decorations.conf
|
||||||
|
source = ./autostart.conf
|
||||||
|
source = ./rules.conf
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
###########
|
||||||
|
## INPUT ##
|
||||||
|
###########
|
||||||
|
|
||||||
|
# Wiki: https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs
|
||||||
|
|
||||||
|
|
||||||
|
##############
|
||||||
|
## GESTURES ##
|
||||||
|
##############
|
||||||
|
|
||||||
|
# Wiki: https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||||
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
############
|
||||||
|
## LAYOUT ##
|
||||||
|
############
|
||||||
|
# Wiki: https://wiki.hyprland.org/Configuring/Dwindle-Layout/#config
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
##############
|
||||||
|
## MONITORS ##
|
||||||
|
##############
|
||||||
|
|
||||||
|
# Wiki: https://wiki.hyprland.org/Configuring/Monitors
|
||||||
|
|
||||||
|
|
||||||
|
# Monitor
|
||||||
|
# arg0 -> monitor name(you can get monitor names with `hyprctl monitors`);
|
||||||
|
# arg1 -> resolution@hertz;
|
||||||
|
# arg2 -> positioning from the top-left corner;
|
||||||
|
# arg3 -> scaling;
|
||||||
|
# arg4 -> variable refresh rate(optional);
|
||||||
|
# - arg40 -> 1: vrr, 0: no vrr.
|
||||||
|
|
||||||
|
# Example configuration:
|
||||||
|
# monitor = HDMI-A-1, 1920x1080@60, 0x0, 1, vrr, 0
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
############################
|
||||||
|
## WINDOW & LAYER RULES ##
|
||||||
|
############################
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Window-Rules for
|
||||||
|
# more information on how to do this
|
||||||
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
# User configuration
|
||||||
|
# Add your settings for kitty here
|
||||||
+2
-1
@@ -19,10 +19,11 @@ Clean_local() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Update_local() {
|
Update_local() {
|
||||||
|
mkdir -p $outdir
|
||||||
for dir in ${config_dirs[@]}; do
|
for dir in ${config_dirs[@]}; do
|
||||||
if [[ -d "$XDG_CONFIG_HOME/$dir" ]] || [[ -f "$XDG_CONFIG_HOME/$dir" ]]; then
|
if [[ -d "$XDG_CONFIG_HOME/$dir" ]] || [[ -f "$XDG_CONFIG_HOME/$dir" ]]; then
|
||||||
Send_log "Copying ${dir^}"
|
Send_log "Copying ${dir^}"
|
||||||
mkdir -p $outdir/$dir
|
mkdir -p `dirname "$outdir/$dir"`
|
||||||
cp -r $XDG_CONFIG_HOME/$dir $outdir/$dir
|
cp -r $XDG_CONFIG_HOME/$dir $outdir/$dir
|
||||||
else
|
else
|
||||||
Send_log "warn" "Looks like the ${dir^} dir is in fault! Skipping..."
|
Send_log "warn" "Looks like the ${dir^} dir is in fault! Skipping..."
|
||||||
|
|||||||
Reference in New Issue
Block a user