fixing some ui stuff

This commit is contained in:
Chris Cochrun 2021-08-24 10:52:59 -05:00
parent 034b91b880
commit 58bc6620b4
2 changed files with 72 additions and 18 deletions

View file

@ -103,17 +103,17 @@ In order to have this config work on both my desktop with regular joe-schmoe mon
(defun chris/set-transparency ()
"Set the frame to be transparent on Wayland compositors"
(if (string-search "wayland" x-display-name)
(set-frame-parameter (selected-frame) 'alpha '(100 . 100))
((set-frame-parameter (selected-frame) 'alpha '(100 . 100))
(set-frame-parameter (selected-frame) 'undecorated t)
(add-to-list 'default-frame-alist '(undecorated . t))
(add-to-list 'default-frame-alist '(alpha . (100 . 100)))))
(add-to-list 'default-frame-alist '(alpha . (100 . 100)))
(add-to-list 'initial-frame-alist '(alpha . (100 . 100))))))
(if (daemonp)
(add-hook 'after-make-frame-functions
(lambda (frame)
(with-selected-frame frame
(chris/set-font-faces)
(chris/set-transparency)))
(chris/set-font-faces)))
(chris/set-font-faces)))
#+end_src
@ -1127,6 +1127,7 @@ Part of this config includes some special capture templates for my work as a you
"/home/chris/org/ministry_team.org"
"/home/chris/org/todo/todo.org"
"/home/chris/org/newsletter.org"
"/home/chris/org/archive.org"
"/home/chris/org/nvtfc_social_media.org"
"/home/chris/org/lessons/")
org-id-method 'ts)
@ -1166,7 +1167,7 @@ Part of this config includes some special capture templates for my work as a you
(setq org-agenda-window-setup 'other-frame)
(defun chris/org-agenda-awesome ()
(defun chris/org-agenda ()
"create a window in AwesomeWM that houses my org-agenda"
(interactive)
(org-agenda-list))
@ -1668,6 +1669,25 @@ Let's add org-msg to write emails in org-mode
(cfw:ical-create-source
"Outlook" "https://outlook.office365.com/owa/calendar/62a0d491bec4430e825822afd2fd1c01@tfcconnection.org/9acc5bc27ca24ce7a900c57284959f9d8242340735661296952/S-1-8-2197686000-2519837503-3687200543-3873966527/reachcalendar.ics" "Yellow") ; Outlook Calendar
)))
(custom-set-faces
'(cfw:face-title ((t (:weight bold :height 2.0 :inherit fixed-pitch))))
'(cfw:face-header ((t (:slant italic :weight bold))))
'(cfw:face-sunday ((t :weight bold)))
'(cfw:face-saturday ((t :weight bold)))
'(cfw:face-holiday ((t :weight bold)))
;; '(cfw:face-grid ((t :foreground "DarkGrey")))
;; '(cfw:face-default-content ((t :foreground "#bfebbf")))
;; '(cfw:face-periods ((t :foreground "cyan")))
'(cfw:face-day-title ((t :background nil)))
'(cfw:face-default-day ((t :weight bold :inherit cfw:face-day-title)))
'(cfw:face-annotation ((t :inherit cfw:face-day-title)))
'(cfw:face-disable ((t :inherit cfw:face-day-title)))
'(cfw:face-today-title ((t :weight bold)))
'(cfw:face-today ((t :weight bold)))
;; '(cfw:face-select ((t :background "#2f2f2f")))
'(cfw:face-toolbar ((t :foreground "Steelblue4" :background "Steelblue4")))
'(cfw:face-toolbar-button-off ((t :weight bold)))
'(cfw:face-toolbar-button-on ((t :weight bold))))
:general
(chris/leader-keys
:states 'normal
@ -2135,7 +2155,7 @@ Let's also use an automatic garbage collector while idle to make better input.
:config
(setq gcmh-idle-delay 5
gcmh-high-cons-threshold (* 128 1024 1024) ; 128mb
gcmh-verbose t))
gcmh-verbose nil))
#+end_src
** Logging