From cf1937a8a51e86369c5714a0f6ea5eee7c3c07b2 Mon Sep 17 00:00:00 2001 From: Simponic Date: Tue, 3 Jan 2023 10:40:08 -0700 Subject: [PATCH] Elixir-mode and ghc --- .config/sway/config | 16 +++++++++++----- .emacs.d/settings.org | 12 ++++++++++-- .zshrc | 2 ++ 3 files changed, 23 insertions(+), 7 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 0ca02f1..bf6503e 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -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: # @@ -38,11 +44,11 @@ output * bg `find $wallpapers_path -type f | shuf -n 1` fill # # 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 # resumed. It will also lock your screen before your computer goes to sleep. diff --git a/.emacs.d/settings.org b/.emacs.d/settings.org index 536ea68..8700c04 100644 --- a/.emacs.d/settings.org +++ b/.emacs.d/settings.org @@ -251,8 +251,9 @@ #+END_SRC *** Elixir #+BEGIN_SRC emacs-lisp - (use-package elixir-mode - :ensure t) + (use-package elixir-mode + :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 diff --git a/.zshrc b/.zshrc index 611254d..94dc1a8 100644 --- a/.zshrc +++ b/.zshrc @@ -50,3 +50,5 @@ SAVEHIST=10000 setopt appendhistory eval $(thefuck --alias) + +[ -f "/home/logan/.ghcup/env" ] && source "/home/logan/.ghcup/env" # ghcup-env \ No newline at end of file