mirror of https://gitlab.com/dabruh/dotfiles.git
Fix unnecessary if statement logic
This commit is contained in:
parent
da28a0e96e
commit
1888ec9c96
|
@ -351,13 +351,12 @@ main() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if "$profile_found"; then
|
if ! "$profile_found"; then
|
||||||
disable_disconnected_monitors
|
|
||||||
else
|
|
||||||
echo "No profile found"
|
echo "No profile found"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
disable_disconnected_monitors
|
||||||
move_nonexistent_i3_workspaces "$primary_monitor" 10
|
move_nonexistent_i3_workspaces "$primary_monitor" 10
|
||||||
i3-msg restart >/dev/null
|
i3-msg restart >/dev/null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue