Merge a lot of awesome changings from laptop

This commit is contained in:
Chris Cochrun 2021-04-24 05:45:54 -05:00
commit 404b809f82
10 changed files with 56 additions and 22 deletions

View file

@ -128,7 +128,7 @@
;; Programs
(awful.key [ modkey ] "d" (fn [] (awful.spawn "emacsclient -c -e '(dired-jump)'"))
{:description "launch dired in new emacs frame" :group "apps" })
(awful.key [ modkey ] "x" (fn [] (awful.spawn "org-capture"))
(awful.key [ modkey ] "x" (fn [] (awful.spawn "emacsclient -c -e '(org-capture)'"))
{:description "launch scratchpad in new emacs frame" :group "apps" })
(awful.key [ modkey ] "'" (fn [] (awful.spawn "emacsclient -e '(org-agenda-list)'"
{:name "*Org Agenda(a)*"}))
@ -306,6 +306,13 @@
(when tag
(awful.tag.viewtoggle tag))))
{:description "toggle tag #4" :group "tag"})
(awful.key [ modkey ] "0"
(fn []
(let [screen (awful.screen.focused)
tag (. screen.tags 10)]
(when tag
(awful.tag.viewtoggle tag))))
{:description "toggle scratchpad" :group "tag"})
;; Toggle tag on focused client.
(awful.key [ modkey ctrl shift ] "1"
(fn []