shell/tiling: Add option to toggle orientation
This commit is contained in:
parent
01b34aadd2
commit
0c47631d9b
5 changed files with 25 additions and 5 deletions
|
|
@ -16,6 +16,16 @@ pub enum Orientation {
|
|||
Vertical,
|
||||
}
|
||||
|
||||
impl std::ops::Not for Orientation {
|
||||
type Output = Self;
|
||||
fn not(self) -> Self::Output {
|
||||
match self {
|
||||
Orientation::Horizontal => Orientation::Vertical,
|
||||
Orientation::Vertical => Orientation::Horizontal,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
lazy_static::lazy_static! {
|
||||
static ref EXCEPTIONS_APPID: RegexSet = RegexSet::new(&[
|
||||
r"Authy Desktop",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue