Changeset af94f3d in dotfiles for wm/.stumpwmrc


Ignore:
Timestamp:
Oct 16, 2022, 8:04:17 PM (2 years ago)
Author:
w96k <w96k@…>
Branches:
master
Children:
8217b6f
Parents:
15969f5
Message:

Edit stumpwm config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wm/.stumpwmrc

    r15969f5 raf94f3d  
    33(in-package :stumpwm)
    44
     5(run-shell-command "xfce4-panel")
     6
    57(setq *startup-message* "Welcome to your lovely LISP-machine")
    6 (set-prefix-key (kbd "C-t"))
    7 
    8 ;; (require "ttf-fonts")
    9 ;; (setf xft:*font-dirs* '("/run/current-system/profile/share/fonts/"))
    10 ;; (setf
    11 ;;  clx-truetype:+font-cache-filename+
    12 ;;  (concat (getenv "HOME") "/.fonts/font-cache.sexp"))
    13 ;; (xft:cache-fonts)
    14 ;; (set-font (make-instance 'xft:font :family "Fira Sans"
    15 ;;                       :subfamily "Regular" :size 10.5))
    16 
    17 ;; Not available in guix yet
    18 ;;(require "battery-portable")
    19 
    20 (require "cpu")
    21 (require "mem")
    22 
    23 ;; Most of this settings are stumpwm defaults
    24 (setf *mode-line-pad-x* 0
    25       *mode-line-pad-y* 0
    26       *mouse-focus-policy* :click
    27       *window-border-style* :thin
    28       *message-window-gravity* :center
    29       *normal-border-width* 0
    30       *mode-line-border-width* 0
    31      
    32       *transient-border-width* 0
    33       *mode-line-position* :top
    34       *time-modeline-string* "%d.%m.%y %k:%M"
    35       *window-format* "%m%n%s%t "
    36       *hidden-window-color* ""
    37       *cpu-modeline-fmt* "%C"
    38       *mode-line-background-color* "#f2f2f2"
    39       *startup-mode-line* t
    40 
    41       ;; Fix long windows names
    42       *window-name-source* :class
    43 
    44       ;; Delimiter in mode-line
    45       *delim* " ^7|^0 "
    46 
    47       ;; Mode-line customization
    48       *screen-mode-line-format*
    49       (list
    50        ;; Windows
    51        "^07%v^>^0"
    52        ;; CPU
    53        "%C" *delim*
    54        ;; RAM
    55        "%M" *delim*
    56        ;; Battery
    57        "%B" *delim*
    58        ;; Date
    59        "%d"
    60        ))
     8(set-prefix-key (kbd "C-TAB"))
    619
    6210(set-normal-gravity :top)
    63 (set-win-bg-color "#f2f2f2")
    6411
    6512(defcommand icecat () ()
     
    10552
    10653;; Gaps: useless concept to be honest
    107 ;; (load-module "swm-gaps")
     54(load-module "swm-gaps")
    10855;; (setf swm-gaps:*inner-gaps-size* 0)
    10956;; (setf swm-gaps:*outer-gaps-size* 2)
     
    11158
    11259;; Show / Hide mode-line
    113 (define-key *root-map* (kbd "M") "mode-line")
     60;; (define-key *root-map* (kbd "M") "mode-line")
    11461
    11562;; Old fix for scrolling gtk issue
Note: See TracChangeset for help on using the changeset viewer.