Elixir-mode and ghc

This commit is contained in:
Simponic 2023-01-03 10:40:08 -07:00
parent 80ff7e7066
commit cf1937a8a5
Signed by untrusted user who does not match committer: simponic
GPG Key ID: 52B3774857EB24B1
3 changed files with 23 additions and 7 deletions

View File

@ -27,6 +27,12 @@ set $wallpapers_path $HOME/Wallpapers
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg `find $wallpapers_path -type f | shuf -n 1` fill output * bg `find $wallpapers_path -type f | shuf -n 1` fill
output HEADLESS-1 {
pos 1920,0
mode 1600x720
# transform 90
}
# #
# Example configuration: # Example configuration:
# #
@ -38,11 +44,11 @@ output * bg `find $wallpapers_path -type f | shuf -n 1` fill
# #
# Example configuration: # Example configuration:
# #
exec swayidle -w \ exec swayidle -w \
timeout 600 'swaylock -f -c 000000' \ timeout 600 'swaylock -f -c 000000' \
timeout 900 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ timeout 900 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000' before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off # 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 # your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep. # resumed. It will also lock your screen before your computer goes to sleep.

View File

@ -251,8 +251,9 @@
#+END_SRC #+END_SRC
*** Elixir *** Elixir
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package elixir-mode (use-package elixir-mode
:ensure t) :ensure t
:hook ((before-save . elixir-format)))
#+END_SRC #+END_SRC
*** Rust *** Rust
After installing the ~rust-analyzer~ program, the following can be used: After installing the ~rust-analyzer~ program, the following can be used:
@ -311,3 +312,10 @@ After installing the ~rust-analyzer~ program, the following can be used:
(use-package kotlin-mode (use-package kotlin-mode
:ensure t) :ensure t)
#+END_SRC #+END_SRC
* Elcord
#+BEGIN_SRC emacs-lisp
(use-package elcord
:ensure t)
(elcord-mode)
#+END_SRC

2
.zshrc
View File

@ -50,3 +50,5 @@ SAVEHIST=10000
setopt appendhistory setopt appendhistory
eval $(thefuck --alias) eval $(thefuck --alias)
[ -f "/home/logan/.ghcup/env" ] && source "/home/logan/.ghcup/env" # ghcup-env