From 666520447ac3c02a33629ab265ab438e7d5c069d Mon Sep 17 00:00:00 2001 From: Emma Nora Theuer Date: Sun, 22 Sep 2024 13:03:17 +0200 Subject: [PATCH] Update config due to changes in API --- .config/qtile/config.org | 5 ++++- .config/qtile/config.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.config/qtile/config.org b/.config/qtile/config.org index 0af2950..9c18904 100755 --- a/.config/qtile/config.org +++ b/.config/qtile/config.org @@ -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. diff --git a/.config/qtile/config.py b/.config/qtile/config.py index ec7ba7c..dbc881a 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -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