A lot of changes to awesome to make it work better for laptop

This commit is contained in:
Chris Cochrun 2021-04-21 09:30:26 -05:00
parent 5e07d99a76
commit f0a6e67f49
7 changed files with 52 additions and 16 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 ] "v" (fn [] (awful.spawn "emacsclient -c -e '(org-agenda-list)' '(delete-other-windows)'"
{:name "*Org Agenda(a)*"}))
@ -304,6 +304,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 []