Updates over time

This commit is contained in:
Kevin Alberts 2022-05-28 13:57:05 +02:00
parent 6a265ea3b6
commit cdf5996c40
4 changed files with 10 additions and 2 deletions

View file

@ -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"

View file

@ -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()

View file

@ -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

View file

@ -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