-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cwmrc
98 lines (79 loc) · 2.6 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
95
96
97
98
# General
# -----------------------------------------------
# Inherit currently selected group
sticky yes
# Look 'n' Feel
# -----------------------------------------------
borderwidth 2
# Set gap of 21px at top of screen to accomodate
# Lemonbar which is set to 20px
gap 21 0 0 0
moveamount 20
fontname "xft:Roboto:style=Regular:size=12"
color inactiveborder RebeccaPurple
color activeborder MediumAquamarine
# Ignore windows with these names
ignore dmenu
ignore lemonbar
# Key Bindings
# -----------------------------------------------
# Reset all
unbind-key all
# General
#bind-key 4-Return terminal
bind-key 4-Return "urxvtc"
bind-key 4S-r restart
bind-key 4S-Return "emacsclient -c"
# Windows
bind-key 4-Tab window-cycle
bind-key 4-f window-fullscreen
bind-key 4-m window-maximize
bind-key 4-v window-vtile
bind-key 4S-c window-delete
bind-key 4-Left window-snap-left
bind-key 4-Down window-snap-down
bind-key 4-Up window-snap-up
bind-key 4-Right window-snap-right
# Menus
bind-key 4-e menu-exec
bind-key 4-a menu-cmd
bind-key 4-w menu-window
bind-key 4-p "dmenu_run"
# Show groups
bind-key 4-1 group-only-1
bind-key 4-2 group-only-2
bind-key 4-3 group-only-3
bind-key 4-4 group-only-4
bind-key 4-5 group-only-5
bind-key 4-6 group-only-6
bind-key 4-7 group-only-7
bind-key 4-8 group-only-8
bind-key 4-9 group-only-9
bind-key 4S-a group-toggle-all
# Move to group
bind-key 4S-1 window-movetogroup-1
bind-key 4S-2 window-movetogroup-2
bind-key 4S-3 window-movetogroup-3
bind-key 4S-4 window-movetogroup-4
bind-key 4S-5 window-movetogroup-5
bind-key 4S-6 window-movetogroup-6
bind-key 4S-7 window-movetogroup-7
bind-key 4S-8 window-movetogroup-8
bind-key 4S-9 window-movetogroup-9
# Commands
# -----------------------------------------------
# Reset all mouse bindings
unbind-mouse all
bind-mouse 4-1 window-move
bind-mouse 4S-1 window-resize
# Commands
# -----------------------------------------------
command firefox "firefox"
command st "st"
command xterm "xterm"
command emacs "emacs"
command urxvt "urxvt"
command zoom "zoom"
command slack "slack"
command spotify "spotify"
command vscode "code"