-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cwmrc
94 lines (77 loc) · 2.3 KB
/
.cwmrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# ~/.cwmrc
# Override built-in term command
#command term "xterm +vb +sb -ls -fn 9x15 -bg black -fg white -geometry 80x30"
# command term "st -g 197x63+175+5"
command term "alacritty"
# Turn on sticky group mode i.e. new windows are added to underlying group
sticky yes
## Fonts, Style, Color
fontname "Isonorm:size=8"
color menubg "#d0d0d0"
color menufg "#000000"
color font "#000000"
color selfont "#ffffaf"
borderwidth 2
color activeborder "#ed6a43"
color inactiveborder "#d0d0d0"
gap 5 28 5 5 #[T,B,L,R]
# application menu
command alacritty alacritty
command st st
command sanemacs sanemacs
command doom doom-emacs
command emacs "emacs -q"
command firefox firefox
command spotify spotify
command ncmpcpp "alacritty -t ncmpcpp -e ncmpcpp"
# groups predefined, use xprop to get these from each program
autogroup 0 XClock
autogroup 0 Polybar
autogroup 0 9menu
autogroup 0 dunst
autogroup 1 Firefox
autogroup 2 st
autogroup 2 Alacritty
autogroup 2 emacs*
autogroup 3 ncmpcpp
autogroup 3 Spotify
# inherit current selected group
sticky yes
# Ignore programs by that name by not drawing borders around them.
ignore xclock
# ignore xload
ignore dunst
# ignore polybar
# Keybinds
unbind-key all
unbind-mouse all
bind-key 4-1 group-only-1
bind-key 4-2 group-only-2
bind-key 4-3 group-only-3
bind-key 4S-1 window-movetogroup-1
bind-key 4S-2 window-movetogroup-2
bind-key 4S-3 window-movetogroup-3
bind-key 4-Return terminal
bind-key 4S-r restart
bind-key 4S-Escape quit
bind-key 4-p menu-exec
bind-key 4-Tab window-cycle
bind-key 4S-Tab window-rcycle
bind-key 4S-q window-delete
bind-key 4C-e window-fullscreen
bind-key 4S-e window-maximize
bind-key 4C-l window-menu-label
bind-key 4-w window-hide
bind-key 4S-w menu-window-hidden
bind-key XF86AudioRaiseVolume "volumeControl.sh up"
bind-key XF86AudioLowerVolume "volumeControl.sh down"
bind-key XF86AudioMute "volumeControl.sh mute"
bind-key XF86MonBrightnessDown "brightnessControl.sh down"
bind-key XF86MonBrightnessUp "brightnessControl.sh up"
bind-mouse 4-1 window-move
bind-mouse 4-2 window-lower
bind-mouse 4-3 window-resize
bind-mouse "1" menu-window
bind-mouse "3" menu-cmd
bind-mouse "4" group-rcycle
bind-mouse "5" group-cycle