blob: a5bd33251954bf2f3f877505686e8498bec2a48c (
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
|
# Screenkey for Typing
alt + t
screenkey -s small -t 1 -f inconsolata --opacity 0.7
alt + shift + t
pkill screenkey
# X11 Color Picker
alt + c
color-picker
# Screen Shots
alt + control + Print
xshot full
alt + Print
clip full
alt + control + s
xshot area
alt + shift + s
clip area
# Screen Recordings (soundless)
alt + shift + r
xrec start
alt + shift + e
xrec stop
# Lock Screen
alt + shift + BackSpace
lock
### APPLICATIONS ###
# Firefox (this didn't age well)
alt + f
firefox
# Brave
alt + shift + f
brave
# Chromium (dev testing)
alt + shift + c
chromium
# LibreWolf
alt + w
librewolf
# Discord
alt + d
vesktop # discord
# Dino
alt + shift + d
dino
# Pcmanfm (Explorer / File Manager)
alt + e
pcmanfm
### HARDWARE KEYS ###
# brightness control
XF86MonBrightnessDown
notify-send --replace-id=1 "🌑 Brightness Down" && sudo backlight 0 # Moon Emoji
XF86MonBrightnessUp
notify-send --replace-id=1 "🌞 Brightness Up" && sudo backlight 255 # Sun Emoji
# volume control
XF86Audio{Raise,Lower}Volume
amixer --card 0 set Master 1%{+,-} && notify-send --replace-id=2 "🔊 Volume $(amixer --card 0 get Master | tail -n 1 | sed 's/.*Playback [0-9]\+ \[\([0-9]\+%\)\].*/\1/')"
# mute audio output control
XF86AudioMute
[ $(amixer --card 0 get Master | tail -n 1 | sed -E 's/.*.\[//g' | cut -c1-2) = "on" ] && ( notify-send --replace-id=3 "🔇 Muted" && amixer --card 0 set Master mute ) || ( amixer --card 0 set Master unmute && notify-send --replace-id=3 "📢 Unmuted" )
|