changeset 51: |
4eb225e610dc |
parent: |
72c5d8f26db2
|
child: |
5fd0502a3231 |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Tue, 02 Jul 2024 20:11:18 -0400 |
permissions: |
-rw-r--r-- |
description: |
stumpwm |
5 (setq *mouse-focus-policy* :sloppy 6 *float-window-modifier* :SUPER 7 *startup-message* "Greetings, stranger.") 9 ;; (set-font "CommitMono") 10 (set-module-dir "/usr/share/stupmwm/contrib/") 11 (init-load-path *module-dir*) 13 (setf *window-format* "%m%n%s%c") 14 (setf *screen-mode-line-format* (list "[^B%n^b] %W^>%d")) 16 (setf *time-modeline-string* "%a %b %e %k:%M") 18 (setq *mode-line-timeout* 4) 21 (defvar *stumpwm-port* 4004) 24 (swank:create-server :port *stumpwm-port* 25 :style swank:*communication-style* 27 (run-shell-command "sh ~/.fehbg") 28 (when (equal (machine-instance) "zor") 29 (run-shell-command "sh ~/.screenlayout/default.sh")) 30 (dolist (s stumpwm:*screen-list*) 31 (enable-mode-line s (car (screen-heads s)) t))) 35 (defcommand term (&optional program) () 36 (sb-thread:make-thread 38 (run-shell-command (if program 39 (format nil "alacritty ~A" program) 42 (defcommand blueberry () () 43 (sb-thread:make-thread 45 (run-shell-command "blueberry")))) 47 (defcommand chromium () () 48 (sb-thread:make-thread 50 (run-shell-command "chromium")))) 52 (define-key *root-map* (kbd "c") "term")