More password caching on desktops

This commit is contained in:
TEC 2021-01-04 00:53:04 +08:00
parent 6b5d3c6cfd
commit 40afc96bd6
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 6 additions and 3 deletions

View File

@ -342,9 +342,12 @@ shown by =SPC h v= and selecting what I thought looks good, I've ended up adding
truncate-string-ellipsis "…") ; Unicode ellispis are nicer than "...", and also save /precious/ space
(display-time-mode 1) ; Enable time in the mode-line
(unless (equal "Battery status not available"
(battery))
(display-battery-mode 1)) ; On laptops it's nice to know how much power you have
(if (equal "Battery status not available"
(battery))
(display-battery-mode 1) ; On laptops it's nice to know how much power you have
(setq password-cache-expiry nil)) ; I can trust my desktops ... can't I? (no battery = desktop)
(global-subword-mode 1) ; Iterate through CamelCase words
#+end_src
*** Fullscreen