M home/modules/profiles/desktop/qtile/config/bars.py => home/modules/profiles/desktop/qtile/config/bars.py +11 -11
@@ 4,7 4,7 @@ from libqtile import layout, bar, qtile
from qtile_extras.widget.decorations import BorderDecoration, PowerLineDecoration, RectDecoration
import qtile_extras.widget as widget
from nixenvironment import nixConfig
-from libqtile.widget import Mpris2, Bluetooth
+from libqtile.widget import Mpris2
from tasklist import TaskList
def create_top_bar(systray = False):
@@ 135,16 135,16 @@ def create_top_bar(systray = False):
size_percent = 70,
linewidth = 3,
),
- Bluetooth(
- device = '/dev_88_C9_E8_49_93_16',
- symbol_connected = '',
- symbol_paired = ' DC\'d',
- symbol_unknown = '',
- symbol_powered = ('', ''),
- device_format = '{battery_level}{symbol}',
- device_battery_format = ' {battery} %',
- format_unpowered = '',
- ),
+ # Bluetooth(
+ # device = '/dev_88_C9_E8_49_93_16',
+ # symbol_connected = '',
+ # symbol_paired = ' DC\'d',
+ # symbol_unknown = '',
+ # symbol_powered = ('', ''),
+ # device_format = '{battery_level}{symbol}',
+ # device_battery_format = ' {battery} %',
+ # format_unpowered = '',
+ # ),
]
if systray:
M home/modules/profiles/desktop/qtile/config/screens.py => home/modules/profiles/desktop/qtile/config/screens.py +2 -2
@@ 26,7 26,7 @@ def init_screens():
top_bar = bars.create_top_bar(systray = systray)
- screens[i] = Screen(top=top_bar, bottom=bars.create_bottom_bar(), wallpaper=wallpaper, width=screen_info.width, height=screen_info.height)
+ screens[i] = Screen(top=top_bar, bottom=bars.create_bottom_bar(), wallpaper=wallpaper, wallpaper_mode="stretch", width=screen_info.width, height=screen_info.height)
return screens
@@ 60,7 60,7 @@ async def observe_monitors():
from dbus_next.message import Message
import pyudev
- @utils.debounce(0.2)
+ @utils.debounce(1.0)
def call_autorandr():
# Autorandr restarts QTile automatically
subprocess.call(['autorandr', '--change', '--default', 'horizontal'])
M home/modules/profiles/desktop/qtile/config/tasklist.py => home/modules/profiles/desktop/qtile/config/tasklist.py +1 -1
@@ 235,7 235,7 @@ class TaskList(base._Widget, base.PaddingMixin, base.MarginMixin):
elif window.floating:
state = self.txt_floating
markup_str = self.markup_floating
- elif window is window.group.current_window:
+ elif window.group != None and window is window.group.current_window:
markup_str = self.markup_focused
window_location = (