Update config due to changes in API
This commit is contained in:
parent
8dbb40a23e
commit
666520447a
2 changed files with 5 additions and 2 deletions
|
@ -21,12 +21,15 @@ import os
|
|||
import re
|
||||
import subprocess
|
||||
from libqtile.config import KeyChord, Key, Screen, Group, Drag, Click
|
||||
from libqtile.command import lazy
|
||||
from libqtile.lazy import lazy
|
||||
from libqtile import layout, bar, widget, hook
|
||||
from libqtile.lazy import lazy
|
||||
from typing import List # noqa: F401
|
||||
#+END_SRC
|
||||
|
||||
#+RESULTS:
|
||||
: None
|
||||
|
||||
** Variables
|
||||
Variables in a Programming language can contain a string or a number. While configuring a Window Manager, this is useful, if you want to repeat the same string a lot of times.
|
||||
If, for example, I used my terminal a lot of times in the config and I were to change my default terminal, I would have to replace every occurence of the Terminal name in the config. In this case, where I only have to change that string once, that is when defining the string.
|
||||
|
|
|
@ -6,7 +6,7 @@ import os
|
|||
import re
|
||||
import subprocess
|
||||
from libqtile.config import KeyChord, Key, Screen, Group, Drag, Click
|
||||
from libqtile.command import lazy
|
||||
from libqtile.lazy import lazy
|
||||
from libqtile import layout, bar, widget, hook
|
||||
from libqtile.lazy import lazy
|
||||
from typing import List # noqa: F401
|
||||
|
|
Loading…
Reference in a new issue