mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Fixes workspace switch script
This commit is contained in:
parent
a86e15d277
commit
f288702f26
|
@ -224,8 +224,6 @@
|
||||||
|
|
||||||
if [[ $workspace -eq $passivews ]] && [[ $activemonitor != "$passivemonitor" ]]; then
|
if [[ $workspace -eq $passivews ]] && [[ $activemonitor != "$passivemonitor" ]]; then
|
||||||
hyprctl dispatch swapactiveworkspaces "$activemonitor" "$passivemonitor" &&
|
hyprctl dispatch swapactiveworkspaces "$activemonitor" "$passivemonitor" &&
|
||||||
hyprctl reload &&
|
|
||||||
hyprctl dispatch focusmonitor "$activemonitor"
|
|
||||||
echo $activemonitor $passivemonitor
|
echo $activemonitor $passivemonitor
|
||||||
else
|
else
|
||||||
hyprctl dispatch moveworkspacetomonitor "$workspace $activemonitor" && hyprctl dispatch workspace "$workspace"
|
hyprctl dispatch moveworkspacetomonitor "$workspace $activemonitor" && hyprctl dispatch workspace "$workspace"
|
||||||
|
|
Loading…
Reference in a new issue