stumpwm/config.lisp @ 1e75bf5d6f48

More
author Steve Losh <steve@stevelosh.com>
date Wed, 08 May 2024 10:22:28 -0400
parents 4673e928c08e
children (none)
(in-package :stumpwm-user)

(set-prefix-key (kbd "C-space"))
(local-time:reread-timezone-repository)

(set-focus-color "#aaaaaa")
(set-win-bg-color "#111111")
(set-unfocus-color "#444444")
(setf *normal-border-width* 1
      *default-bg-color* #x222222
      *window-border-style* :thin
      (xlib:window-background (screen-root (current-screen))) *default-bg-color*)

(defvar *redirected* (redirect-all-output (data-dir-file "debug" "log")))

(setf *mouse-focus-policy* :click
      *message-window-gravity* :center
      *input-window-gravity* :center
      *debug-level* 0
      *resize-increment* 75
      *new-frame-action* :empty
      *window-format* "(%n%m%20t)"
      *window-name-source* :title
      *maximum-completions* 20
      *shell-program* "/home/sjl/src/dotfiles/bin/bash-dammit"
      losh:*pbcopy-command* "/home/sjl/src/dotfiles/bin/pbcopy"
      losh:*pbpaste-command* "/home/sjl/src/dotfiles/bin/pbpaste")

(defun stumpwm::input-insert-hyphen-or-space (input key)
  ;; Unbreak typing
  (declare (ignore key))
  (input-insert-char input #\space))