Turn off activitywatch when on laptop to save resources

This commit is contained in:
Chris Cochrun 2021-07-05 13:32:04 -05:00
parent 76f8758df5
commit f568548c16
2 changed files with 57 additions and 53 deletions

View file

@ -1982,7 +1982,9 @@ Matrix.el is a decent enough matrix client built in emacs. Like it.
I like to track my time with ActivityWatch so I can notice and kill bad habits.
#+begin_src emacs-lisp
(use-package activity-watch-mode
:init (global-activity-watch-mode))
:init
(if (string-equal (system-name) "syl")
(global-activity-watch-mode)))
#+end_src
** MyBible

View file

@ -65,7 +65,7 @@
;; ...especially on linux
(setq x-gtk-use-system-tooltips nil)
;; Favor vertical splits over horizontal ones. Screens are usually wide.
;; Favor vertical splits over horizontal ones. Screens are usually wide.
(setq split-width-threshold 160
split-height-threshold nil)
@ -99,7 +99,7 @@
(straight-use-package 'use-package)
(setq use-package-verbose t)
(use-package command-log-mode
(use-package command-log-mode
:commands command-log-mode)
(use-package all-the-icons)
@ -1490,7 +1490,9 @@ interfere with the default `bongo-playlist-buffer'."
"st" 'password-store-otp-token-copy))
(use-package activity-watch-mode
:init (global-activity-watch-mode))
:init
(if (string-equal (system-name) "syl")
(global-activity-watch-mode)))
;; Reduce rendering/line scan work for Emacs by not rendering cursors or regions
;; in non-focused windows.