qtile: Move window to top left

This commit is contained in:
Joseph Ferano 2024-08-19 06:06:25 +07:00
parent b9b32539d3
commit 84df4a9a05

View File

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