1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
qtile-config/modules/groups.py

16 lines
544 B
Python
Raw Normal View History

2020-02-11 17:49:21 +01:00
from libqtile.config import Group
from libqtile.config import Key
from libqtile.lazy import lazy
from modules import mod
from modules.keys import keys
groups = []
for i in [["F1", "\N{globe with meridians}"], ["F2", "\N{incoming envelope}"], ["F3", "\N{briefcase}"], ["F4", "\N{floppy disk}"], ["F5", "\N{bookmark tabs}"], ["F6", "\N{video game}"]]:
groups.append(Group(i[1]))
keys.extend([
Key([mod], i[0], lazy.group[i[1]].toscreen()),
Key([mod, "shift"], i[0], lazy.window.togroup(i[1], switch_group=True))
])