Move xlaunch to bin dir
[khome.git] / home / .xbindkeysrc
... / ...
CommitLineData
1# (Mod4 is Windows key)
2
3"xbindkeys_show"
4 control+shift + q
5
6# -----------
7# Volume
8# -----------
9"pactl set-sink-volume @DEFAULT_SINK@ +5%"
10 XF86AudioRaiseVolume
11"pactl set-sink-volume @DEFAULT_SINK@ -5%"
12 XF86AudioLowerVolume
13"pactl set-sink-mute @DEFAULT_SINK@ toggle"
14 XF86AudioMute
15
16# ----------
17# Backlight
18# ----------
19"sudo ~/bin/backlight_adjust +5"
20 XF86MonBrightnessUp
21"sudo ~/bin/backlight_adjust +1"
22 shift + XF86MonBrightnessUp
23"sudo ~/bin/backlight_adjust -5"
24 XF86MonBrightnessDown
25"sudo ~/bin/backlight_adjust -1"
26 shift + XF86MonBrightnessDown
27
28# Workaround: XF86MonBrightness(Up|Down) keys stopped working on Librem 15v4 :(
29"sudo ~/bin/backlight_adjust +5"
30 shift+XF86AudioRaiseVolume
31"sudo ~/bin/backlight_adjust -5"
32 shift+XF86AudioLowerVolume
33
34# -------------------
35# Screen saver/locker
36# -------------------
37# mate-screensaver equivalent: "mate-screensaver-command --lock"
38"xscreensaver-command -activate"
39 XF86ScreenSaver
40"xscreensaver-command -activate"
41 control + alt + l
42#"lock"
43# XF86ScreenSaver
44#"lock"
45# control + alt + l
46
47# ----------
48# MPD client
49# ----------
50# If keyboard has media keys, use them:
51"mpc toggle"
52 XF86AudioPlay
53"mpc stop"
54 XF86AudioStop
55"mpc prev && notify_mpc"
56 XF86AudioPrev
57"mpc next && notify_mpc"
58 XF86AudioNext
59# Otherwise use combinations:
60"mpc toggle"
61 Mod4 + Down
62"mpc stop"
63 Mod4 + Up
64"mpc prev && notify_mpc"
65 Mod4 + Left
66"mpc next && notify_mpc"
67 Mod4 + Right
68
69## cmus-remote
70#"cmus-remote --stop"
71# XF86AudioStop
72#"cmus-remote --prev"
73# XF86AudioPrev
74#"cmus-remote --pause"
75# XF86AudioPlay
76#"cmus-remote --next"
77# XF86AudioNext
78
79
80# --------------------
81# Transparency adjust
82# --------------------
83"picom-trans 40"
84 Mod4 + 4
85"picom-trans 45"
86 Mod4 + Shift + 4
87"picom-trans 50"
88 Mod4 + 5
89"picom-trans 55"
90 Mod4 + Shift + 5
91"picom-trans 60"
92 Mod4 + 6
93"picom-trans 65"
94 Mod4 + Shift + 6
95"picom-trans 70"
96 Mod4 + 7
97"picom-trans 75"
98 Mod4 + Shift + 7
99"picom-trans 80"
100 Mod4 + 8
101"picom-trans 85"
102 Mod4 + Shift + 8
103"picom-trans 90"
104 Mod4 + 9
105"picom-trans 95"
106 Mod4 + Shift + 9
107"picom-trans 100"
108 Mod4 + 0
109
110# ------------------------
111# Screenshot
112# ------------------------
113"scrot --freeze --select 'screen--%Y-%m-%d--%H-%M-%S.png' -e 'mv $f ~/arc/img/Screenshots/'"
114 Print
115
116"scrot --select 'screen--%Y-%m-%d--%H-%M-%S.png' -e 'mv $f ~/arc/img/Screenshots/'"
117 Shift + Print
118
119# Screencast
120"st -c screencast -e ~/bin/screencast"
121 Control + Print
122
123# ----------------
124# App launchers
125# ----------------
126
127"st -e htop"
128 Mod4 + h
129"st -e ncmpcpp"
130 Mod4 + m
131"st -e ranger"
132 Mod4 + r
133
134# Search mpd lib and play selection
135"mpplay"
136 Mod4 + p
137
138# Search video catalog and play selection
139"video-catalog-play"
140 Mod4 + v
141
142# Editors
143"gvim"
144 Mod4 + e
145"emacs"
146 Mod4 + Shift + e
147
148
149### Edit specific files
150
151"today.launch.sh"
152 Mod4 + t
153
154"cd ~/doc/ideas && gvim ideas.md"
155 Mod4 + i
156
157"cd ~/doc/drafts && drafts_prepend && gvim drafts.md"
158 Mod4 + d + Shift
159"cd ~/doc/drafts && gvim $(draft ~/doc/drafts/adhoc)"
160 Mod4 + d
161
162"cd ~/doc/notes && notes_prepend && gvim -c NERDTreeFind notes.md"
163 Mod4 + n + Shift
164"cd ~/doc/notes && gvim $(draft ~/doc/notes/adhoc)"
165 Mod4 + n
166
167"cd ~/doc/bookmarks && gvim bookmarks.md"
168 Mod4 + b
169
170"cd ~/doc/quotations && gvim quotations.md"
171 Mod4 + q
172
173
174# File browser
175"pcmanfm"
176 Mod4 + f
177
178# Weather
179"notify_weather"
180 Mod4 + w
181"xdg-open 'https://forecast.weather.gov/MapClick.php?lat=42.9581&lon=-71.4856'"
182 Mod4 + Shift + w
183
184# Calendar
185"notify_cal"
186 Mod4 + c
187
188# Status
189"notify_status"
190 Mod4 + s
191
192"notify_time-in-zones"
193 Mod4 + z
194
195# MPD
196"notify_mpc"
197 Mod4 + Shift + m
198
199# dunst
200"dunstctl close"
201 control + space
202"dunstctl close-all"
203 control + shift + space
204"dunstctl history-pop"
205 control + grave
This page took 0.029017 seconds and 4 git commands to generate.