diff --git a/kuro/config.py b/kuro/config.py index 05f2f87..aba2092 100644 --- a/kuro/config.py +++ b/kuro/config.py @@ -16,7 +16,9 @@ class Config(BaseConfig): # Default Applications app_terminal = "terminator" - app_launcher = "/home/kevin/bin/dmenu_wal.sh" + #app_launcher = "/home/kevin/bin/dmenu_wal.sh" + app_launcher = "dmenu_run -i -p 'ยป' -nb '" + background + "' -fn 'Noto Sans-11' -nf '" + inactive_light + \ + "' -sb '" + highlight + "' -sf '" + foreground + "'" web_browser = "firefox-developer-edition" file_manager = "thunar" app_chat = "/home/kevin/bin/ramboxpro" diff --git a/kuro/theme.py b/kuro/theme.py index ac322df..30472b3 100644 --- a/kuro/theme.py +++ b/kuro/theme.py @@ -149,6 +149,9 @@ class Kuro(BaseTheme): # Floating toggle Key([self.mod, "shift"], 'f', lazy.window.toggle_floating()), + # Pinned toggle + Key([self.mod], 'p', lazy.function(self.toggle_pinned)), + # Toggle between split and unsplit sides of stack. # Split = all windows displayed # Unsplit = 1 window displayed, like Max layout, but still with @@ -180,7 +183,7 @@ class Kuro(BaseTheme): # Screenshot key Key([], "Print", lazy.spawn(Config.get('cmd_screenshot', 'xfce4-screenshooter'))), - # Alt Screenshot + # Alt screenshot Key([self.mod], "Print", lazy.spawn(Config.get('cmd_alt_screenshot', 'xfce4-screenshooter'))), # Toggle between different layouts as defined below @@ -564,6 +567,12 @@ class Kuro(BaseTheme): window.floating = True + # Pinned toggle function + @staticmethod + def toggle_pinned(qtile): + windows = qtile.cmd_windows() + print(windows) + # QTile base callbacks def callback_startup_once(self, *args, **kwargs): self.update_wallpaper(self.qtile) diff --git a/required_packages.txt b/required_packages.txt index 8b3391e..ff3bd88 100644 --- a/required_packages.txt +++ b/required_packages.txt @@ -8,4 +8,5 @@ python-osc playerctl xfce4-screenshooter -xfce4-clipman-plugin \ No newline at end of file +xfce4-clipman-plugin +wireless_tools