Small fixes and app changeS

This commit is contained in:
Kevin Alberts 2024-02-20 16:03:00 +01:00
parent 2860100089
commit 5501824875
4 changed files with 33 additions and 8 deletions

View file

@ -87,6 +87,13 @@ class Kuro(BaseTheme):
Match(title='branchdialog'), # gitk
Match(title='pinentry'), # GPG key password entry
Match(title='origin.exe', wm_class='Wine'), # Wine Origin game launcher
# Homebank popups
Match(title='Add transaction', wm_class='homebank'),
Match(title='Edit transaction', wm_class='homebank'),
Match(title='Inherit transaction', wm_class='homebank'),
Match(title='Multiple edit transactions', wm_class='homebank'),
Match(title='Transaction splits', wm_class='homebank'),
]
)
@ -175,6 +182,9 @@ class Kuro(BaseTheme):
# Alt screenshot
Key([self.mod], "Print", lazy.spawn(Config.get('cmd_alt_screenshot', 'xfce4-screenshooter'))),
# Copy from clipboard history
Key([self.mod, "control"], "c", lazy.spawn(Config.get('cliphistory_command', 'true'))),
# Toggle between different layouts as defined below
Key([self.mod], "Tab", lazy.next_layout()),
@ -192,7 +202,7 @@ class Kuro(BaseTheme):
lazy.function(self.set_random_wallpaper), lazy.function(self.update_colorscheme)),
# Reload screen configuration
Key([self.mod, "control"], "s", lazy.function(Config.get('cmd_reconfigure_screens', 'true'))),
Key([self.mod, "control"], "s", lazy.spawn(Config.get('cmd_reconfigure_screens', 'true'))),
# Reload colorscheme
Key([self.mod, "control"], "t", lazy.function(self.update_colorscheme)),
@ -204,7 +214,7 @@ class Kuro(BaseTheme):
##
# Debug keyboard shortcuts
##
Key([self.mod, "control"], "c", lazy.function(display_wm_class)),
Key([self.mod, "control"], "w", lazy.function(display_wm_class)),
# Show extensive window info
Key([self.mod, "shift", "control"], "i", lazy.function(self.show_window_info)),
@ -355,7 +365,7 @@ class Kuro(BaseTheme):
def build_bar_for_screen(self, screen_num):
widgets = [
# Workspaces
widget.GroupBox(
kuro.utils.widgets.KuroGroupBox(
active=Config.get('colour_groupbox_icon_active', '#ffffff'),
borderwidth=Config.get('width_groupbox_border', 1),
disable_drag=Config.get('bool_groupbox_disable_drag', False),