forked from AhmedSaadi0/my-hyprland-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.conf
140 lines (117 loc) · 5.42 KB
/
binding.conf
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
$mainMod = SUPER
$shiftKey = SHIFT
$alttKey = ALT
# Shortcuts
# bind = $mainMod $shiftKey, Q, exit,
# bind = $mainMod, R, exec, wofi --show drun
# bind = $alttKey, TAB, exec, wofi --show window
# Window control
bind = $mainMod, Q, killactive,
bind = $mainMod , m, fullscreen
bind = $mainMod, F, togglefloating,
bind = $mainMod, J, togglesplit, # dwindle
bind = $alttKey $shiftKey, a, pin, # Keep above
bind = $mainMod, SPACE, exec, hyprctl next
# Voice control
bind = , XF86AudioMute, exec, pactl set-sink-mute 0 toggle
bind = , XF86AudioMicMute, exec, pactl set-source-mute 0 toggle
bind = , xf86audioraisevolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
bind = , xf86audiolowervolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
# Media control
bind = , XF86AudioPlay, exec, ~/.config/hypr/scripts/playerctl.sh play-pause
bind = , XF86AudioNext, exec, ~/.config/hypr/scripts/playerctl.sh next
bind = , XF86AudioPrev, exec, ~/.config/hypr/scripts/playerctl.sh previous
bind = , XF86AudioStop, exec, ~/.config/hypr/scripts/playerctl.sh stop
# Brightness control
bind = , xf86monbrightnessup, exec, brightnessctl set 5%+ # & ~/.config/eww/scripts/show_brightness_osd.sh
bind = , xf86monbrightnessdown, exec, brightnessctl set 5%- # & ~/.config/eww/scripts/show_brightness_osd.sh
bind = $mainMod, n, movetoworkspace, special
# Applications
# bind = $mainMod, Return, exec, konsole --profile "pinky"
# bind = $mainMod, Return, exec, konsole --profile $konsole_profile
bind = $mainMod, Return, exec, konsole
bind = $mainMod $shiftKey, a, exec, export LANG=en_US.UTF-8 && /media/linux/apps/android-studio/bin/studio.sh
bind = $mainMod $shiftKey, b, exec, microsoft-edge-stable
bind = $mainMod $shiftKey, c, exec, code
bind = $mainMod $shiftKey, h, exec, konsole --noclose -e ~/hopofy.sh
bind = $mainMod $shiftKey, d, exec, discord
bind = $mainMod $shiftKey, e, exec, dolphin -reverse
# bind = $mainMod $shiftKey, e, exec, pcmanfm-qt
# bind = $mainMod $shiftKey, f, exec, firefox
# bind = $mainMod $shiftKey, f, exec, thorium-browser
bind = $mainMod $shiftKey, f, exec, brave-browser
bind = $mainMod $shiftKey, k, exec, plasma-systemmonitor
# bind = $mainMod $shiftKey, n, exec, notion-app-enhanced
bind = $mainMod $shiftKey, s, exec, systemsettings
bind = $mainMod $shiftKey, t, exec, telegram-desktop
bind = $mainMod, c, exec, strawberry
bind = $mainMod, v, exec, easyeffects
bind = $mainMod, x, exec, hyprpicker -a
# bind = $mainMod, l, exec, /usr/lib/kscreenlocker_greet --immediateLock
bind = ,Print, exec, hyprshot -m region
# Menus
bind = $mainMod, f1, exec, ags -r "showLeftMenu()"
bind = $mainMod, f2, exec, ags -r "showNotificationCenter()"
bind = $mainMod, f3, exec, ags -r "showHardwareMenu()"
bind = $mainMod, f4, exec, ags -r "showPrayerTimesMenu()"
bind = $mainMod, f5, exec, ags -r "showWeatherMenu()"
bind = $mainMod, f6, exec, ags -r "showNetworkMenu()"
bind = $mainMod, r, exec, ags -r "showApplauncher()"
bind = $mainMod $shiftKey, r, exec, copyq toggle
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Monitors
bind = $mainMod, w, swapwindow, r
bind = $mainMod $alttKey, 1, focusmonitor, 0
bind = $mainMod $alttKey, 2, focusmonitor, 1
bind = $mainMod CONTROL, 1, movecurrentworkspacetomonitor, 0
bind = $mainMod CONTROL, 2, movecurrentworkspacetomonitor, 1
bind = $mainMod $alttKey, r, forcerendererreload
# Move window with mainMod + shift + arrow keys
bind = $mainMod SHIFT, left, movewindow, l
bind = $mainMod SHIFT, right, movewindow, r
bind = $mainMod SHIFT, up, movewindow, u
bind = $mainMod SHIFT, down, movewindow, d
bind = $mainMod $alttKey, left, splitratio, -0.05
bind = $mainMod $alttKey, right, splitratio, 0.05
# Navigation
bind = $mainMod, Escape, workspace, previous
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, H, togglespecialworkspace
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
# MINIMIZE
# bind = $mainMod, n, movetoworkspacesilent, 11
bind = $mainMod, n, exec, sh ~/.config/hypr/scripts/minimiz.sh
bind = $mainMod CONTROL, n, exec, sh ~/.config/hypr/scripts/get_minimized.sh
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
# bind = $mainMod , n, fullscreen, 1
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
bindl=,switch:on:[switch name],exec,hyprctl keyword monitor "HDMI-1-0,1920x1080@144,1600x0,1"