Sticky the pop-up terminal while present
This commit is contained in:
parent
57fc3be9e1
commit
e6986d01ad
|
@ -72,8 +72,10 @@ if (!defined($term_id)) {
|
|||
print "Term not on current workspace, bringing it\n";
|
||||
`swaymsg "[con_id=$term_id]" move workspace $workspace`;
|
||||
`swaymsg "[con_id=$term_id]" focus`;
|
||||
`swaymsg "[con_id=$term_id]" sticky enable`;
|
||||
# Otherwise hide it from whereever it is
|
||||
} else {
|
||||
print "Term is on current workspace or lost, moving to $hidden\n";
|
||||
`swaymsg "[con_id=$term_id]" sticky disable`;
|
||||
`swaymsg "[con_id=$term_id]" move workspace $hidden`;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue