~thecatster/.emacs.d

.emacs.d/exwm/start-exwm.sh -rwxr-xr-x 902 bytes
2c969f2eDaniil Rose Update gitignore to include elpa 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
## Run site init scripts. Usually not necessary.
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
    for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
        [ -x "$f" ] && . "$f"
    done
    unset f
fi

. ~/.emacs.d/exwm/exwm_screen_layout
~/.emacs.d/exwm/exwm_xrandr.bash

# Set default cursor, instead of the typical "x."
xsetroot -cursor_name left_ptr

# Start NetworkManager applet for easier WiFi access and preventing network-manager-config from crashing (why does that happen?)
nm-applet &

# Instead of launching multiple Emacsen, I already have a server
# running. Use that instead as the EDITOR.
export VISUAL=emacsclient
export EDITOR="$VISUAL"

# Allows scrolling in GTK 3 apps
export GDK_CORE_DEVICE_EVENTS=1

exec dbus-launch emacs --eval "(progn (add-to-list 'load-path \"~/.emacs.d/lisp/\") (require 'catsters-exwm))" --eval "(dw/start-panel)" --eval "(require 'exwm)" -f exwm-enable