mirror of
https://github.com/The-Repo-Club/DotFiles.git
synced 2025-02-17 18:03:23 -05:00
Fix Qtile (Hyper_L)
This commit is contained in:
parent
6fcdb111f2
commit
bc643b0323
@ -12,6 +12,6 @@ strings=bat, pkgbrowser, ly, zap, i3-gaps, microsoft edge, python3, python, pama
|
|||||||
|
|
||||||
[window]
|
[window]
|
||||||
central-splitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x1\0\0\0\x1>\0\xff\xff\xff\xff\x1\0\0\0\x1\0)
|
central-splitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x1\0\0\0\x1>\0\xff\xff\xff\xff\x1\0\0\0\x1\0)
|
||||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\x3\0\0\0%\0\0\ax\0\0\x4\xe\0\0\0\x5\0\0\0'\0\0\av\0\0\x4\f\0\0\0\0\0\0\0\0\a\x80\0\0\0\x5\0\0\0'\0\0\av\0\0\x4\f)
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\x3\0\0\0)\0\0\ax\0\0\x4\n\0\0\0\x5\0\0\0+\0\0\av\0\0\x4\b\0\0\0\0\0\0\0\0\a\x80\0\0\0\x5\0\0\0+\0\0\av\0\0\x4\b)
|
||||||
left-splitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\xc0\0\0\x1\f\0\xff\xff\xff\xff\x1\0\0\0\x2\0)
|
left-splitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\xc0\0\0\x1\f\0\xff\xff\xff\xff\x1\0\0\0\x2\0)
|
||||||
right-splitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\xc0\0\0\0\xee\0\xff\xff\xff\xff\x1\0\0\0\x2\0)
|
right-splitter=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\xc0\0\0\0\xee\0\xff\xff\xff\xff\x1\0\0\0\x2\0)
|
||||||
|
@ -64,16 +64,15 @@ def go_to_group(name: str) -> Callable:
|
|||||||
|
|
||||||
class Commands(object):
|
class Commands(object):
|
||||||
editor = 'code'
|
editor = 'code'
|
||||||
menu = 'repomenu_run -i -l 10 -w 600 -c -p "Launcher" -q "Launch a app"'
|
menu = 'menu'
|
||||||
browser = 'firefox'
|
browser = 'firefox'
|
||||||
terminal = 'alacritty'
|
terminal = 'alacritty'
|
||||||
btop = 'kitty --class=btop -e btop'
|
btop = 'kitty --class=btop -e btop'
|
||||||
powermenu = 'kitty --class=powermenu -o initial_window_height=220 -e fzf_powermenu'
|
powermenu = 'rofi -show powermenu -config ~/.config/rofi/powermenu.rasi'
|
||||||
vbox = 'virt-manager'
|
vbox = 'virt-manager'
|
||||||
files = 'nemo'
|
files = 'nemo'
|
||||||
mail = 'thunderbird'
|
mail = 'thunderbird'
|
||||||
killmenu = 'repomenue_kill'
|
passmenu = 'passmenu'
|
||||||
passmenu = 'kitty --class=passmenu -o initial_window_height=650 -e fzf_pass'
|
|
||||||
|
|
||||||
autostart = ['autostart']
|
autostart = ['autostart']
|
||||||
configure = ['autorandr --load qtile']
|
configure = ['autorandr --load qtile']
|
||||||
@ -106,7 +105,6 @@ keys = [
|
|||||||
Key([MOD], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
|
Key([MOD], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
|
||||||
Key([MOD], "t", lazy.window.toggle_floating(), desc='Toggle floating'),
|
Key([MOD], "t", lazy.window.toggle_floating(), desc='Toggle floating'),
|
||||||
Key([MOD], "q", lazy.window.kill(), desc="Kill focused window"),
|
Key([MOD], "q", lazy.window.kill(), desc="Kill focused window"),
|
||||||
Key([MOD, SHIFT], "q", lazy.spawn(Commands.killmenu), desc="Launch kill menu"),
|
|
||||||
|
|
||||||
# Custom keybinds
|
# Custom keybinds
|
||||||
Key([MOD], "Return", lazy.spawn(Commands.terminal), desc="Launch terminal"),
|
Key([MOD], "Return", lazy.spawn(Commands.terminal), desc="Launch terminal"),
|
||||||
@ -184,7 +182,7 @@ groups = Groups.groups
|
|||||||
|
|
||||||
# Define scratchpads
|
# Define scratchpads
|
||||||
groups.append(
|
groups.append(
|
||||||
ScratchPad("TAB",
|
ScratchPad("Hyper_L",
|
||||||
[
|
[
|
||||||
DropDown("term", "kitty --name=scratch", width=0.6, height=0.6, x=0.2, y=0.1, opacity=1),
|
DropDown("term", "kitty --name=scratch", width=0.6, height=0.6, x=0.2, y=0.1, opacity=1),
|
||||||
DropDown("clifm", "kitty --name=clifm -e clifm", width=0.6, height=0.6, x=0.2, y=0.1, opacity=0.8),
|
DropDown("clifm", "kitty --name=clifm -e clifm", width=0.6, height=0.6, x=0.2, y=0.1, opacity=0.8),
|
||||||
@ -201,10 +199,10 @@ for i in groups:
|
|||||||
|
|
||||||
# Scratchpad keybindings
|
# Scratchpad keybindings
|
||||||
keys.extend([
|
keys.extend([
|
||||||
Key([CTRL], "Return", lazy.group['TAB'].dropdown_toggle('term')),
|
Key([CTRL], "Return", lazy.group['Hyper_L'].dropdown_toggle('term')),
|
||||||
Key([ALT], "c", lazy.group['TAB'].dropdown_toggle('clifm')),
|
Key([ALT], "c", lazy.group['Hyper_L'].dropdown_toggle('clifm')),
|
||||||
Key([ALT], "b", lazy.group['TAB'].dropdown_toggle('btop')),
|
Key([ALT], "b", lazy.group['Hyper_L'].dropdown_toggle('btop')),
|
||||||
Key([ALT], "v", lazy.group['TAB'].dropdown_toggle('volume')),
|
Key([ALT], "v", lazy.group['Hyper_L'].dropdown_toggle('volume')),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user