summaryrefslogtreecommitdiffstats
path: root/.fluxbox/keys
blob: 6a62a9f13a158423a8c153bf70376fff91f682c4 (plain)
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
#
# Window Management
#

# Alt(+Shift)+Tab
Mod1 Tab       :NextWindow groups
Mod1 Shift Tab :PrevWindow groups

# Super(+Shift)+Tab
Mod4 Tab       :NextTab
Mod4 Shift Tab :PrevTab

# Alt+F(N)
Mod1 F2       :Exec fbrun
Mod1 F4       :Close
Mod1 Shift F4 :Kill
Mod1 F5       :Shade
Mod1 F6       :Stick
Mod1 F7       :StartMoving
Mod1 F8       :StartResizing BottomRight
Mod1 F9       :Minimize
Mod1 F10      :Maximize
Mod1 F11      :Fullscreen

# Alt+Space
Mod1 space :WindowMenu

# Alt+drag
Mod1 OnWindow Click1 :StartMoving

# (Un)shade window when scrolling on titlebar
OnTitlebar Click4 :ShadeOn
OnTitlebar Click5 :ShadeOff

#
# Workspace Management
#

# Switch to next/previous workspace
Control Mod1 Right :NextWorkspace 1
Control Mod1 Left  :PrevWorkspace 1

# Switch to specific workspace
Control F1  :Workspace 1
Control F2  :Workspace 2
Control F3  :Workspace 3
Control F4  :Workspace 4
Control F5  :Workspace 5
Control F6  :Workspace 6
Control F7  :Workspace 7
Control F8  :Workspace 8
Control F9  :Workspace 9
Control F10 :Workspace 10
Control F11 :Workspace 11
Control F12 :Workspace 12

# Move window to next/previous workspace
Control Mod1 Shift Right :TakeToNextWorkspace 1
Control Mod1 Shift Left  :TakeToPrevWorkspace 1

# Move window to next/previous workspace
Control Shift F1  :TakeToWorkspace 1
Control Shift F2  :TakeToWorkspace 2
Control Shift F3  :TakeToWorkspace 3
Control Shift F4  :TakeToWorkspace 4
Control Shift F5  :TakeToWorkspace 5
Control Shift F6  :TakeToWorkspace 6
Control Shift F7  :TakeToWorkspace 7
Control Shift F8  :TakeToWorkspace 8
Control Shift F9  :TakeToWorkspace 9
Control Shift F10 :TakeToWorkspace 10
Control Shift F11 :TakeToWorkspace 11
Control Shift F12 :TakeToWorkspace 12

#
# Session and Applications
#

# Session/screen management
Mod4 F1          :Delay {Exec xset dpms force off} 1000000
Pause            :Delay {Exec xset dpms force off} 1000000
Control Mod1 d l :Exec xscreensaver-command -lock
Control Mod1 d s :Exec sudo shutdown -hP now
Control Mod1 d r :Exec sudo reboot

# Audio
XF86AudioRaiseVolume :Exec amixer set Master,0 12.00dB+
XF86AudioLowerVolume :Exec amixer set Master,0 12.00dB-
XF86AudioMute        :Exec amixer set Master,0 toggle

# Music
XF86AudioPlay       :Exec mpc toggle
XF86AudioStop       :Exec mpc stop
XF86AudioNext       :Exec mpc next
XF86AudioPrev       :Exec mpc prev
Shift XF86AudioNext :Exec mpc seek -00:00:05
Shift XF86AudioPrev :Exec mpc seek +00:00:05

# PrtSc
Print       :Exec scrot ~/shots/%Y-%m-%d_%H:%M:%S.png
Shift Print :Exec scrot -u -b ~/shots/%Y-%m-%d_%H:%M:%S.png
Mod1 Print  :Exec scrot -s ~/shots/%Y-%m-%d_%H:%M:%S.png

# Launch applications
#Mod4 :CustomMenu ~/.fluxbox/menus/applications
Mod4 t :Exec x-terminal-emulator
Mod4 w :Exec x-www-browser
Mod4 c :Exec gnome-calculator
Mod4 o :Exec libreoffice