all repos — dotfiles @ c6f4243437130d6b5e0b972e1700b255f3d9ea8b

random configuration files

fluxbox/keys (raw)

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
109
110
111
112
113
114
115
# click on the desktop to get menus
OnDesktop Mouse1 :HideMenus
OnDesktop Mouse2 :WorkspaceMenu
OnDesktop Mouse3 :RootMenu

# scroll on the desktop to change workspaces
OnDesktop Mouse4 :PrevWorkspace
OnDesktop Mouse5 :NextWorkspace

# scroll on the toolbar to change current window
OnToolbar Mouse4 :PrevWindow {static groups} (iconhidden=no)
OnToolbar Mouse5 :NextWindow {static groups} (iconhidden=no)

# alt + left/right click to move/resize a window
OnWindowBorder Move1 :StartMoving


OnLeftGrip Move1 :StartResizing bottomleft
OnRightGrip Move1 :StartResizing bottomright

# alt + middle click to lower the window
OnWindow Mod1 Mouse2 :Lower

# control-click a window's titlebar and drag to attach windows
OnTitlebar Control Mouse1 :StartTabbing
OnTitlebar Mouse4 :Shade
OnTitlebar Mouse5 :Shade

# double click on the titlebar to shade
OnTitlebar Double Mouse1 :Maximize

# left click on the titlebar to move the window
OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab}
OnTitlebar Move1  :StartMoving

# middle click on the titlebar to lower
OnTitlebar Mouse2 :Shade

# right click on the titlebar for a menu of options
OnTitlebar Mouse3 :WindowMenu

# alt-tab
Mod1 Tab :NextWindow {static groups} (workspace=[current])
Mod1 Shift Tab :PrevWindow {static groups} (workspace=[current])

# cycle through tabs in the current window
Mod4 Tab :NextTab
Mod4 Shift Tab :PrevTab

# go to a specific tab in the current window
Mod4 1 :Tab 1
Mod4 2 :Tab 2
Mod4 3 :Tab 3
Mod4 4 :Tab 4
Mod4 5 :Tab 5
Mod4 6 :Tab 6
Mod4 7 :Tab 7
Mod4 8 :Tab 8
Mod4 9 :Tab 9

# open a terminal
Mod4 slash :Exec alacritty

# center active window
Mod4 c :MacroCmd {ResizeTo 60% 100%} {MoveTo 20% 0%}
Mod4 Shift c :MacroCmd {ResizeTo 60% 60%} {MoveTo 20% 20%}
# quarter tiling
Mod4 h :MacroCmd {ResizeTo 50% 100%} {MoveTo 0% 0%}
Mod4 j :MacroCmd {ResizeTo 100% 50%} {MoveTo 0% 50%}
Mod4 k :MacroCmd {ResizeTo 100% 50%} {MoveTo 0% 0%}
Mod4 l :MacroCmd {ResizeTo 50% 100%} {MoveTo 50% 0%}
Mod4 q :MacroCmd {ResizeTo 50% 50%} {MoveTo 0% 0%}
Mod4 w :MacroCmd {ResizeTo 50% 50%} {MoveTo 0% 50%}
Mod4 o :MacroCmd {ResizeTo 50% 50%} {MoveTo 50% 50%}
Mod4 p :MacroCmd {ResizeTo 50% 50%} {MoveTo 50% 0%}

# open a dialog to run programs
Mod1 space :Exec /home/nilix/bin/9/dmenu_exe

# volume settings, using common keycodes
# if these don't work, use xev to find out your real keycodes
123 :Exec ~/src/zenUtils/xtraKeys.sh v u
122 :Exec ~/src/zenUtils/xtraKeys.sh v d
121 :Exec ~/src/zenUtils/xtraKeys.sh v m
198 :Exec ~/src/zenUtils/xtraKeys.sh v mm
232 :Exec ~/src/zenUtils/xtraKeys.sh b d
233 :Exec ~/src/zenUtils/xtraKeys.sh b u

# current window commands
Mod4 d :Close
Mod4 Shift d :Kill
Mod4 i :Minimize
Mod4 m :Maximize
Mod4 f :Fullscreen
Mod4 s :Stick
Mod4 u :Deiconify
OnWindow Mod4 Mouse1 :StartMoving
OnWindow Mod4 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing}
# open the window menu
# Mod4 space :WindowMenu

# change to previous/next workspace
Mod4 Left :PrevWorkspace
Mod4 Right :NextWorkspace

# send the current window and follow it to previous/next workspace
Mod4 Shift Left :TakeToPrevWorkspace
Mod4 Shift Right :TakeToNextWorkspace

# lock screen
Mod4 Escape :Exec slock

# zenUtils
Control Mod1 BackSpace :Exec sudo ~/src/zenUtils/logout.sh -p
Mod4 F1 :Exec ~/src/zenUtils/nmtuiWin.sh