From bea7bdd66f34aa1b85c95e0b2024f65fb84147f4 Mon Sep 17 00:00:00 2001 From: Simponic Date: Tue, 17 Jan 2023 20:57:50 -0700 Subject: [PATCH] Re-add swayidle and svelte mode in Emacs --- .config/sway/config | 8 ++++---- .emacs.d/settings.org | 10 +++++++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index bf6503e..cf679a8 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -44,10 +44,10 @@ output HEADLESS-1 { # # Example configuration: # - exec swayidle -w \ - timeout 600 'swaylock -f -c 000000' \ - timeout 900 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ - before-sleep 'swaylock -f -c 000000' +exec swayidle -w \ + timeout 600 'swaylock -f -c 000000' \ + timeout 900 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ + before-sleep 'swaylock -f -c 000000' # This will lock your screen after 300 seconds of inactivity, then turn off # your displays after another 300 seconds, and turn your screens back on when diff --git a/.emacs.d/settings.org b/.emacs.d/settings.org index 8700c04..ec7a3fd 100644 --- a/.emacs.d/settings.org +++ b/.emacs.d/settings.org @@ -306,7 +306,15 @@ After installing the ~rust-analyzer~ program, the following can be used: :host github :repo "pimeys/emacs-prisma-mode")) #+END_SRC - +**** Svelte +#+BEGIN_SRC emacs-lisp + (use-package svelte-mode + :ensure t + :straight '(svelte-mode + :type git + :host github + :repo "leafOfTree/svelte-mode")) +#+END_SRC *** Kotlin #+BEGIN_SRC emacs-lisp (use-package kotlin-mode