changeset 83: |
8bd50ea9a546 |
parent: |
5fd0502a3231
|
child: |
a86cb552d6df |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Mon, 12 Aug 2024 21:50:44 -0400 |
permissions: |
-rw-r--r-- |
description: |
zor updates |
5 ;; (ql:quickload :swank) 8 ;; (defvar *stumpwm-port* 4040) 10 ;; (swank:create-server :port *stumpwm-port* 11 ;; :style swank:*communication-style*) 13 (defcommand load-std () () 16 (defcommand load-prelude () () 17 (ql:quickload :prelude)) 19 (defcommand load-core () () 22 (defcommand load-user () () 25 (setq *mouse-focus-policy* :sloppy 26 *float-window-modifier* :SUPER 27 *startup-message* "Greetings, stranger.") 29 (set-font "-*-terminal") 30 (set-module-dir "/usr/share/stupmwm/contrib/") 31 (init-load-path *module-dir*) 33 (set-fg-color "#ffffff") 34 (set-bg-color "#000000") 35 (set-border-color "#7E5D90") 36 (set-focus-color "#170F14") 37 (set-unfocus-color "#232731") 38 (set-win-bg-color "#22272F") 39 (set-float-focus-color "#8ED3A1") 40 (set-float-unfocus-color "#232731") 42 (setf *mode-line-background-color* "#161613") 43 (setf *mode-line-foreground-color* "#FFFFFF") 44 (setf *mode-line-border-color* "#28394c") 45 (setf *mode-line-position* :bottom) 47 (setf *colors* (list "#010101" ; 0 black 56 (setf *window-format* "%m%n%s%c") 57 (setf *screen-mode-line-format* (list "[^B%n^b] %W^>%d")) 58 (set-normal-gravity :center) 59 (set-maxsize-gravity :center) 60 (set-transient-gravity :center) 61 (setf *time-modeline-string* "%a %b %e %k:%M") 63 (setq *mode-line-timeout* 4) 67 (run-shell-command "sh ~/.fehbg") 68 (when (equal (machine-instance) "zor") 69 (run-shell-command "sh ~/.screenlayout/default.sh")) 70 (dolist (s stumpwm:*screen-list*) 71 (enable-mode-line s (car (screen-heads s)) t))) 73 (defcommand term (&optional program) () 74 (sb-thread:make-thread 76 (run-shell-command (if program 77 (format nil "alacritty ~A" program) 80 (defcommand blueberry () () 81 (sb-thread:make-thread 83 (run-shell-command "blueberry")))) 85 (defcommand chromium () () 86 (sb-thread:make-thread 88 (run-shell-command "chromium")))) 90 (define-key *root-map* (kbd "c") "term")