-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cwmrc
108 lines (84 loc) · 2.47 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
99
100
101
102
103
104
105
106
107
108
# settings
borderwidth 0
snapdist 10
gap 10 10 10 10
sticky yes
snapdist 4
unbind-key all
moveamount 10
fontname "JetBrainsMono Nerd Font:size=9"
## execs
bind-key 4-Return "urxvt"
bind-key 4S-Return "st -e tmux"
bind-key M-Return "st"
bind-key 4-a "thunar"
bind-key 4-s "geany"
bind-key 4-z "brave"
bind-key 4-x "farge"
bind-key 4-w "wllppr"
bind-key 4-c "cky"
bind-key 4-q "qutebrowser"
bind-key Print "awesome-flameshot"
bind-key 4-d "bmenu"
bind-key 4-comma menu-cmd
## 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-8 group-only-4
bind-key 4-9 group-only-5
bind-key 4-0 group-only-6
bind-key 4S-1 window-movetogroup-1
bind-key 4S-2 window-movetogroup-2
bind-key 4S-3 window-movetogroup-3
bind-key 4S-8 window-movetogroup-4
bind-key 4S-9 window-movetogroup-5
bind-key 4S-0 window-movetogroup-6
## keybinds
bind-key M-Tab window-cycle
bind-key 4-Tab group-cycle
bind-key 4-f window-maximize
bind-key 4-space window-fullscreen
bind-key 4-o window-snap-left
bind-key 4-p window-snap-right
bind-key 4S-q window-close
bind-key 4S-b window-vmaximize
bind-key 4S-r restart
bind-key 4S-e quit
## resize
bind-key 4S-h window-resize-left
bind-key 4S-j window-resize-down
bind-key 4S-k window-resize-up
bind-key 4S-l window-resize-right
bind-key 4-h window-move-left-big
bind-key 4-j window-move-down-big
bind-key 4-k window-move-up-big
bind-key 4-l window-move-right-big
## mousebinds
unbind-mouse all
bind-mouse M-1 window-resize
bind-mouse 4S-1 window-resize
bind-mouse 4-1 window-move
bind-mouse 4-2 window-lower
## colors
color menufg "#f0f0f0"
color menubg "#0f0f0f"
color font "#f0f0f0"
color selfont "#0f0f0f"
color activeborder "#f0f0f0"
color inactiveborder"#0f0f0f"
## vol
bind-key XF86AudioLowerVolume "/usr/bin/pactl set-sink-volume @DEFAULT_SINK@ -5%"
bind-key XF86AudioRaiseVolume "/usr/bin/pactl set-sink-volume @DEFAULT_SINK@ +5%"
bind-key XF86AudioMute "/usr/bin/pactl set-sink-mute @DEFAULT_SINK@ toggle"
bind-key XF86MonBrightnessUp "/bin/xbacklight -inc 10"
bind-key XF86MonBrightnessDown "/bin/xbacklight -dec 10"
## launch it
autogroup 2 "Firefox"
autogroup 3 "zathura"
## commands
command firefox "brave"
command thunar "gksu thunar"
command notes "mousepad"
command play "st -e miniplayer"
command song "st -e ncmpcpp"