From cdf5996c4031fef4897366838d9ee7886f902d91 Mon Sep 17 00:00:00 2001 From: Kevin Alberts Date: Sat, 28 May 2022 13:57:05 +0200 Subject: [PATCH] Updates over time --- kuro/config.py | 2 +- kuro/theme.py | 6 ++++++ kuro/utils/general.py | 2 +- kuro/utils/widgets.py | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/kuro/config.py b/kuro/config.py index 480de2c..3e05df9 100644 --- a/kuro/config.py +++ b/kuro/config.py @@ -19,7 +19,7 @@ class Config(BaseConfig): app_launcher = "/home/kevin/bin/dmenu_wal.sh" web_browser = "firefox-developer-edition" file_manager = "thunar" - app_chat = "/usr/bin/ramboxpro" + app_chat = "/usr/bin/rambox" app_irc = "quasselclient" app_mail = "thunderbird" cmd_brightness_up = "sudo /usr/bin/xbacklight -inc 10" diff --git a/kuro/theme.py b/kuro/theme.py index aebeb85..40915d4 100644 --- a/kuro/theme.py +++ b/kuro/theme.py @@ -621,6 +621,12 @@ class Kuro(BaseTheme): self.log_info("Starting xiccd color profile manager...") utils.execute_once("xiccd") + self.log_info("Starting KDE connect daemon...") + utils.execute_once("/usr/lib/kdeconnectd") + + self.log_info("Starting KDE connect indicator...") + utils.execute_once("/usr/bin/kdeconnect-indicator") + # Update color scheme self.initialize_colorscheme() diff --git a/kuro/utils/general.py b/kuro/utils/general.py index 92551f7..76a1f0a 100644 --- a/kuro/utils/general.py +++ b/kuro/utils/general.py @@ -196,7 +196,7 @@ class KuroTopBar(Bar): self.theme = theme super(KuroTopBar, self).__init__(widgets, size, **config) - def _configure(self, qtile, screen): + def _configure(self, qtile, screen, *args, **kwargs): super(KuroTopBar, self)._configure(qtile, screen) self.window.handle_EnterNotify = self.handle_enter_notify self.window.handle_LeaveNotify = self.handle_leave_notify diff --git a/kuro/utils/widgets.py b/kuro/utils/widgets.py index 7620d1a..b665507 100644 --- a/kuro/utils/widgets.py +++ b/kuro/utils/widgets.py @@ -8,6 +8,7 @@ import iwlib import netifaces import psutil import six +import unicodedata from libqtile import bar, pangocffi from libqtile.log_utils import logger from libqtile.widget import base @@ -437,6 +438,7 @@ class MediaWidget(base.InLoopPollText): else: res = "Unknown" res = pangocffi.markup_escape_text(res) + res = unicodedata.normalize('NFKD', res) if len(res) > self.max_chars_per_player: res = res[:self.max_chars_per_player] + "..." return res