Skip to content

Commit bdda82d

Browse files
dwm fix
1 parent d94420e commit bdda82d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/tabs/applications-setup/dwmtitus-setup.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ setupPicomDependencies() {
7272
}
7373

7474
makeDWM() {
75+
[ ! -d "$HOME/.local/share" ] && mkdir -p "$HOME/.local/share/"
7576
if [ ! -d "$HOME/.local/share/dwm-titus" ]; then
7677
printf "%b\n" "${YELLOW}DWM-Titus not found, cloning repository...${RC}"
7778
cd "$HOME/.local/share/" && git clone https://github.com/ChrisTitusTech/dwm-titus.git # CD to Home directory to install dwm-titus This path can be changed (e.g. to linux-toolbox directory)
@@ -120,7 +121,7 @@ install_nerd_font() {
120121

121122
picom_animations() {
122123
# clone the repo into .local/share & use the -p flag to avoid overwriting that dir
123-
mkdir -p "$HOME/.local/share/"
124+
[ ! -d "$HOME/.local/share" ] && mkdir -p "$HOME/.local/share/"
124125
if [ ! -d "$HOME/.local/share/ftlabs-picom" ]; then
125126
if ! git clone https://github.com/FT-Labs/picom.git "$HOME/.local/share/ftlabs-picom"; then
126127
printf "%b\n" "${RED}Failed to clone the repository${RC}"

0 commit comments

Comments
 (0)