Skip to content

Instantly share code, notes, and snippets.

@lispandfound
Last active June 19, 2022 21:51
Show Gist options
  • Save lispandfound/ac271e1e28c94b5bcf72350a9039c168 to your computer and use it in GitHub Desktop.
Save lispandfound/ac271e1e28c94b5bcf72350a9039c168 to your computer and use it in GitHub Desktop.
stumpwm config
;; -*- mode: Lisp -*-
#-quicklisp
(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))
(in-package :stumpwm)
(require 'swank)
(swank-loader:init)
(swank:create-server :port 4004
:style swank:*communication-style*
:dont-close t)
;; (run-shell-command "xsetroot -cursor_name left_ptr")
(run-shell-command "setxkbmap -option ctrl:nocaps")
(run-shell-command "xrandr --output DP-0 --primary --output DVI-D-0 --right-of DP-0 --rotate left")
(set-prefix-key (kbd "C-'"))
(which-key-mode)
(define-frame-preference (gnewbg ".spotify")
(0 nil t :title "Spotify"))
(setq *shell-program* "/bin/bash")
(setf (getenv "GDK_CORE_DEVICE_EVENTS") "1")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment