From 84df4a9a0530a0c17d74e0de9c7cf486224afab7 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Mon, 19 Aug 2024 06:06:25 +0700 Subject: [PATCH] qtile: Move window to top left --- .config/qtile/config.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 7ab6b0a..9996b1a 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -96,14 +96,12 @@ keys = [ Key([mod], "space", lazy.spawn("rofi -show drun -theme Arc-Dark.rasi"), desc="Open Rofi"), KeyChord([mod], "b", [ - Key([], "c", lazy.spawn("bluetoothctl connect F8:5B:6E:2A:6A:CF &>/dev/null", - shell=True)), + Key([], "c", lazy.spawn("connect-bt", shell=True)), Key([], "d", lazy.spawn("bluetoothctl disconnect F8:5B:6E:2A:6A:CF &>/dev/null", shell=True)), Key([], "r", lazy.spawn("bluetoothctl scan on && sleep 1 && bluetoothctl connect F8:5B:6E:2A:6A:CF && sleep 2 && bluetoothctl scan off", shell=True)), - Key([], "t", lazy.spawn("toggle-bt-codec", - shell=True)), + Key([], "t", lazy.spawn("toggle-bt-codec", shell=True)), ]), # Move windows between left/right columns or move up/down in current stack. # Moving out of range in Columns layout will create new column. @@ -166,6 +164,7 @@ keys = [ # This uses discrete values Key([], "XF86KbdBrightnessDown", lazy.function(kbd_brightness_down)), Key([], "XF86KbdBrightnessUp", lazy.function(kbd_brightness_up)), + Key([mod, "control", "shift", alt], "1", lazy.window.set_position_floating(5, 28), desc="Put the window in the corner"), ] pape_dir = '/home/joe/Pictures/Wallpapers/'