This commit is contained in:
zoe 2022-09-02 19:07:38 +02:00
parent 7bc75f1f30
commit 7b80be6c1c
3 changed files with 6 additions and 9 deletions

View File

@ -1,6 +1,5 @@
from libqtile.config import Click, Drag, Group, Key
from libqtile.lazy import lazy
from libqtile.log_utils import logger
import autostart
import my_layouts
@ -13,17 +12,10 @@ terminal = "kitty"
screens = my_widgets.get_screens()
@lazy.function
def go_to_next_screen(qtile):
logger.warning(dir(qtile))
current_screen = qtile.current_screen
lazy.to_screen((current_screen + 1) % len(screens))
keys = [
# A list of available commands that can be bound to keys can be found
# at https://docs.qtile.org/en/latest/manual/config/lazy.html
# Switch between windows
# Switch between screens
Key(
[mod],
"q",

View File

@ -11,6 +11,8 @@ colors = {
"on-accent-light-2": "#282a36",
"accent-dark-2": "#6272a4",
"on-accent-dark-2": "#f8f8f2",
"warning": "#ff5555",
"on-warning": "#f8f8f2",
}
border_width = 2

View File

@ -125,6 +125,9 @@ _groups = widget.GroupBox(
other_current_screen_border=my_globals.colors["accent-light"],
active=my_globals.colors["on-bg"],
inactive=my_globals.colors["on-bg"],
urgent_border=my_globals.colors["warning"],
urgent_text=my_globals.colors["warning"],
urgent_alert_method="line",
highlight_color=[
my_globals.colors["bg-light"],
my_globals.colors["bg-light"],