Update configuration for new laptop, Fixes for new qtile internal api, PrintScreen button function, Compositor and Clipboard manager, Fix mouse actions

This commit is contained in:
Kevin Alberts 2019-08-20 22:33:07 +02:00
parent baece2297f
commit 95d2c26854
Signed by: Kurocon
GPG key ID: BCD496FEBA0C6BC1
10 changed files with 68 additions and 48 deletions

View file

@ -24,11 +24,11 @@ class KuroFloating(Floating):
return
if hasattr(client, "is_static_window") and client.is_static_window:
bc = client.group.qtile.colorPixel(self.border_static)
bc = client.group.qtile.color_pixel(self.border_static)
elif client.has_focus:
bc = client.group.qtile.colorPixel(self.border_focus)
bc = client.group.qtile.color_pixel(self.border_focus)
else:
bc = client.group.qtile.colorPixel(self.border_normal)
bc = client.group.qtile.color_pixel(self.border_normal)
if client.maximized:
bw = self.max_border_width
elif client.fullscreen:
@ -44,7 +44,7 @@ class KuroFloating(Floating):
except AttributeError:
# this window hasn't been placed before, let's put it in a sensible spot
transient_for = client.window.get_wm_transient_for()
win = client.group.qtile.windowMap.get(transient_for)
win = client.group.qtile.windows_map.get(transient_for)
if win is not None:
# if transient for a window, place in the center of the window
center_x = win.x + win.width / 2