Re-add swayidle and svelte mode in Emacs
This commit is contained in:
parent
710fd57524
commit
bea7bdd66f
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user