mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 12:00:24 +10:00
Updating qtile config and the README.
This commit is contained in:
@@ -92,8 +92,8 @@ These are the keybindings for qtile.
|
|||||||
| MODKEY + k | lazy layout down (switches focus between windows in the stack) |
|
| MODKEY + k | lazy layout down (switches focus between windows in the stack) |
|
||||||
| MODKEY + SHIFT + j | lazy layout shuffle_up (rotates the windows in the stack) |
|
| MODKEY + SHIFT + j | lazy layout shuffle_up (rotates the windows in the stack) |
|
||||||
| MODKEY + SHIFT + k | lazy layout shuffle_down (rotates the windows in the stack) |
|
| MODKEY + SHIFT + k | lazy layout shuffle_down (rotates the windows in the stack) |
|
||||||
| MODKEY + h | expand size of window (MondadTall layout) |
|
| MODKEY + h | shrink size of window (MondadTall layout) |
|
||||||
| MODKEY + l | shrink size of window (MondadTall layout) |
|
| MODKEY + l | expand size of window (MondadTall layout) |
|
||||||
| MODKEY + w | switch focus to monitor 1 |
|
| MODKEY + w | switch focus to monitor 1 |
|
||||||
| MODKEY + e | switch focus to monitor 2 |
|
| MODKEY + e | switch focus to monitor 2 |
|
||||||
| MODKEY + r | switch focus to monitor 3 |
|
| MODKEY + r | switch focus to monitor 3 |
|
||||||
@@ -181,15 +181,15 @@ keys = [
|
|||||||
desc='Move windows up in current stack'
|
desc='Move windows up in current stack'
|
||||||
),
|
),
|
||||||
Key([mod], "h",
|
Key([mod], "h",
|
||||||
lazy.layout.grow(),
|
|
||||||
lazy.layout.increase_nmaster(),
|
|
||||||
desc='Expand window (MonadTall), increase number in master pane (Tile)'
|
|
||||||
),
|
|
||||||
Key([mod], "l",
|
|
||||||
lazy.layout.shrink(),
|
lazy.layout.shrink(),
|
||||||
lazy.layout.decrease_nmaster(),
|
lazy.layout.decrease_nmaster(),
|
||||||
desc='Shrink window (MonadTall), decrease number in master pane (Tile)'
|
desc='Shrink window (MonadTall), decrease number in master pane (Tile)'
|
||||||
),
|
),
|
||||||
|
Key([mod], "l",
|
||||||
|
lazy.layout.grow(),
|
||||||
|
lazy.layout.increase_nmaster(),
|
||||||
|
desc='Expand window (MonadTall), increase number in master pane (Tile)'
|
||||||
|
),
|
||||||
Key([mod], "n",
|
Key([mod], "n",
|
||||||
lazy.layout.normalize(),
|
lazy.layout.normalize(),
|
||||||
desc='normalize window size ratios'
|
desc='normalize window size ratios'
|
||||||
@@ -571,7 +571,8 @@ Screen settings for my triple monitor setup.
|
|||||||
#+BEGIN_SRC python
|
#+BEGIN_SRC python
|
||||||
def init_widgets_screen1():
|
def init_widgets_screen1():
|
||||||
widgets_screen1 = init_widgets_list()
|
widgets_screen1 = init_widgets_list()
|
||||||
return widgets_screen1 # Slicing removes unwanted widgets on Monitors 1,3
|
del widgets_screen1[7:8] # Slicing removes unwanted widgets (systray) on Monitors 1,3
|
||||||
|
return widgets_screen1
|
||||||
|
|
||||||
def init_widgets_screen2():
|
def init_widgets_screen2():
|
||||||
widgets_screen2 = init_widgets_list()
|
widgets_screen2 = init_widgets_list()
|
||||||
@@ -649,9 +650,10 @@ floating_layout = layout.Floating(float_rules=[
|
|||||||
# default_float_rules include: utility, notification, toolbar, splash, dialog,
|
# default_float_rules include: utility, notification, toolbar, splash, dialog,
|
||||||
# file_progress, confirm, download and error.
|
# file_progress, confirm, download and error.
|
||||||
,*layout.Floating.default_float_rules,
|
,*layout.Floating.default_float_rules,
|
||||||
Match(wm_class='tasty.javafx.launcher.LauncherFxApp'), # tastyworks exit box
|
|
||||||
Match(title='Confirmation'), # tastyworks exit box
|
Match(title='Confirmation'), # tastyworks exit box
|
||||||
Match(title='pinentry'), # GPG key password entry
|
Match(title='Qalculate!'), # qalculate-gtk
|
||||||
|
Match(wm_class='kdenlive'), # kdenlive
|
||||||
|
Match(wm_class='pinentry-gtk-2'), # GPG key password entry
|
||||||
])
|
])
|
||||||
auto_fullscreen = True
|
auto_fullscreen = True
|
||||||
focus_on_window_activation = "smart"
|
focus_on_window_activation = "smart"
|
||||||
|
|||||||
@@ -93,15 +93,15 @@ keys = [
|
|||||||
desc='Move windows up in current stack'
|
desc='Move windows up in current stack'
|
||||||
),
|
),
|
||||||
Key([mod], "h",
|
Key([mod], "h",
|
||||||
lazy.layout.grow(),
|
|
||||||
lazy.layout.increase_nmaster(),
|
|
||||||
desc='Expand window (MonadTall), increase number in master pane (Tile)'
|
|
||||||
),
|
|
||||||
Key([mod], "l",
|
|
||||||
lazy.layout.shrink(),
|
lazy.layout.shrink(),
|
||||||
lazy.layout.decrease_nmaster(),
|
lazy.layout.decrease_nmaster(),
|
||||||
desc='Shrink window (MonadTall), decrease number in master pane (Tile)'
|
desc='Shrink window (MonadTall), decrease number in master pane (Tile)'
|
||||||
),
|
),
|
||||||
|
Key([mod], "l",
|
||||||
|
lazy.layout.grow(),
|
||||||
|
lazy.layout.increase_nmaster(),
|
||||||
|
desc='Expand window (MonadTall), increase number in master pane (Tile)'
|
||||||
|
),
|
||||||
Key([mod], "n",
|
Key([mod], "n",
|
||||||
lazy.layout.normalize(),
|
lazy.layout.normalize(),
|
||||||
desc='normalize window size ratios'
|
desc='normalize window size ratios'
|
||||||
@@ -443,7 +443,8 @@ def init_widgets_list():
|
|||||||
|
|
||||||
def init_widgets_screen1():
|
def init_widgets_screen1():
|
||||||
widgets_screen1 = init_widgets_list()
|
widgets_screen1 = init_widgets_list()
|
||||||
return widgets_screen1 # Slicing removes unwanted widgets on Monitors 1,3
|
del widgets_screen1[7:8] # Slicing removes unwanted widgets (systray) on Monitors 1,3
|
||||||
|
return widgets_screen1
|
||||||
|
|
||||||
def init_widgets_screen2():
|
def init_widgets_screen2():
|
||||||
widgets_screen2 = init_widgets_list()
|
widgets_screen2 = init_widgets_list()
|
||||||
@@ -507,9 +508,10 @@ floating_layout = layout.Floating(float_rules=[
|
|||||||
# default_float_rules include: utility, notification, toolbar, splash, dialog,
|
# default_float_rules include: utility, notification, toolbar, splash, dialog,
|
||||||
# file_progress, confirm, download and error.
|
# file_progress, confirm, download and error.
|
||||||
*layout.Floating.default_float_rules,
|
*layout.Floating.default_float_rules,
|
||||||
Match(wm_class='tasty.javafx.launcher.LauncherFxApp'), # tastyworks exit box
|
|
||||||
Match(title='Confirmation'), # tastyworks exit box
|
Match(title='Confirmation'), # tastyworks exit box
|
||||||
Match(title='pinentry'), # GPG key password entry
|
Match(title='Qalculate!'), # qalculate-gtk
|
||||||
|
Match(wm_class='kdenlive'), # kdenlive
|
||||||
|
Match(wm_class='pinentry-gtk-2'), # GPG key password entry
|
||||||
])
|
])
|
||||||
auto_fullscreen = True
|
auto_fullscreen = True
|
||||||
focus_on_window_activation = "smart"
|
focus_on_window_activation = "smart"
|
||||||
|
|||||||
Reference in New Issue
Block a user