summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/.config/emacs-kj/init.el8
-rwxr-xr-xsetup.sh2
-rw-r--r--zsh/.zshenv5
3 files changed, 11 insertions, 4 deletions
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el
index 8251fc3..aa9d09f 100644
--- a/emacs/.config/emacs-kj/init.el
+++ b/emacs/.config/emacs-kj/init.el
@@ -411,9 +411,13 @@
(org-mode . mixed-pitch-mode)
)
+(setq kj/font-height
+ (cond ((string= (system-name) "fedora") 100)
+ (t 150)))
+
(custom-set-faces
- `(variable-pitch ((t (:family "Noto Serif" :height 150))))
- `(default ((t (:family "Iosevka" :height 150)))))
+ `(variable-pitch ((t (:family "Noto Serif" :height ,kj/font-height))))
+ `(default ((t (:family "Iosevka" :height ,kj/font-height)))))
;; (unless (equal system-name "minideck")
;; (set-face-attribute 'fixed-pitch nil :font "Iosevka" :height 150)
diff --git a/setup.sh b/setup.sh
index 2a6e2f6..8c74f88 100755
--- a/setup.sh
+++ b/setup.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
-STOW="stow --no-folding -R -v"
+STOW="stow --no-folding -R -v -t $HOME"
cd "$(dirname $0)"
git submodule update --init --recursive --depth 1
diff --git a/zsh/.zshenv b/zsh/.zshenv
index c7725af..8b0390c 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -4,12 +4,15 @@ export EDITOR=emacsclient
export TERMINAL=urxvt
export LEDGER_FILE=$HOME/org/hledger/2021.journal
export CHEMACS_PROFILE=default
-if [[ $(hostname) =~ pincer* || $(hostname) =~ dex* ]]; then
+if [[ $(hostname) =~ pincer* || $(hostname) =~ dex* || $(hostname) =~ fedora ]]; then
export MOZ_ENABLE_WAYLAND=1
export GDK_BACKEND=wayland
export QT_QPA_PLATFORM=wayland
#export GDK_SCALE=2
fi
+if [[ $(hostname) =~ fedora ]]; then
+ export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
+fi
PATH="$HOME/bin:$HOME/build/doom-emacs/bin:$PATH:$HOME/.cargo/bin"