8000 GitHub - gefjon/stumpwm-init
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gefjon/stumpwm-init

Repository files navigation

phoebe’s super sexy stumpwm config

my configuration for stumpwm, my window manager of choice.

to install, do:

git clone git@github.com:gefjon/stumpwm-init.git ~/quicklisp/local-projects/stumpwm-init
mkdir -p ~/.stumpwm.d
ln -s ~/quicklisp/local-projects/stumpwm-init/init.lisp ~/.stumpwm.d/init.lisp

theme

i use the colors defined by dracula. i also use their themes for emacs and xresources. i used to use base16 to manage my themes, but found it overkill; i replaced it with a small macro called DEFTHEME (defined in deftheme.lisp); i pasted the dracula colors into a DEFTHEME form, and then selected them in theme.lisp.

setting .Xresources

clone the dracula xresources repo:

git clone https://github.com/dracula/xresources.git ~/dracula-xresources

and symlink it in place:

ln -s ~/dracula-xresources/Xresources ~/.Xresources

load it into your current session:

xrdb -load ~/.Xresources

once that works, it goes into your userinit, like:

(stumpwm:run-shell-command "xrdb -load ~/.Xresources")

background

setting the background uses xsetroot, which for some reason isn’t preinstalled on manjaro. install it with:

sudo pacman -Syu xorg-xsetroot

emacs daemon

i’m back to using systemd to run emacs. this time, my emacs.service is:

[Unit]
Description=Emacs text editor
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/

[Service]
Type=notify
ExecStart=emacs --fg-daemon
ExecStop=emacsclient --eval "(kill-emacs)"
Restart=on-failure
TimeoutStartSec=infinity

[Install]
WantedBy=default.target

note that TimeoutStartSec=infinity disables systemd’s startup timer mechanism, because for some reason on my machine emacs does not signal when it’s initialized.

if you’re installing fresh, just edit the above directly into the emacs source tree & then install & reload with

sudo make install
systemctl --user daemon-reload
systemctl --user enable emacs.service

brightness

i use brightnessctl to manage my laptop’s screen brightness. to install it:

sudo pacman -Syu brightnessctl

you’ll need to reboot to make the udev rules take effect.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0