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
|
||||
|
||||
if "$profile_found"; then
|
||||
disable_disconnected_monitors
|
||||
else
|
||||
if ! "$profile_found"; then
|
||||
echo "No profile found"
|
||||
return 1
|
||||
fi
|
||||
|
||||
disable_disconnected_monitors
|
||||
move_nonexistent_i3_workspaces "$primary_monitor" 10
|
||||
i3-msg restart >/dev/null
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue