29 lines
902 B
Common Lisp
29 lines
902 B
Common Lisp
(in-package :stumpwm)
|
|
|
|
;; Start up a swank server for happy SLIME hacking
|
|
(require :swank)
|
|
(swank-loader:init)
|
|
(swank:create-server :port 4004
|
|
:style swank:*communication-style*
|
|
:dont-close t)
|
|
|
|
;; Keybindings
|
|
(define-key stumpwm:*root-map* (kbd "C-f") "exec firefox")
|
|
(define-key stumpwm:*root-map* (kbd "d") "exec rofi -show run")
|
|
(define-key stumpwm:*root-map* (kbd "w") "exec rofi -show window")
|
|
(define-key stumpwm:*root-map* (kbd "P") "exec passmenu")
|
|
(define-key stumpwm:*root-map* (kbd "N") "exec networkmanager_dmenu")
|
|
|
|
;; X Windows config
|
|
(run-shell-command "xsetroot -cursor_name left_ptr")
|
|
|
|
;; UI
|
|
(ql:quickload "clx-truetype")
|
|
(load-module "ttf-fonts")
|
|
(set-font
|
|
(make-instance 'xft:font :family "Triplicate T4c" :subfamily "Regular" :size 12))
|
|
(set '*message-window-padding* 4)
|
|
|
|
;; Notifications via Dunst
|
|
(run-shell-command "/usr/bin/dunst")
|