Re-add swayidle and svelte mode in Emacs

This commit is contained in:
Simponic 2023-01-17 20:57:50 -07:00
parent 710fd57524
commit bea7bdd66f
Signed by untrusted user who does not match committer: simponic
GPG Key ID: 52B3774857EB24B1
2 changed files with 13 additions and 5 deletions

View File

@ -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

View File

@ -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