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:
parent
662bd76620
commit
f778cccb5a
2 changed files with 18 additions and 6 deletions
|
@ -71,8 +71,9 @@ from typing import List # noqa: F401
|
||||||
Just some variables I am setting to make my life easier.
|
Just some variables I am setting to make my life easier.
|
||||||
|
|
||||||
#+BEGIN_SRC python
|
#+BEGIN_SRC python
|
||||||
mod = "mod4" # Sets mod key to SUPER/WINDOWS
|
mod = "mod4" # Sets mod key to SUPER/WINDOWS
|
||||||
myTerm = "alacritty" # My terminal of choice
|
myTerm = "alacritty" # My terminal of choice
|
||||||
|
myBrowser = "qutebrowser" # My terminal of choice
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Keybindings
|
* Keybindings
|
||||||
|
@ -109,9 +110,13 @@ keys = [
|
||||||
),
|
),
|
||||||
Key([mod, "shift"], "Return",
|
Key([mod, "shift"], "Return",
|
||||||
lazy.spawn("dmenu_run -p 'Run: '"),
|
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'
|
desc='Run Launcher'
|
||||||
),
|
),
|
||||||
|
Key([mod], "b",
|
||||||
|
lazy.spawn(myBrowser),
|
||||||
|
desc='Qutebrowser'
|
||||||
|
),
|
||||||
|
|
||||||
Key([mod], "Tab",
|
Key([mod], "Tab",
|
||||||
lazy.next_layout(),
|
lazy.next_layout(),
|
||||||
desc='Toggle through layouts'
|
desc='Toggle through layouts'
|
||||||
|
@ -299,6 +304,8 @@ keys = [
|
||||||
]
|
]
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
#+RESULTS:
|
||||||
|
|
||||||
* Groups
|
* Groups
|
||||||
Groups are really workspaces.
|
Groups are really workspaces.
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,9 @@ from libqtile import layout, bar, widget, hook
|
||||||
from libqtile.lazy import lazy
|
from libqtile.lazy import lazy
|
||||||
from typing import List # noqa: F401
|
from typing import List # noqa: F401
|
||||||
|
|
||||||
mod = "mod4" # Sets mod key to SUPER/WINDOWS
|
mod = "mod4" # Sets mod key to SUPER/WINDOWS
|
||||||
myTerm = "alacritty" # My terminal of choice
|
myTerm = "alacritty" # My terminal of choice
|
||||||
|
myBrowser = "qutebrowser" # My terminal of choice
|
||||||
|
|
||||||
keys = [
|
keys = [
|
||||||
### The essentials
|
### The essentials
|
||||||
|
@ -21,9 +22,13 @@ keys = [
|
||||||
),
|
),
|
||||||
Key([mod, "shift"], "Return",
|
Key([mod, "shift"], "Return",
|
||||||
lazy.spawn("dmenu_run -p 'Run: '"),
|
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'
|
desc='Run Launcher'
|
||||||
),
|
),
|
||||||
|
Key([mod], "b",
|
||||||
|
lazy.spawn(myBrowser),
|
||||||
|
desc='Qutebrowser'
|
||||||
|
),
|
||||||
|
|
||||||
Key([mod], "Tab",
|
Key([mod], "Tab",
|
||||||
lazy.next_layout(),
|
lazy.next_layout(),
|
||||||
desc='Toggle through layouts'
|
desc='Toggle through layouts'
|
||||||
|
|
Loading…
Add table
Reference in a new issue