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

@ -207,6 +207,7 @@ class WifiIconWidget(base._TextBox):
('update_interval', 1, 'The update interval.'),
('theme_path', default_icon_path(), 'Path of the icons'),
('custom_icons', {}, 'dict containing key->filename icon map'),
('disconnected_message', {'error': False, 'essid': None, 'quality': 0, 'percent': 0}, 'Message to show when WiFi is disconnected'),
]
def __init__(self, **config):
@ -382,6 +383,7 @@ class MediaWidget(base.InLoopPollText):
'spotify': '',
'vlc': '',
'firefox': '',
'mpv': '',
}
custom_player_data = {
@ -574,8 +576,8 @@ class AudioVisualizerWidget(_Graph):
def update_graph(self):
if self.client is not None:
viz_info = self.info()
pos_x = viz_info['offset'] + self.margin_x - 1 + self.screen.x
pos_y = 0 + self.margin_y - 1 + self.screen.y
pos_x = viz_info['offset'] + self.margin_x + self.screen.x
pos_y = 0 + self.margin_y + self.screen.y
if self.old_position != (pos_x, pos_y):
self.old_position = (pos_x, pos_y)
@ -662,7 +664,7 @@ class KuroTaskList(TaskList):
elif window.floating:
state = self.txt_floating
markup_str = self.markup_floating
elif window is window.group.currentWindow:
elif window is window.group.current_window:
markup_str = self.markup_focused
window_name = window.name if window and window.name else "?"