diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-03-12 11:35:14 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-12 11:35:14 +0900 |
| commit | 0d1da92d1bddf8abd8fdef96175f45cb98a86374 (patch) | |
| tree | 9ccd92772840c5f9b14070d38150da3b26e0ef9d /copy.sh | |
| parent | 28f083e19ed12a5cd7b49b8fac88af7a9fa93a61 (diff) | |
| parent | f3f55304bd8e7949915cd8a1d8000509bbeea186 (diff) | |
Merge branch 'main' into development
Diffstat (limited to 'copy.sh')
| -rwxr-xr-x | copy.sh | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -115,6 +115,13 @@ if hostnamectl | grep -q 'Operating System: NixOS'; then sed -i '/^exec-once = \$scriptsDir\/Polkit\.sh$/ s/^#*/#/' config/hypr/UserConfigs/Startup_Apps.conf fi +# to check if Debian or Ubuntu or based distros +if grep -iq '^\(ID_LIKE\|ID\)=.*\(debian\|ubuntu\)' /etc/os-release >/dev/null 2>&1; then + echo "${INFO} Debian/Ubuntu based distro. Disabling pyprland since it does not work properly" 2>&1 | tee -a "$LOG" || true + # disabling pyprland as causing issues + sed -i '/^\s*exec-once = pypr &\s*/ s/^/#/' config/hypr/UserConfigs/Startup_Apps.conf +fi + # activating hyprcursor on env by checking if the directory ~/.icons/Bibata-Modern-Ice/hyprcursors exists if [ -d "$HOME/.icons/Bibata-Modern-Ice/hyprcursors" ]; then HYPRCURSOR_ENV_FILE="config/hypr/UserConfigs/ENVariables.conf" @@ -677,7 +684,7 @@ if [ -d "$BACKUP_HYPR_PATH" ]; then done # Restore files automatically - FILE_B=("monitors.conf" "workspaces.conf") + FILE_B=("monitors.conf" "workspaces.conf" "pyprland.toml") for FILE_RESTORE in "${FILE_B[@]}"; do BACKUP_FILE="$BACKUP_HYPR_PATH/$FILE_RESTORE" |
