Compare commits
4 Commits
fd812e6948
...
6e1f1c78b0
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e1f1c78b0 | |||
| 93c617b222 | |||
| 527af671e6 | |||
| 7f5ddc21fb |
@@ -0,0 +1,59 @@
|
|||||||
|
from libqtile.lazy import lazy
|
||||||
|
from libqtile.config import EzKey as Key
|
||||||
|
|
||||||
|
from config import apps, modifier_keys
|
||||||
|
|
||||||
|
keys = [
|
||||||
|
# Focus manipulation
|
||||||
|
Key(
|
||||||
|
"M-h",
|
||||||
|
lazy.layout.left(),
|
||||||
|
desc="Move focus to the left",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"M-l",
|
||||||
|
lazy.layout.right(),
|
||||||
|
desc="Move focus to the right",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"M-j",
|
||||||
|
lazy.layout.down(),
|
||||||
|
desc="Move focus to the down",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"M-k",
|
||||||
|
lazy.layout.up(),
|
||||||
|
desc="Move focus to the up",
|
||||||
|
),
|
||||||
|
# Window manipulation
|
||||||
|
Key(
|
||||||
|
"M-S-h",
|
||||||
|
lazy.layout.swap_left(),
|
||||||
|
desc="Move window to the left",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"M-S-l",
|
||||||
|
lazy.layout.swap_right(),
|
||||||
|
desc="Move window to the right",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"M-S-j",
|
||||||
|
lazy.layout.shuffle_down(),
|
||||||
|
desc="Move window down",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"M-S-k",
|
||||||
|
lazy.layout.shuffle_up(),
|
||||||
|
desc="Move window up",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"M-S-i",
|
||||||
|
lazy.layout.shrink(),
|
||||||
|
desc="Increase window size",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
"M-S-m",
|
||||||
|
lazy.layout.grow(),
|
||||||
|
desc="Decrease window size",
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
from libqtile import widget
|
||||||
|
|||||||
Reference in New Issue
Block a user