Commit | Line | Data |
---|---|---|
daa71662 SK |
1 | # (Mod4 is Windows key) |
2 | ||
efe0d061 SK |
3 | "xbindkeys_show" |
4 | control+shift + q | |
5 | ||
f602582a SK |
6 | # ----------- |
7 | # Volume | |
8 | # ----------- | |
a22f429b | 9 | "pactl set-sink-volume @DEFAULT_SINK@ +5%" |
efe0d061 | 10 | XF86AudioRaiseVolume |
a22f429b | 11 | "pactl set-sink-volume @DEFAULT_SINK@ -5%" |
efe0d061 | 12 | XF86AudioLowerVolume |
a22f429b | 13 | "pactl set-sink-mute @DEFAULT_SINK@ toggle" |
efe0d061 SK |
14 | XF86AudioMute |
15 | ||
f602582a SK |
16 | # ---------- |
17 | # Backlight | |
18 | # ---------- | |
ca4b1dbc | 19 | "sudo /home/siraaj/bin/backlight_adjust +5" |
efe0d061 | 20 | XF86MonBrightnessUp |
ca4b1dbc SK |
21 | "sudo /home/siraaj/bin/backlight_adjust +1" |
22 | shift + XF86MonBrightnessUp | |
23 | "sudo /home/siraaj/bin/backlight_adjust -5" | |
efe0d061 | 24 | XF86MonBrightnessDown |
ca4b1dbc SK |
25 | "sudo /home/siraaj/bin/backlight_adjust -1" |
26 | shift + XF86MonBrightnessDown | |
efe0d061 | 27 | |
d263cae7 | 28 | # Workaround: XF86MonBrightness(Up|Down) keys stopped working on Librem 15v4 :( |
ca4b1dbc | 29 | "sudo /home/siraaj/bin/backlight_adjust +5" |
d263cae7 | 30 | shift+XF86AudioRaiseVolume |
ca4b1dbc | 31 | "sudo /home/siraaj/bin/backlight_adjust -5" |
d263cae7 SK |
32 | shift+XF86AudioLowerVolume |
33 | ||
f602582a SK |
34 | # ------------------- |
35 | # Screen saver/locker | |
36 | # ------------------- | |
bd5012ce | 37 | # mate-screensaver equivalent: "mate-screensaver-command --lock" |
efe0d061 SK |
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" | |
56 | XF86AudioPrev | |
57 | "mpc next" | |
58 | XF86AudioNext | |
59 | # Otherwise use combinations: | |
efe0d061 | 60 | "mpc toggle" |
f602582a | 61 | Mod4 + Down |
efe0d061 | 62 | "mpc stop" |
f602582a | 63 | Mod4 + Up |
efe0d061 | 64 | "mpc prev" |
f602582a | 65 | Mod4 + Left |
efe0d061 | 66 | "mpc next" |
f602582a | 67 | Mod4 + Right |
efe0d061 SK |
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 | ||
f602582a | 80 | # -------------------- |
efe0d061 | 81 | # Transparency adjust |
f602582a | 82 | # -------------------- |
efe0d061 SK |
83 | "compton-trans 40" |
84 | Mod4 + 4 | |
85 | "compton-trans 45" | |
86 | Mod4 + Shift + 4 | |
87 | "compton-trans 50" | |
88 | Mod4 + 5 | |
89 | "compton-trans 55" | |
90 | Mod4 + Shift + 5 | |
91 | "compton-trans 60" | |
92 | Mod4 + 6 | |
93 | "compton-trans 65" | |
94 | Mod4 + Shift + 6 | |
95 | "compton-trans 70" | |
96 | Mod4 + 7 | |
97 | "compton-trans 75" | |
98 | Mod4 + Shift + 7 | |
99 | "compton-trans 80" | |
100 | Mod4 + 8 | |
101 | "compton-trans 85" | |
102 | Mod4 + Shift + 8 | |
103 | "compton-trans 90" | |
104 | Mod4 + 9 | |
105 | "compton-trans 95" | |
106 | Mod4 + Shift + 9 | |
107 | "compton-trans 100" | |
108 | Mod4 + 0 | |
109 | ||
f602582a | 110 | # ------------------------ |
efe0d061 | 111 | # Screenshot |
f602582a | 112 | # ------------------------ |
efe0d061 SK |
113 | "screengrab -r" |
114 | ||
f1924383 | 115 | |
f602582a SK |
116 | # ---------------- |
117 | # App launchers | |
118 | # ---------------- | |
119 | ||
120 | "st -e htop" | |
121 | Mod4 + h | |
122 | "st -e ncmpcpp" | |
123 | Mod4 + n | |
124 | "st -e ranger" | |
125 | Mod4 + r | |
126 | ||
f1924383 SK |
127 | # Search mpd lib and play selection |
128 | "mpplay" | |
f602582a | 129 | Mod4 + p |
f7352c48 SK |
130 | |
131 | # Search video catalog and play selection | |
468b788e | 132 | "video-catalog-play" |
f602582a | 133 | Mod4 + v |
c10a8e75 | 134 | |
629ca20d SK |
135 | # Editor |
136 | "gvim" | |
137 | Mod4 + e | |
a5fef196 | 138 | |
f602582a | 139 | # Edit specific files |
a5fef196 | 140 | "gvim ~/TODO.md" |
f67d34ae | 141 | Mod4 + t |
d9872b72 | 142 | "gvim ~/Documents/drafts.md" |
f67d34ae | 143 | Mod4 + d |
d9872b72 | 144 | "gvim ~/Documents/bookmarks.md" |
14ec85bb | 145 | Mod4 + b |
629ca20d SK |
146 | |
147 | # File browser | |
8b5026db | 148 | "pcmanfm" |
629ca20d SK |
149 | Mod4 + f |
150 | ||
151 | # Web browser | |
1add2013 | 152 | "brave-browser" |
629ca20d | 153 | Mod4 + w |