mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2023-02-13 20:55:19 -05:00
Updating qtile config and the README.
This commit is contained in:
parent
1a66646888
commit
ac5d3d3d72
3 changed files with 151 additions and 54 deletions
|
@ -222,25 +222,73 @@ keys = [
|
||||||
),
|
),
|
||||||
# Emacs programs launched using the key chord CTRL+e followed by 'key'
|
# Emacs programs launched using the key chord CTRL+e followed by 'key'
|
||||||
KeyChord(["control"],"e", [
|
KeyChord(["control"],"e", [
|
||||||
Key([], "e", lazy.spawn("emacsclient -c -a 'emacs'")),
|
Key([], "e",
|
||||||
Key([], "b", lazy.spawn("emacsclient -c -a 'emacs' --eval '(ibuffer)'")),
|
lazy.spawn("emacsclient -c -a 'emacs'"),
|
||||||
Key([], "d", lazy.spawn("emacsclient -c -a 'emacs' --eval '(dired nil)'")),
|
desc='Launch Emacs'
|
||||||
Key([], "i", lazy.spawn("emacsclient -c -a 'emacs' --eval '(erc)'")),
|
),
|
||||||
Key([], "m", lazy.spawn("emacsclient -c -a 'emacs' --eval '(mu4e)'")),
|
Key([], "b",
|
||||||
Key([], "n", lazy.spawn("emacsclient -c -a 'emacs' --eval '(elfeed)'")),
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(ibuffer)'"),
|
||||||
Key([], "s", lazy.spawn("emacsclient -c -a 'emacs' --eval '(eshell)'")),
|
desc='Launch ibuffer inside Emacs'
|
||||||
Key([], "v", lazy.spawn("emacsclient -c -a 'emacs' --eval '(+vterm/here nil)'"))
|
),
|
||||||
|
Key([], "d",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(dired nil)'"),
|
||||||
|
desc='Launch dired inside Emacs'
|
||||||
|
),
|
||||||
|
Key([], "i",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(erc)'"),
|
||||||
|
desc='Launch erc inside Emacs'
|
||||||
|
),
|
||||||
|
Key([], "m",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(mu4e)'"),
|
||||||
|
desc='Launch mu4e inside Emacs'
|
||||||
|
),
|
||||||
|
Key([], "n",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(elfeed)'"),
|
||||||
|
desc='Launch elfeed inside Emacs'
|
||||||
|
),
|
||||||
|
Key([], "s",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(eshell)'"),
|
||||||
|
desc='Launch the eshell inside Emacs'
|
||||||
|
),
|
||||||
|
Key([], "v",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(+vterm/here nil)'"),
|
||||||
|
desc='Launch vterm inside Emacs'
|
||||||
|
)
|
||||||
]),
|
]),
|
||||||
# Dmenu scripts launched using the key chord SUPER+p followed by 'key'
|
# Dmenu scripts launched using the key chord SUPER+p followed by 'key'
|
||||||
KeyChord([mod], "p", [
|
KeyChord([mod], "p", [
|
||||||
Key([], "e", lazy.spawn("./dmscripts/dmconf")),
|
Key([], "e",
|
||||||
Key([], "i", lazy.spawn("./dmscripts/dmscrot")),
|
lazy.spawn("./dmscripts/dmconf"),
|
||||||
Key([], "k", lazy.spawn("./dmscripts/dmkill")),
|
desc='Choose a config file to edit'
|
||||||
Key([], "l", lazy.spawn("./dmscripts/dmlogout")),
|
),
|
||||||
Key([], "m", lazy.spawn("./dmscripts/dman")),
|
Key([], "i",
|
||||||
Key([], "r", lazy.spawn("./dmscripts/dmred")),
|
lazy.spawn("./dmscripts/dmscrot"),
|
||||||
Key([], "s", lazy.spawn("./dmscripts/dmsearch")),
|
desc='Take screenshots via dmenu'
|
||||||
Key([], "p", lazy.spawn("passmenu"))
|
),
|
||||||
|
Key([], "k",
|
||||||
|
lazy.spawn("./dmscripts/dmkill"),
|
||||||
|
desc='Kill processes via dmenu'
|
||||||
|
),
|
||||||
|
Key([], "l",
|
||||||
|
lazy.spawn("./dmscripts/dmlogout"),
|
||||||
|
desc='A logout menu'
|
||||||
|
),
|
||||||
|
Key([], "m",
|
||||||
|
lazy.spawn("./dmscripts/dman"),
|
||||||
|
desc='Search manpages in dmenu'
|
||||||
|
),
|
||||||
|
Key([], "r",
|
||||||
|
lazy.spawn("./dmscripts/dmred"),
|
||||||
|
desc='Search reddit via dmenu'
|
||||||
|
),
|
||||||
|
Key([], "s",
|
||||||
|
lazy.spawn("./dmscripts/dmsearch"),
|
||||||
|
desc='Search various search engines via dmenu'
|
||||||
|
),
|
||||||
|
Key([], "p",
|
||||||
|
lazy.spawn("passmenu"),
|
||||||
|
desc='Retrieve passwords with dmenu'
|
||||||
|
)
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
@ -424,14 +472,9 @@ def init_widgets_list():
|
||||||
padding = 0,
|
padding = 0,
|
||||||
fontsize = 37
|
fontsize = 37
|
||||||
),
|
),
|
||||||
widget.TextBox(
|
widget.Net(
|
||||||
text = " ₿",
|
interface = "enp6s0",
|
||||||
padding = 0,
|
format = '{down} ↓↑ {up}',
|
||||||
foreground = colors[2],
|
|
||||||
background = colors[4],
|
|
||||||
fontsize = 12
|
|
||||||
),
|
|
||||||
widget.BitcoinTicker(
|
|
||||||
foreground = colors[2],
|
foreground = colors[2],
|
||||||
background = colors[4],
|
background = colors[4],
|
||||||
padding = 5
|
padding = 5
|
||||||
|
@ -505,9 +548,14 @@ def init_widgets_list():
|
||||||
padding = 0,
|
padding = 0,
|
||||||
fontsize = 37
|
fontsize = 37
|
||||||
),
|
),
|
||||||
widget.Net(
|
widget.TextBox(
|
||||||
interface = "enp6s0",
|
text = " ₿",
|
||||||
format = '{down} ↓↑ {up}',
|
padding = 0,
|
||||||
|
foreground = colors[2],
|
||||||
|
background = colors[4],
|
||||||
|
fontsize = 12
|
||||||
|
),
|
||||||
|
widget.BitcoinTicker(
|
||||||
foreground = colors[2],
|
foreground = colors[2],
|
||||||
background = colors[4],
|
background = colors[4],
|
||||||
padding = 5
|
padding = 5
|
||||||
|
|
|
@ -134,25 +134,73 @@ keys = [
|
||||||
),
|
),
|
||||||
# Emacs programs launched using the key chord CTRL+e followed by 'key'
|
# Emacs programs launched using the key chord CTRL+e followed by 'key'
|
||||||
KeyChord(["control"],"e", [
|
KeyChord(["control"],"e", [
|
||||||
Key([], "e", lazy.spawn("emacsclient -c -a 'emacs'")),
|
Key([], "e",
|
||||||
Key([], "b", lazy.spawn("emacsclient -c -a 'emacs' --eval '(ibuffer)'")),
|
lazy.spawn("emacsclient -c -a 'emacs'"),
|
||||||
Key([], "d", lazy.spawn("emacsclient -c -a 'emacs' --eval '(dired nil)'")),
|
desc='Launch Emacs'
|
||||||
Key([], "i", lazy.spawn("emacsclient -c -a 'emacs' --eval '(erc)'")),
|
),
|
||||||
Key([], "m", lazy.spawn("emacsclient -c -a 'emacs' --eval '(mu4e)'")),
|
Key([], "b",
|
||||||
Key([], "n", lazy.spawn("emacsclient -c -a 'emacs' --eval '(elfeed)'")),
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(ibuffer)'"),
|
||||||
Key([], "s", lazy.spawn("emacsclient -c -a 'emacs' --eval '(eshell)'")),
|
desc='Launch ibuffer inside Emacs'
|
||||||
Key([], "v", lazy.spawn("emacsclient -c -a 'emacs' --eval '(+vterm/here nil)'"))
|
),
|
||||||
|
Key([], "d",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(dired nil)'"),
|
||||||
|
desc='Launch dired inside Emacs'
|
||||||
|
),
|
||||||
|
Key([], "i",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(erc)'"),
|
||||||
|
desc='Launch erc inside Emacs'
|
||||||
|
),
|
||||||
|
Key([], "m",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(mu4e)'"),
|
||||||
|
desc='Launch mu4e inside Emacs'
|
||||||
|
),
|
||||||
|
Key([], "n",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(elfeed)'"),
|
||||||
|
desc='Launch elfeed inside Emacs'
|
||||||
|
),
|
||||||
|
Key([], "s",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(eshell)'"),
|
||||||
|
desc='Launch the eshell inside Emacs'
|
||||||
|
),
|
||||||
|
Key([], "v",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(+vterm/here nil)'"),
|
||||||
|
desc='Launch vterm inside Emacs'
|
||||||
|
)
|
||||||
]),
|
]),
|
||||||
# Dmenu scripts launched using the key chord SUPER+p followed by 'key'
|
# Dmenu scripts launched using the key chord SUPER+p followed by 'key'
|
||||||
KeyChord([mod], "p", [
|
KeyChord([mod], "p", [
|
||||||
Key([], "e", lazy.spawn("./dmscripts/dmconf")),
|
Key([], "e",
|
||||||
Key([], "i", lazy.spawn("./dmscripts/dmscrot")),
|
lazy.spawn("./dmscripts/dmconf"),
|
||||||
Key([], "k", lazy.spawn("./dmscripts/dmkill")),
|
desc='Choose a config file to edit'
|
||||||
Key([], "l", lazy.spawn("./dmscripts/dmlogout")),
|
),
|
||||||
Key([], "m", lazy.spawn("./dmscripts/dman")),
|
Key([], "i",
|
||||||
Key([], "r", lazy.spawn("./dmscripts/dmred")),
|
lazy.spawn("./dmscripts/dmscrot"),
|
||||||
Key([], "s", lazy.spawn("./dmscripts/dmsearch")),
|
desc='Take screenshots via dmenu'
|
||||||
Key([], "p", lazy.spawn("passmenu"))
|
),
|
||||||
|
Key([], "k",
|
||||||
|
lazy.spawn("./dmscripts/dmkill"),
|
||||||
|
desc='Kill processes via dmenu'
|
||||||
|
),
|
||||||
|
Key([], "l",
|
||||||
|
lazy.spawn("./dmscripts/dmlogout"),
|
||||||
|
desc='A logout menu'
|
||||||
|
),
|
||||||
|
Key([], "m",
|
||||||
|
lazy.spawn("./dmscripts/dman"),
|
||||||
|
desc='Search manpages in dmenu'
|
||||||
|
),
|
||||||
|
Key([], "r",
|
||||||
|
lazy.spawn("./dmscripts/dmred"),
|
||||||
|
desc='Search reddit via dmenu'
|
||||||
|
),
|
||||||
|
Key([], "s",
|
||||||
|
lazy.spawn("./dmscripts/dmsearch"),
|
||||||
|
desc='Search various search engines via dmenu'
|
||||||
|
),
|
||||||
|
Key([], "p",
|
||||||
|
lazy.spawn("passmenu"),
|
||||||
|
desc='Retrieve passwords with dmenu'
|
||||||
|
)
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -301,14 +349,9 @@ def init_widgets_list():
|
||||||
padding = 0,
|
padding = 0,
|
||||||
fontsize = 37
|
fontsize = 37
|
||||||
),
|
),
|
||||||
widget.TextBox(
|
widget.Net(
|
||||||
text = " ₿",
|
interface = "enp6s0",
|
||||||
padding = 0,
|
format = '{down} ↓↑ {up}',
|
||||||
foreground = colors[2],
|
|
||||||
background = colors[4],
|
|
||||||
fontsize = 12
|
|
||||||
),
|
|
||||||
widget.BitcoinTicker(
|
|
||||||
foreground = colors[2],
|
foreground = colors[2],
|
||||||
background = colors[4],
|
background = colors[4],
|
||||||
padding = 5
|
padding = 5
|
||||||
|
@ -382,9 +425,14 @@ def init_widgets_list():
|
||||||
padding = 0,
|
padding = 0,
|
||||||
fontsize = 37
|
fontsize = 37
|
||||||
),
|
),
|
||||||
widget.Net(
|
widget.TextBox(
|
||||||
interface = "enp6s0",
|
text = " ₿",
|
||||||
format = '{down} ↓↑ {up}',
|
padding = 0,
|
||||||
|
foreground = colors[2],
|
||||||
|
background = colors[4],
|
||||||
|
fontsize = 12
|
||||||
|
),
|
||||||
|
widget.BitcoinTicker(
|
||||||
foreground = colors[2],
|
foreground = colors[2],
|
||||||
background = colors[4],
|
background = colors[4],
|
||||||
padding = 5
|
padding = 5
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
|
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
|
||||||
;(unpin! t)
|
;(unpin! t)
|
||||||
(package! all-the-icons-dired)
|
(package! all-the-icons-dired)
|
||||||
|
(package! flycheck-aspell)
|
||||||
(package! async)
|
(package! async)
|
||||||
(package! dired-open)
|
(package! dired-open)
|
||||||
(package! dmenu)
|
(package! dmenu)
|
||||||
|
|
Loading…
Add table
Reference in a new issue