summaryrefslogtreecommitdiff
path: root/keybinds
blob: 4893de9fb22acd4e04aad3b61256d71f8b401f13 (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
# 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 Shot Keybinds

alt + control + f
    xshot full

alt + F12
    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) (not that used)

alt + shift + c
    chromium

# LibreWolf (not that used)

alt + w
    librewolf

# Discord

alt + d
    vesktop # vencord / discord is sometimes working better

# Dino (not that used)

alt + shift + d
    dino

# Pcmanfm (Explorer / File Manager)

alt + e
    pcmanfm

### HARDWARE KEYS ###

# brightness control

XF86MonBrightnessDown
    sudo xbacklight -dec 10 && notify-send --replace-id=1 "🌑 Brightness $(sudo xbacklight -get | cut -d '.' -f 1)%"

XF86MonBrightnessUp
    sudo xbacklight -inc 10 && notify-send --replace-id=1 "🌞 Brightness $(sudo xbacklight -get | cut -d '.' -f 1)%"

# fan control and performance

alt + XF86AudioRaiseVolume
    notify-send --replace-id=4 "🌬️ Fan Speed Up" && sudo nbfc-set 100
alt + XF86AudioLowerVolume
    notify-send --replace-id=4 "🌬️ Fan Speed Down" && sudo nbfc-kill

# 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" )