Turn off activitywatch when on laptop to save resources
This commit is contained in:
parent
76f8758df5
commit
f568548c16
|
@ -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.
|
I like to track my time with ActivityWatch so I can notice and kill bad habits.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package activity-watch-mode
|
(use-package activity-watch-mode
|
||||||
:init (global-activity-watch-mode))
|
:init
|
||||||
|
(if (string-equal (system-name) "syl")
|
||||||
|
(global-activity-watch-mode)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** MyBible
|
** MyBible
|
||||||
|
|
8
init.el
8
init.el
|
@ -65,7 +65,7 @@
|
||||||
;; ...especially on linux
|
;; ...especially on linux
|
||||||
(setq x-gtk-use-system-tooltips nil)
|
(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
|
(setq split-width-threshold 160
|
||||||
split-height-threshold nil)
|
split-height-threshold nil)
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@
|
||||||
(straight-use-package 'use-package)
|
(straight-use-package 'use-package)
|
||||||
(setq use-package-verbose t)
|
(setq use-package-verbose t)
|
||||||
|
|
||||||
(use-package command-log-mode
|
(use-package command-log-mode
|
||||||
:commands command-log-mode)
|
:commands command-log-mode)
|
||||||
|
|
||||||
(use-package all-the-icons)
|
(use-package all-the-icons)
|
||||||
|
@ -1490,7 +1490,9 @@ interfere with the default `bongo-playlist-buffer'."
|
||||||
"st" 'password-store-otp-token-copy))
|
"st" 'password-store-otp-token-copy))
|
||||||
|
|
||||||
(use-package activity-watch-mode
|
(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
|
;; Reduce rendering/line scan work for Emacs by not rendering cursors or regions
|
||||||
;; in non-focused windows.
|
;; in non-focused windows.
|
||||||
|
|
Loading…
Reference in a new issue