Changes on Celestia

This commit is contained in:
Kevin Alberts 2020-10-14 18:59:03 +02:00
parent 705a2aaaa7
commit f4c6430eb4
Signed by: Kurocon
GPG key ID: BCD496FEBA0C6BC1
3 changed files with 15 additions and 3 deletions

View file

@ -149,6 +149,9 @@ class Kuro(BaseTheme):
# Floating toggle
Key([self.mod, "shift"], 'f', lazy.window.toggle_floating()),
# Pinned toggle
Key([self.mod], 'p', lazy.function(self.toggle_pinned)),
# Toggle between split and unsplit sides of stack.
# Split = all windows displayed
# Unsplit = 1 window displayed, like Max layout, but still with
@ -180,7 +183,7 @@ class Kuro(BaseTheme):
# Screenshot key
Key([], "Print", lazy.spawn(Config.get('cmd_screenshot', 'xfce4-screenshooter'))),
# Alt Screenshot
# Alt screenshot
Key([self.mod], "Print", lazy.spawn(Config.get('cmd_alt_screenshot', 'xfce4-screenshooter'))),
# Toggle between different layouts as defined below
@ -564,6 +567,12 @@ class Kuro(BaseTheme):
window.floating = True
# Pinned toggle function
@staticmethod
def toggle_pinned(qtile):
windows = qtile.cmd_windows()
print(windows)
# QTile base callbacks
def callback_startup_once(self, *args, **kwargs):
self.update_wallpaper(self.qtile)