dired customizations

This commit is contained in:
Chris Cochrun 2021-10-12 05:30:48 -05:00
parent 22103de07b
commit 1f083af0ea
2 changed files with 10 additions and 2 deletions

View file

@ -25,6 +25,7 @@
- [[#org-mode][Org Mode]] - [[#org-mode][Org Mode]]
- [[#mu4e][MU4E]] - [[#mu4e][MU4E]]
- [[#calendar][Calendar]] - [[#calendar][Calendar]]
- [[#org-caldav-sync][Org-Caldav-sync]]
- [[#magit][Magit]] - [[#magit][Magit]]
- [[#eshell][Eshell]] - [[#eshell][Eshell]]
- [[#sly][Sly]] - [[#sly][Sly]]
@ -104,7 +105,7 @@ In order to have this config work on both my desktop with regular joe-schmoe mon
(defun chris/set-transparency () (defun chris/set-transparency ()
"Set the frame to be transparent on Wayland compositors" "Set the frame to be transparent on Wayland compositors"
(if (string-search "wayland" x-display-name) (if (string-search "wayland" x-display-name)
'((set-frame-parameter (selected-frame) 'alpha '(80 . 50)) '((set-frame-parameter (selected-frame) 'alpha '(100 . 80))
(add-to-list 'default-frame-alist '(alpha . (80 . 50))) (add-to-list 'default-frame-alist '(alpha . (80 . 50)))
(add-to-list 'initial-frame-alist '(alpha . (80 . 50)))))) (add-to-list 'initial-frame-alist '(alpha . (80 . 50))))))
@ -948,6 +949,8 @@ I'm making a small function in here to open files in the appropriate program usi
(setq dired-dwim-target t) (setq dired-dwim-target t)
(setq dired-listing-switches "-aoh --group-directories-first") (setq dired-listing-switches "-aoh --group-directories-first")
(setq dired-hide-details-hide-symlink-targets nil)
(add-hook 'dired-mode-hook #'dired-hide-details-mode)
:general :general
(chris/leader-keys (chris/leader-keys
@ -1738,6 +1741,9 @@ Here we setup an easy way to use ical as a source for calendar views.
:after calfw) :after calfw)
#+end_src #+end_src
** Org-Caldav-sync
I'd like to sync my org-files to caldav and hopefully use more native android apps to manage tasks and reminders.
** Magit ** Magit
Use magit, because why wouldn't you? duh! Use magit, because why wouldn't you? duh!
#+begin_src emacs-lisp #+begin_src emacs-lisp

View file

@ -39,7 +39,7 @@
(defun chris/set-transparency () (defun chris/set-transparency ()
"Set the frame to be transparent on Wayland compositors" "Set the frame to be transparent on Wayland compositors"
(if (string-search "wayland" x-display-name) (if (string-search "wayland" x-display-name)
'((set-frame-parameter (selected-frame) 'alpha '(80 . 50)) '((set-frame-parameter (selected-frame) 'alpha '(100 . 80))
(add-to-list 'default-frame-alist '(alpha . (80 . 50))) (add-to-list 'default-frame-alist '(alpha . (80 . 50)))
(add-to-list 'initial-frame-alist '(alpha . (80 . 50)))))) (add-to-list 'initial-frame-alist '(alpha . (80 . 50))))))
@ -574,6 +574,8 @@ vertically."
(setq dired-dwim-target t) (setq dired-dwim-target t)
(setq dired-listing-switches "-aoh --group-directories-first") (setq dired-listing-switches "-aoh --group-directories-first")
(setq dired-hide-details-hide-symlink-targets nil)
(add-hook 'dired-mode-hook #'dired-hide-details-mode)
:general :general
(chris/leader-keys (chris/leader-keys