1
0
Fork 0
mirror of https://gitlab.com/dwt1/dotfiles.git synced 2023-02-13 20:55:19 -05:00

Adding keybinding for qutebrowser

This commit is contained in:
Derek Taylor 2021-09-02 22:23:26 -05:00
parent 662bd76620
commit f778cccb5a
2 changed files with 18 additions and 6 deletions

View file

@ -71,8 +71,9 @@ from typing import List # noqa: F401
Just some variables I am setting to make my life easier.
#+BEGIN_SRC python
mod = "mod4" # Sets mod key to SUPER/WINDOWS
myTerm = "alacritty" # My terminal of choice
mod = "mod4" # Sets mod key to SUPER/WINDOWS
myTerm = "alacritty" # My terminal of choice
myBrowser = "qutebrowser" # My terminal of choice
#+END_SRC
* Keybindings
@ -109,9 +110,13 @@ keys = [
),
Key([mod, "shift"], "Return",
lazy.spawn("dmenu_run -p 'Run: '"),
# lazy.spawn("rofi -show drun -config ~/.config/rofi/themes/dt-dmenu.rasi -display-drun \"Run: \" -drun-display-format \"{name}\""),
desc='Run Launcher'
),
Key([mod], "b",
lazy.spawn(myBrowser),
desc='Qutebrowser'
),
Key([mod], "Tab",
lazy.next_layout(),
desc='Toggle through layouts'
@ -299,6 +304,8 @@ keys = [
]
#+END_SRC
#+RESULTS:
* Groups
Groups are really workspaces.

View file

@ -10,8 +10,9 @@ from libqtile import layout, bar, widget, hook
from libqtile.lazy import lazy
from typing import List # noqa: F401
mod = "mod4" # Sets mod key to SUPER/WINDOWS
myTerm = "alacritty" # My terminal of choice
mod = "mod4" # Sets mod key to SUPER/WINDOWS
myTerm = "alacritty" # My terminal of choice
myBrowser = "qutebrowser" # My terminal of choice
keys = [
### The essentials
@ -21,9 +22,13 @@ keys = [
),
Key([mod, "shift"], "Return",
lazy.spawn("dmenu_run -p 'Run: '"),
# lazy.spawn("rofi -show drun -config ~/.config/rofi/themes/dt-dmenu.rasi -display-drun \"Run: \" -drun-display-format \"{name}\""),
desc='Run Launcher'
),
Key([mod], "b",
lazy.spawn(myBrowser),
desc='Qutebrowser'
),
Key([mod], "Tab",
lazy.next_layout(),
desc='Toggle through layouts'