summaryrefslogtreecommitdiff
path: root/home/dots
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/dots/.emacs4
-rw-r--r--home/dots/.emacs.d/exwm/Xresources1
-rwxr-xr-xhome/dots/.xinitrc16
3 files changed, 14 insertions, 7 deletions
diff --git a/home/dots/.emacs b/home/dots/.emacs
index 24a5403..462d165 100644
--- a/home/dots/.emacs
+++ b/home/dots/.emacs
@@ -348,8 +348,8 @@
(use-package exwm-mff
:demand t
:load-path "elisp"
- :config
- (exwm-mff-mode))
+ :hook
+ ((server-after-make-frame . exwm-mff-mode)))
(use-package avy
:ensure t
diff --git a/home/dots/.emacs.d/exwm/Xresources b/home/dots/.emacs.d/exwm/Xresources
new file mode 100644
index 0000000..144cd0a
--- /dev/null
+++ b/home/dots/.emacs.d/exwm/Xresources
@@ -0,0 +1 @@
+Xft.dpi: 180 \ No newline at end of file
diff --git a/home/dots/.xinitrc b/home/dots/.xinitrc
index 24ccffb..914bcec 100755
--- a/home/dots/.xinitrc
+++ b/home/dots/.xinitrc
@@ -1,12 +1,18 @@
#!/usr/bin/env sh
+xhost +SI:localuser:$USER
DIR=$HOME/.guix-profile
-$DIR/bin/xinit -- $DIR/bin/Xorg :0 vt1 -keeptty \
- -configdir $DIR/share/X11/xorg.conf.d \
- -modulepath $DIR/lib/xorg/modules
export _JAVA_AWT_WM_NONREPARENTING=1
export VISUAL=emacsclient
export EDITOR="$VISUAL"
+export XDG_DATA_DIRS="/run/current-system/profile/share:$HOME/.guix-profile/share:/run/current-system/profile/share"
+export XDG_CONFIG_DIRS="$HOME/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg"
+export XDG_CONFIG_HOME="$HOME/.config"
+export XDG_CACHE_HOME="$HOME/.cache"
+export XDG_DATA_HOME="$HOME/.local/share"
+export GDK_DPI_SCALE="1.5"
+export GDK_SCALE="1.5"
+export XCURSOR_SIZE="32"
#autocutsel &
xsetroot -solid '#FFFFFF' &
#ulimit -c 0 &
@@ -16,8 +22,8 @@ gsettings set org.gnome.desktop.interface font-name 'Iosevka Aile' &
gsettings set org.gnome.desktop.interface cursor-size 32 &
gsettings set org.gnome.desktop.interface cursor-theme Adwaita &
# xkbcomp $HOME/.config/keymap_locked_modifier.xkb $DISPLAY &
-setxkbmap -layout us -variant colemak -option "caps:ctrl_modifier" &
+#setxkbmap -layout us -variant colemak -option "caps:ctrl_modifier" &
xsetroot -cursor_name left_ptr &
xset r rate 200 60 &
emacs --daemon --eval "(require 'exwm)" -f exwm-enable
-exec dbus-launch emacsclient -c
+exec dbus-run-session emacsclient -c