diff --git a/.config/qtile/README.org b/.config/qtile/README.org index 97298d5..27e91be 100644 --- a/.config/qtile/README.org +++ b/.config/qtile/README.org @@ -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. diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 2e403ba..55a09da 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -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'