mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-08-10 01:51:15 +10:00
Cleaning up xmonad and qtile for DTOS.
This commit is contained in:
+69
-37
@@ -109,17 +109,21 @@ These are the keybindings for qtile.
|
|||||||
keys = [
|
keys = [
|
||||||
### The essentials
|
### The essentials
|
||||||
Key([mod], "Return",
|
Key([mod], "Return",
|
||||||
lazy.spawn(myTerm+" -e fish"),
|
lazy.spawn(myTerm),
|
||||||
desc='Launches My Terminal'
|
desc='Launches My Terminal'
|
||||||
),
|
),
|
||||||
Key([mod, "shift"], "Return",
|
Key([mod, "shift"], "Return",
|
||||||
lazy.spawn("dmenu_run -p 'Run: '"),
|
lazy.spawn("dm-run"),
|
||||||
desc='Run Launcher'
|
desc='Run Launcher'
|
||||||
),
|
),
|
||||||
Key([mod], "b",
|
Key([mod], "b",
|
||||||
lazy.spawn(myBrowser),
|
lazy.spawn(myBrowser),
|
||||||
desc='Qutebrowser'
|
desc='Qutebrowser'
|
||||||
),
|
),
|
||||||
|
# Key([mod], "/",
|
||||||
|
# lazy.spawn("dtos-help"),
|
||||||
|
# desc='DTOS Help'
|
||||||
|
# ),
|
||||||
Key([mod], "Tab",
|
Key([mod], "Tab",
|
||||||
lazy.next_layout(),
|
lazy.next_layout(),
|
||||||
desc='Toggle through layouts'
|
desc='Toggle through layouts'
|
||||||
@@ -231,77 +235,105 @@ keys = [
|
|||||||
desc='Toggle between split and unsplit sides of stack'
|
desc='Toggle between split and unsplit sides of stack'
|
||||||
),
|
),
|
||||||
# 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([mod],"e", [
|
||||||
Key([], "e",
|
Key([], "e",
|
||||||
lazy.spawn("emacsclient -c -a 'emacs'"),
|
lazy.spawn("emacsclient -c -a 'emacs'"),
|
||||||
desc='Launch Emacs'
|
desc='Emacsclient Dashboard'
|
||||||
|
),
|
||||||
|
Key([], "a",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(emms)' --eval '(emms-play-directory-tree \"~/Music/\")'"),
|
||||||
|
desc='Emacsclient EMMS (music)'
|
||||||
),
|
),
|
||||||
Key([], "b",
|
Key([], "b",
|
||||||
lazy.spawn("emacsclient -c -a 'emacs' --eval '(ibuffer)'"),
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(ibuffer)'"),
|
||||||
desc='Launch ibuffer inside Emacs'
|
desc='Emacsclient Ibuffer'
|
||||||
),
|
),
|
||||||
Key([], "d",
|
Key([], "d",
|
||||||
lazy.spawn("emacsclient -c -a 'emacs' --eval '(dired nil)'"),
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(dired nil)'"),
|
||||||
desc='Launch dired inside Emacs'
|
desc='Emacsclient Dired'
|
||||||
),
|
),
|
||||||
Key([], "i",
|
Key([], "i",
|
||||||
lazy.spawn("emacsclient -c -a 'emacs' --eval '(erc)'"),
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(erc)'"),
|
||||||
desc='Launch erc inside Emacs'
|
desc='Emacsclient ERC (IRC)'
|
||||||
),
|
|
||||||
Key([], "m",
|
|
||||||
lazy.spawn("emacsclient -c -a 'emacs' --eval '(mu4e)'"),
|
|
||||||
desc='Launch mu4e inside Emacs'
|
|
||||||
),
|
),
|
||||||
Key([], "n",
|
Key([], "n",
|
||||||
lazy.spawn("emacsclient -c -a 'emacs' --eval '(elfeed)'"),
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(elfeed)'"),
|
||||||
desc='Launch elfeed inside Emacs'
|
desc='Emacsclient Elfeed (RSS)'
|
||||||
),
|
),
|
||||||
Key([], "s",
|
Key([], "s",
|
||||||
lazy.spawn("emacsclient -c -a 'emacs' --eval '(eshell)'"),
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(eshell)'"),
|
||||||
desc='Launch the eshell inside Emacs'
|
desc='Emacsclient Eshell'
|
||||||
),
|
),
|
||||||
Key([], "v",
|
Key([], "v",
|
||||||
lazy.spawn("emacsclient -c -a 'emacs' --eval '(+vterm/here nil)'"),
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(+vterm/here nil)'"),
|
||||||
desc='Launch vterm inside Emacs'
|
desc='Emacsclient Vterm'
|
||||||
|
),
|
||||||
|
Key([], "w",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(eww \"distro.tube\"))'"),
|
||||||
|
desc='Emacsclient EWW Browser'
|
||||||
)
|
)
|
||||||
]),
|
]),
|
||||||
# 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([], "h",
|
||||||
|
lazy.spawn("dm-hub"),
|
||||||
|
desc='List all dmscripts'
|
||||||
|
),
|
||||||
|
Key([], "a",
|
||||||
|
lazy.spawn("dm-sounds"),
|
||||||
|
desc='Choose ambient sound'
|
||||||
|
),
|
||||||
|
Key([], "b",
|
||||||
|
lazy.spawn("dm-setbg"),
|
||||||
|
desc='Set background'
|
||||||
|
),
|
||||||
|
Key([], "c",
|
||||||
|
lazy.spawn("dtos-colorscheme"),
|
||||||
|
desc='Choose color scheme'
|
||||||
|
),
|
||||||
Key([], "e",
|
Key([], "e",
|
||||||
lazy.spawn("./dmscripts/dm-confedit"),
|
lazy.spawn("dm-confedit"),
|
||||||
desc='Choose a config file to edit'
|
desc='Choose a config file to edit'
|
||||||
),
|
),
|
||||||
Key([], "i",
|
Key([], "i",
|
||||||
lazy.spawn("./dmscripts/dm-maim"),
|
lazy.spawn("dm-maim"),
|
||||||
desc='Take screenshots via dmenu'
|
desc='Take a screenshot'
|
||||||
),
|
),
|
||||||
Key([], "k",
|
Key([], "k",
|
||||||
lazy.spawn("./dmscripts/dm-kill"),
|
lazy.spawn("dm-kill"),
|
||||||
desc='Kill processes via dmenu'
|
desc='Kill processes '
|
||||||
),
|
|
||||||
Key([], "l",
|
|
||||||
lazy.spawn("./dmscripts/dm-logout"),
|
|
||||||
desc='A logout menu'
|
|
||||||
),
|
),
|
||||||
Key([], "m",
|
Key([], "m",
|
||||||
lazy.spawn("./dmscripts/dm-man"),
|
lazy.spawn("dm-man"),
|
||||||
desc='Search manpages in dmenu'
|
desc='View manpages'
|
||||||
|
),
|
||||||
|
Key([], "n",
|
||||||
|
lazy.spawn("dm-note"),
|
||||||
|
desc='Store and copy notes'
|
||||||
),
|
),
|
||||||
Key([], "o",
|
Key([], "o",
|
||||||
lazy.spawn("./dmscripts/dm-bookman"),
|
lazy.spawn("dm-bookman"),
|
||||||
desc='Search your qutebrowser bookmarks and quickmarks'
|
desc='Browser bookmarks'
|
||||||
),
|
|
||||||
Key([], "r",
|
|
||||||
lazy.spawn("./dmscripts/dm-reddit"),
|
|
||||||
desc='Search reddit via dmenu'
|
|
||||||
),
|
|
||||||
Key([], "s",
|
|
||||||
lazy.spawn("./dmscripts/dm-websearch"),
|
|
||||||
desc='Search various search engines via dmenu'
|
|
||||||
),
|
),
|
||||||
Key([], "p",
|
Key([], "p",
|
||||||
lazy.spawn("passmenu"),
|
lazy.spawn("passmenu -p \"Pass: \""),
|
||||||
desc='Retrieve passwords with dmenu'
|
desc='Logout menu'
|
||||||
|
),
|
||||||
|
Key([], "q",
|
||||||
|
lazy.spawn("dm-logout"),
|
||||||
|
desc='Logout menu'
|
||||||
|
),
|
||||||
|
Key([], "r",
|
||||||
|
lazy.spawn("dm-radio"),
|
||||||
|
desc='Listen to online radio'
|
||||||
|
),
|
||||||
|
Key([], "s",
|
||||||
|
lazy.spawn("dm-websearch"),
|
||||||
|
desc='Search various engines'
|
||||||
|
),
|
||||||
|
Key([], "t",
|
||||||
|
lazy.spawn("dm-translate"),
|
||||||
|
desc='Translate text'
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
|
|||||||
+69
-37
@@ -18,17 +18,21 @@ myBrowser = "qutebrowser" # My browser of choice
|
|||||||
keys = [
|
keys = [
|
||||||
### The essentials
|
### The essentials
|
||||||
Key([mod], "Return",
|
Key([mod], "Return",
|
||||||
lazy.spawn(myTerm+" -e fish"),
|
lazy.spawn(myTerm),
|
||||||
desc='Launches My Terminal'
|
desc='Launches My Terminal'
|
||||||
),
|
),
|
||||||
Key([mod, "shift"], "Return",
|
Key([mod, "shift"], "Return",
|
||||||
lazy.spawn("dmenu_run -p 'Run: '"),
|
lazy.spawn("dm-run"),
|
||||||
desc='Run Launcher'
|
desc='Run Launcher'
|
||||||
),
|
),
|
||||||
Key([mod], "b",
|
Key([mod], "b",
|
||||||
lazy.spawn(myBrowser),
|
lazy.spawn(myBrowser),
|
||||||
desc='Qutebrowser'
|
desc='Qutebrowser'
|
||||||
),
|
),
|
||||||
|
# Key([mod], "/",
|
||||||
|
# lazy.spawn("dtos-help"),
|
||||||
|
# desc='DTOS Help'
|
||||||
|
# ),
|
||||||
Key([mod], "Tab",
|
Key([mod], "Tab",
|
||||||
lazy.next_layout(),
|
lazy.next_layout(),
|
||||||
desc='Toggle through layouts'
|
desc='Toggle through layouts'
|
||||||
@@ -140,77 +144,105 @@ keys = [
|
|||||||
desc='Toggle between split and unsplit sides of stack'
|
desc='Toggle between split and unsplit sides of stack'
|
||||||
),
|
),
|
||||||
# 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([mod],"e", [
|
||||||
Key([], "e",
|
Key([], "e",
|
||||||
lazy.spawn("emacsclient -c -a 'emacs'"),
|
lazy.spawn("emacsclient -c -a 'emacs'"),
|
||||||
desc='Launch Emacs'
|
desc='Emacsclient Dashboard'
|
||||||
|
),
|
||||||
|
Key([], "a",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(emms)' --eval '(emms-play-directory-tree \"~/Music/\")'"),
|
||||||
|
desc='Emacsclient EMMS (music)'
|
||||||
),
|
),
|
||||||
Key([], "b",
|
Key([], "b",
|
||||||
lazy.spawn("emacsclient -c -a 'emacs' --eval '(ibuffer)'"),
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(ibuffer)'"),
|
||||||
desc='Launch ibuffer inside Emacs'
|
desc='Emacsclient Ibuffer'
|
||||||
),
|
),
|
||||||
Key([], "d",
|
Key([], "d",
|
||||||
lazy.spawn("emacsclient -c -a 'emacs' --eval '(dired nil)'"),
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(dired nil)'"),
|
||||||
desc='Launch dired inside Emacs'
|
desc='Emacsclient Dired'
|
||||||
),
|
),
|
||||||
Key([], "i",
|
Key([], "i",
|
||||||
lazy.spawn("emacsclient -c -a 'emacs' --eval '(erc)'"),
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(erc)'"),
|
||||||
desc='Launch erc inside Emacs'
|
desc='Emacsclient ERC (IRC)'
|
||||||
),
|
|
||||||
Key([], "m",
|
|
||||||
lazy.spawn("emacsclient -c -a 'emacs' --eval '(mu4e)'"),
|
|
||||||
desc='Launch mu4e inside Emacs'
|
|
||||||
),
|
),
|
||||||
Key([], "n",
|
Key([], "n",
|
||||||
lazy.spawn("emacsclient -c -a 'emacs' --eval '(elfeed)'"),
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(elfeed)'"),
|
||||||
desc='Launch elfeed inside Emacs'
|
desc='Emacsclient Elfeed (RSS)'
|
||||||
),
|
),
|
||||||
Key([], "s",
|
Key([], "s",
|
||||||
lazy.spawn("emacsclient -c -a 'emacs' --eval '(eshell)'"),
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(eshell)'"),
|
||||||
desc='Launch the eshell inside Emacs'
|
desc='Emacsclient Eshell'
|
||||||
),
|
),
|
||||||
Key([], "v",
|
Key([], "v",
|
||||||
lazy.spawn("emacsclient -c -a 'emacs' --eval '(+vterm/here nil)'"),
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(+vterm/here nil)'"),
|
||||||
desc='Launch vterm inside Emacs'
|
desc='Emacsclient Vterm'
|
||||||
|
),
|
||||||
|
Key([], "w",
|
||||||
|
lazy.spawn("emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(eww \"distro.tube\"))'"),
|
||||||
|
desc='Emacsclient EWW Browser'
|
||||||
)
|
)
|
||||||
]),
|
]),
|
||||||
# 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([], "h",
|
||||||
|
lazy.spawn("dm-hub"),
|
||||||
|
desc='List all dmscripts'
|
||||||
|
),
|
||||||
|
Key([], "a",
|
||||||
|
lazy.spawn("dm-sounds"),
|
||||||
|
desc='Choose ambient sound'
|
||||||
|
),
|
||||||
|
Key([], "b",
|
||||||
|
lazy.spawn("dm-setbg"),
|
||||||
|
desc='Set background'
|
||||||
|
),
|
||||||
|
Key([], "c",
|
||||||
|
lazy.spawn("dtos-colorscheme"),
|
||||||
|
desc='Choose color scheme'
|
||||||
|
),
|
||||||
Key([], "e",
|
Key([], "e",
|
||||||
lazy.spawn("./dmscripts/dm-confedit"),
|
lazy.spawn("dm-confedit"),
|
||||||
desc='Choose a config file to edit'
|
desc='Choose a config file to edit'
|
||||||
),
|
),
|
||||||
Key([], "i",
|
Key([], "i",
|
||||||
lazy.spawn("./dmscripts/dm-maim"),
|
lazy.spawn("dm-maim"),
|
||||||
desc='Take screenshots via dmenu'
|
desc='Take a screenshot'
|
||||||
),
|
),
|
||||||
Key([], "k",
|
Key([], "k",
|
||||||
lazy.spawn("./dmscripts/dm-kill"),
|
lazy.spawn("dm-kill"),
|
||||||
desc='Kill processes via dmenu'
|
desc='Kill processes '
|
||||||
),
|
|
||||||
Key([], "l",
|
|
||||||
lazy.spawn("./dmscripts/dm-logout"),
|
|
||||||
desc='A logout menu'
|
|
||||||
),
|
),
|
||||||
Key([], "m",
|
Key([], "m",
|
||||||
lazy.spawn("./dmscripts/dm-man"),
|
lazy.spawn("dm-man"),
|
||||||
desc='Search manpages in dmenu'
|
desc='View manpages'
|
||||||
|
),
|
||||||
|
Key([], "n",
|
||||||
|
lazy.spawn("dm-note"),
|
||||||
|
desc='Store and copy notes'
|
||||||
),
|
),
|
||||||
Key([], "o",
|
Key([], "o",
|
||||||
lazy.spawn("./dmscripts/dm-bookman"),
|
lazy.spawn("dm-bookman"),
|
||||||
desc='Search your qutebrowser bookmarks and quickmarks'
|
desc='Browser bookmarks'
|
||||||
),
|
|
||||||
Key([], "r",
|
|
||||||
lazy.spawn("./dmscripts/dm-reddit"),
|
|
||||||
desc='Search reddit via dmenu'
|
|
||||||
),
|
|
||||||
Key([], "s",
|
|
||||||
lazy.spawn("./dmscripts/dm-websearch"),
|
|
||||||
desc='Search various search engines via dmenu'
|
|
||||||
),
|
),
|
||||||
Key([], "p",
|
Key([], "p",
|
||||||
lazy.spawn("passmenu"),
|
lazy.spawn("passmenu -p \"Pass: \""),
|
||||||
desc='Retrieve passwords with dmenu'
|
desc='Logout menu'
|
||||||
|
),
|
||||||
|
Key([], "q",
|
||||||
|
lazy.spawn("dm-logout"),
|
||||||
|
desc='Logout menu'
|
||||||
|
),
|
||||||
|
Key([], "r",
|
||||||
|
lazy.spawn("dm-radio"),
|
||||||
|
desc='Listen to online radio'
|
||||||
|
),
|
||||||
|
Key([], "s",
|
||||||
|
lazy.spawn("dm-websearch"),
|
||||||
|
desc='Search various engines'
|
||||||
|
),
|
||||||
|
Key([], "t",
|
||||||
|
lazy.spawn("dm-translate"),
|
||||||
|
desc='Translate text'
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
|
|||||||
+2
-4
@@ -701,7 +701,6 @@ myKeys c =
|
|||||||
, ("M-p a", addName "Choose ambient sound" $ spawn "dm-sounds")
|
, ("M-p a", addName "Choose ambient sound" $ spawn "dm-sounds")
|
||||||
, ("M-p b", addName "Set background" $ spawn "dm-setbg")
|
, ("M-p b", addName "Set background" $ spawn "dm-setbg")
|
||||||
, ("M-p c", addName "Choose color scheme" $ spawn "dtos-colorscheme")
|
, ("M-p c", addName "Choose color scheme" $ spawn "dtos-colorscheme")
|
||||||
, ("M-p C", addName "Pick color from scheme" $ spawn "dm-colpick")
|
|
||||||
, ("M-p e", addName "Edit config files" $ spawn "dm-confedit")
|
, ("M-p e", addName "Edit config files" $ spawn "dm-confedit")
|
||||||
, ("M-p i", addName "Take a screenshot" $ spawn "dm-maim")
|
, ("M-p i", addName "Take a screenshot" $ spawn "dm-maim")
|
||||||
, ("M-p k", addName "Kill processes" $ spawn "dm-kill")
|
, ("M-p k", addName "Kill processes" $ spawn "dm-kill")
|
||||||
@@ -803,15 +802,14 @@ myKeys c =
|
|||||||
-- Emacs (SUPER-e followed by a key)
|
-- Emacs (SUPER-e followed by a key)
|
||||||
^++^ subKeys "Emacs"
|
^++^ subKeys "Emacs"
|
||||||
[ ("M-e e", addName "Emacsclient Dashboard" $ spawn (myEmacs ++ ("--eval '(dashboard-refresh-buffer)'")))
|
[ ("M-e e", addName "Emacsclient Dashboard" $ spawn (myEmacs ++ ("--eval '(dashboard-refresh-buffer)'")))
|
||||||
|
, ("M-e a", addName "Emacsclient EMMS (music)" $ spawn (myEmacs ++ ("--eval '(emms)' --eval '(emms-play-directory-tree \"~/Music/\")'")))
|
||||||
, ("M-e b", addName "Emacsclient Ibuffer" $ spawn (myEmacs ++ ("--eval '(ibuffer)'")))
|
, ("M-e b", addName "Emacsclient Ibuffer" $ spawn (myEmacs ++ ("--eval '(ibuffer)'")))
|
||||||
, ("M-e d", addName "Emacsclient Dired" $ spawn (myEmacs ++ ("--eval '(dired nil)'")))
|
, ("M-e d", addName "Emacsclient Dired" $ spawn (myEmacs ++ ("--eval '(dired nil)'")))
|
||||||
, ("M-e i", addName "Emacsclient ERC (IRC)" $ spawn (myEmacs ++ ("--eval '(erc)'")))
|
, ("M-e i", addName "Emacsclient ERC (IRC)" $ spawn (myEmacs ++ ("--eval '(erc)'")))
|
||||||
, ("M-e n", addName "Emacsclient Elfeed (RSS)" $ spawn (myEmacs ++ ("--eval '(elfeed)'")))
|
, ("M-e n", addName "Emacsclient Elfeed (RSS)" $ spawn (myEmacs ++ ("--eval '(elfeed)'")))
|
||||||
, ("M-e s", addName "Emacsclient Eshell" $ spawn (myEmacs ++ ("--eval '(eshell)'")))
|
, ("M-e s", addName "Emacsclient Eshell" $ spawn (myEmacs ++ ("--eval '(eshell)'")))
|
||||||
, ("M-e t", addName "Emacsclient Mastodon" $ spawn (myEmacs ++ ("--eval '(mastodon)'")))
|
|
||||||
, ("M-e v", addName "Emacsclient Vterm" $ spawn (myEmacs ++ ("--eval '(+vterm/here nil)'")))
|
, ("M-e v", addName "Emacsclient Vterm" $ spawn (myEmacs ++ ("--eval '(+vterm/here nil)'")))
|
||||||
, ("M-e w", addName "Emacsclient EWW browser" $ spawn (myEmacs ++ ("--eval '(doom/window-maximize-buffer(eww \"distro.tube\"))'")))
|
, ("M-e w", addName "Emacsclient EWW Browser" $ spawn (myEmacs ++ ("--eval '(doom/window-maximize-buffer(eww \"distro.tube\"))'")))]
|
||||||
, ("M-e a", addName "Emacsclient EMMS (music)" $ spawn (myEmacs ++ ("--eval '(emms)' --eval '(emms-play-directory-tree \"~/Music/\")'")))]
|
|
||||||
|
|
||||||
-- Multimedia Keys
|
-- Multimedia Keys
|
||||||
^++^ subKeys "Multimedia keys"
|
^++^ subKeys "Multimedia keys"
|
||||||
|
|||||||
+2
-4
@@ -555,7 +555,6 @@ myKeys c =
|
|||||||
, ("M-p a", addName "Choose ambient sound" $ spawn "dm-sounds")
|
, ("M-p a", addName "Choose ambient sound" $ spawn "dm-sounds")
|
||||||
, ("M-p b", addName "Set background" $ spawn "dm-setbg")
|
, ("M-p b", addName "Set background" $ spawn "dm-setbg")
|
||||||
, ("M-p c", addName "Choose color scheme" $ spawn "dtos-colorscheme")
|
, ("M-p c", addName "Choose color scheme" $ spawn "dtos-colorscheme")
|
||||||
, ("M-p C", addName "Pick color from scheme" $ spawn "dm-colpick")
|
|
||||||
, ("M-p e", addName "Edit config files" $ spawn "dm-confedit")
|
, ("M-p e", addName "Edit config files" $ spawn "dm-confedit")
|
||||||
, ("M-p i", addName "Take a screenshot" $ spawn "dm-maim")
|
, ("M-p i", addName "Take a screenshot" $ spawn "dm-maim")
|
||||||
, ("M-p k", addName "Kill processes" $ spawn "dm-kill")
|
, ("M-p k", addName "Kill processes" $ spawn "dm-kill")
|
||||||
@@ -657,15 +656,14 @@ myKeys c =
|
|||||||
-- Emacs (SUPER-e followed by a key)
|
-- Emacs (SUPER-e followed by a key)
|
||||||
^++^ subKeys "Emacs"
|
^++^ subKeys "Emacs"
|
||||||
[ ("M-e e", addName "Emacsclient Dashboard" $ spawn (myEmacs ++ ("--eval '(dashboard-refresh-buffer)'")))
|
[ ("M-e e", addName "Emacsclient Dashboard" $ spawn (myEmacs ++ ("--eval '(dashboard-refresh-buffer)'")))
|
||||||
|
, ("M-e a", addName "Emacsclient EMMS (music)" $ spawn (myEmacs ++ ("--eval '(emms)' --eval '(emms-play-directory-tree \"~/Music/\")'")))
|
||||||
, ("M-e b", addName "Emacsclient Ibuffer" $ spawn (myEmacs ++ ("--eval '(ibuffer)'")))
|
, ("M-e b", addName "Emacsclient Ibuffer" $ spawn (myEmacs ++ ("--eval '(ibuffer)'")))
|
||||||
, ("M-e d", addName "Emacsclient Dired" $ spawn (myEmacs ++ ("--eval '(dired nil)'")))
|
, ("M-e d", addName "Emacsclient Dired" $ spawn (myEmacs ++ ("--eval '(dired nil)'")))
|
||||||
, ("M-e i", addName "Emacsclient ERC (IRC)" $ spawn (myEmacs ++ ("--eval '(erc)'")))
|
, ("M-e i", addName "Emacsclient ERC (IRC)" $ spawn (myEmacs ++ ("--eval '(erc)'")))
|
||||||
, ("M-e n", addName "Emacsclient Elfeed (RSS)" $ spawn (myEmacs ++ ("--eval '(elfeed)'")))
|
, ("M-e n", addName "Emacsclient Elfeed (RSS)" $ spawn (myEmacs ++ ("--eval '(elfeed)'")))
|
||||||
, ("M-e s", addName "Emacsclient Eshell" $ spawn (myEmacs ++ ("--eval '(eshell)'")))
|
, ("M-e s", addName "Emacsclient Eshell" $ spawn (myEmacs ++ ("--eval '(eshell)'")))
|
||||||
, ("M-e t", addName "Emacsclient Mastodon" $ spawn (myEmacs ++ ("--eval '(mastodon)'")))
|
|
||||||
, ("M-e v", addName "Emacsclient Vterm" $ spawn (myEmacs ++ ("--eval '(+vterm/here nil)'")))
|
, ("M-e v", addName "Emacsclient Vterm" $ spawn (myEmacs ++ ("--eval '(+vterm/here nil)'")))
|
||||||
, ("M-e w", addName "Emacsclient EWW browser" $ spawn (myEmacs ++ ("--eval '(doom/window-maximize-buffer(eww \"distro.tube\"))'")))
|
, ("M-e w", addName "Emacsclient EWW Browser" $ spawn (myEmacs ++ ("--eval '(doom/window-maximize-buffer(eww \"distro.tube\"))'")))]
|
||||||
, ("M-e a", addName "Emacsclient EMMS (music)" $ spawn (myEmacs ++ ("--eval '(emms)' --eval '(emms-play-directory-tree \"~/Music/\")'")))]
|
|
||||||
|
|
||||||
-- Multimedia Keys
|
-- Multimedia Keys
|
||||||
^++^ subKeys "Multimedia keys"
|
^++^ subKeys "Multimedia keys"
|
||||||
|
|||||||
Reference in New Issue
Block a user