Updating qtile config and the README.

This commit is contained in:
Derek Taylor
2021-03-12 16:49:30 -06:00
parent aa86b59e41
commit 1a66646888
2 changed files with 24 additions and 20 deletions

View File

@@ -92,8 +92,8 @@ These are the keybindings for qtile.
| 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 + k | lazy layout shuffle_down (rotates the windows in the stack) |
| MODKEY + h | expand size of window (MondadTall layout) |
| MODKEY + l | shrink size of window (MondadTall layout) |
| MODKEY + h | shrink size of window (MondadTall layout) |
| MODKEY + l | expand size of window (MondadTall layout) |
| MODKEY + w | switch focus to monitor 1 |
| MODKEY + e | switch focus to monitor 2 |
| MODKEY + r | switch focus to monitor 3 |
@@ -181,15 +181,15 @@ keys = [
desc='Move windows up in current stack'
),
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.decrease_nmaster(),
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",
lazy.layout.normalize(),
desc='normalize window size ratios'
@@ -571,11 +571,12 @@ Screen settings for my triple monitor setup.
#+BEGIN_SRC python
def init_widgets_screen1():
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():
widgets_screen2 = init_widgets_list()
return widgets_screen2 # Monitor 2 will display all widgets in widgets_list
return widgets_screen2 # Monitor 2 will display all widgets in widgets_list
def init_screens():
return [Screen(top=bar.Bar(widgets=init_widgets_screen1(), opacity=1.0, size=20)),
@@ -649,9 +650,10 @@ floating_layout = layout.Floating(float_rules=[
# default_float_rules include: utility, notification, toolbar, splash, dialog,
# file_progress, confirm, download and error.
,*layout.Floating.default_float_rules,
Match(wm_class='tasty.javafx.launcher.LauncherFxApp'), # 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
focus_on_window_activation = "smart"

View File

@@ -93,15 +93,15 @@ keys = [
desc='Move windows up in current stack'
),
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.decrease_nmaster(),
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",
lazy.layout.normalize(),
desc='normalize window size ratios'
@@ -443,11 +443,12 @@ def init_widgets_list():
def init_widgets_screen1():
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():
widgets_screen2 = init_widgets_list()
return widgets_screen2 # Monitor 2 will display all widgets in widgets_list
return widgets_screen2 # Monitor 2 will display all widgets in widgets_list
def init_screens():
return [Screen(top=bar.Bar(widgets=init_widgets_screen1(), opacity=1.0, size=20)),
@@ -507,9 +508,10 @@ floating_layout = layout.Floating(float_rules=[
# default_float_rules include: utility, notification, toolbar, splash, dialog,
# file_progress, confirm, download and error.
*layout.Floating.default_float_rules,
Match(wm_class='tasty.javafx.launcher.LauncherFxApp'), # 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
focus_on_window_activation = "smart"