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/)
output * bg `find $wallpapers_path -type f | shuf -n 1` fill
output HEADLESS-1 {
pos 1920,0
mode 1600x720
# transform 90
}
#
# Example configuration:
#
@ -42,7 +48,7 @@ output * bg `find $wallpapers_path -type f | shuf -n 1` fill
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
# resumed. It will also lock your screen before your computer goes to sleep.

View File

@ -252,7 +252,8 @@
*** Elixir
#+BEGIN_SRC emacs-lisp
(use-package elixir-mode
:ensure t)
:ensure t
:hook ((before-save . elixir-format)))
#+END_SRC
*** Rust
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
:ensure t)
#+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
eval $(thefuck --alias)
[ -f "/home/logan/.ghcup/env" ] && source "/home/logan/.ghcup/env" # ghcup-env