-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathbinding.conf
144 lines (122 loc) · 7.62 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
141
142
143
144
$mainMod = SUPER
$shiftKey = SHIFT
$alttKey = ALT
# Shortcuts
# bindd = $mainMod $shiftKey, Q, Exit Hyprland, exit
# bindd = $mainMod, R, Open application launcher, exec, wofi --show drun
# bindd = $alttKey, TAB, Open window switcher, exec, wofi --show window
# Window control
bindd = $mainMod, Q, Kill the focused application, killactive
bindd = $mainMod , m, Toggle fullscreen, fullscreen
bindd = $mainMod, F, Toggle floating, togglefloating
bindd = $mainMod, J, Toggle split (dwindle), togglesplit
bindd = $alttKey $shiftKey, a, Pin window, pin
bindd = $mainMod, SPACE, Show keyboard layout, exec, ags -r "showKeyboardLayout()"
# Voice control
bindd = , XF86AudioMute, Toggle mute, exec, pactl set-sink-mute 0 toggle
bindd = , XF86AudioMicMute, Toggle microphone mute, exec, pactl set-source-mute 0 toggle
bindd = , xf86audioraisevolume, Increase volume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
bindd = , xf86audiolowervolume, Decrease volume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
# Media control
bindd = , XF86AudioPlay, Play/Pause, exec, ~/.config/hypr/scripts/playerctl.sh play-pause
bindd = , XF86AudioNext, Next track, exec, ~/.config/hypr/scripts/playerctl.sh next
bindd = , XF86AudioPrev, Previous track, exec, ~/.config/hypr/scripts/playerctl.sh previous
bindd = , XF86AudioStop, Stop playback, exec, ~/.config/hypr/scripts/playerctl.sh stop
# Brightness control
bindd = , xf86monbrightnessup, Increase brightness, exec, brightnessctl set 5%+
bindd = , xf86monbrightnessdown, Decrease brightness, exec, brightnessctl set 5%-
bindd = $mainMod, n, Minimize window, movetoworkspace, special
# Applications
# bindd = $mainMod, Return, Open Konsole (pinky profile), exec, konsole --profile "pinky"
# bindd = $mainMod, Return, Open Konsole (custom profile), exec, konsole --profile $konsole_profile
bindd = $mainMod, Return, Open Konsole, exec, konsole
bindd = $mainMod, t, Open Konsole, exec, konsole
bindd = $mainMod $shiftKey, a, Open Android Studio, exec, /media/linux/apps/android-studio/bin/studio.sh
bindd = $mainMod $shiftKey, b, Open Microsoft Edge, exec, microsoft-edge-stable
bindd = $mainMod $shiftKey, c, Open VS Code, exec, code
bindd = $mainMod $shiftKey, h, Open Hopofy script, exec, ~/hopofy.sh
bindd = $mainMod $shiftKey, d, Open Discord, exec, discord
bindd = $mainMod $shiftKey, e, Open Dolphin, exec, dolphin
# bindd = $mainMod $shiftKey, e, Open PCManFM-Qt, exec, pcmanfm-qt
bindd = $mainMod $shiftKey, f, Open Firefox, exec, firefox
# bindd = $mainMod $shiftKey, f, Open Firefox, exec, firefox
# bindd = $mainMod $shiftKey, f, Open Thorium Browser, exec, thorium-browser
# bindd = $mainMod $shiftKey, f, Open Brave Browser, exec, brave-browser
bindd = $mainMod $shiftKey, k, Open System Monitor, exec, plasma-systemmonitor
# bindd = $mainMod $shiftKey, n, Open Notion, exec, notion-app-enhanced
bindd = $mainMod $shiftKey, s, Open System Settings, exec, systemsettings
bindd = $mainMod $shiftKey, t, Open Telegram, exec, telegram-desktop
bindd = $mainMod, c, Open Strawberry, exec, strawberry
bindd = $mainMod, v, Open EasyEffects, exec, easyeffects
bindd = $mainMod, x, Open Hyprpicker, exec, hyprpicker -a
# bindd = $mainMod, l, Lock screen, exec, /usr/lib/kscreenlocker_greet --immediateLock
bindd = ,Print, Take screenshot (region), exec, hyprshot -m region
bindd = $mainMod $shiftKey, p, Open PCSX2, exec, GDK_BACKEND=x11 PCSX2
# Menus
bindd = $mainMod, f1, Toggle main menu, exec, ags -r "toggleMainMenu()"
bindd = $mainMod, f2, Toggle notification center, exec, ags -r "ToggleNotificationCenter()"
bindd = $mainMod, f3, Toggle weather, exec, ags -r "toggleWeather()"
bindd = $mainMod, f4, Toggle monitors menu, exec, ags -r "toggleMonitors()"
bindd = $mainMod, f5, Toggle network menu, exec, ags -r "toggleNetwork()"
bindd = $mainMod, f8, Show calendar menu, exec, ags -r "showCalendarMenu()"
bindd = $mainMod, r, Show application launcher, exec, ags -r "showApplauncher()"
bindd = $mainMod $shiftKey, r, Toggle CopyQ, exec, copyq toggle
# Move focus with mainMod + arrow keys
bindd = $mainMod, left, Move focus left, movefocus, l
bindd = $mainMod, right, Move focus right, movefocus, r
bindd = $mainMod, up, Move focus up, movefocus, u
bindd = $mainMod, down, Move focus down, movefocus, d
# Monitors
bindd = $mainMod, w, Swap window to other monitor, swapwindow, r
bindd = $mainMod $alttKey, 1, Focus monitor 1, focusmonitor, 0
bindd = $mainMod $alttKey, 2, Focus monitor 2, focusmonitor, 1
bindd = $mainMod CONTROL, 1, Move workspace to monitor 1, movecurrentworkspacetomonitor, 0
bindd = $mainMod CONTROL, 2, Move workspace to monitor 2, movecurrentworkspacetomonitor, 1
bindd = $mainMod $alttKey, r, Force renderer reload, forcerendererreload
# Move window with mainMod + shift + arrow keys
bindd = $mainMod SHIFT, left, Move window left, movewindow, l
bindd = $mainMod SHIFT, right, Move window right, movewindow, r
bindd = $mainMod SHIFT, up, Move window up, movewindow, u
bindd = $mainMod SHIFT, down, Move window down, movewindow, d
bindd = $mainMod $alttKey, left, Decrease split ratio, splitratio, -0.05
bindd = $mainMod $alttKey, right, Increase split ratio, splitratio, 0.05
# Navigation
bindd = $mainMod, Escape, Go to previous workspace, workspace, previous
# Switch workspaces with mainMod + [0-9]
bindd = $mainMod, h, Toggle special workspace, togglespecialworkspace
bindd = $mainMod, 1, Go to workspace 1, workspace, 1
bindd = $mainMod, 2, Go to workspace 2, workspace, 2
bindd = $mainMod, 3, Go to workspace 3, workspace, 3
bindd = $mainMod, 4, Go to workspace 4, workspace, 4
bindd = $mainMod, 5, Go to workspace 5, workspace, 5
bindd = $mainMod, 6, Go to workspace 6, workspace, 6
bindd = $mainMod, 7, Go to workspace 7, workspace, 7
bindd = $mainMod, 8, Go to workspace 8, workspace, 8
bindd = $mainMod, 9, Go to workspace 9, workspace, 9
bindd = $mainMod, 0, Go to workspace 10, workspace, 10
# MINIMIZE
# bindd = $mainMod, n, Move to workspace 11 (silent), movetoworkspacesilent, 11
bindd = $mainMod, n, Minimize window, exec, sh ~/.config/hypr/scripts/minimiz.sh
bindd = $mainMod CONTROL, n, Get minimized windows, exec, sh ~/.config/hypr/scripts/get_minimized.sh
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bindd = $mainMod SHIFT, 1, Move window to workspace 1, movetoworkspacesilent, 1
bindd = $mainMod SHIFT, 2, Move window to workspace 2, movetoworkspacesilent, 2
bindd = $mainMod SHIFT, 3, Move window to workspace 3, movetoworkspacesilent, 3
bindd = $mainMod SHIFT, 4, Move window to workspace 4, movetoworkspacesilent, 4
bindd = $mainMod SHIFT, 5, Move window to workspace 5, movetoworkspacesilent, 5
bindd = $mainMod SHIFT, 6, Move window to workspace 6, movetoworkspacesilent, 6
bindd = $mainMod SHIFT, 7, Move window to workspace 7, movetoworkspacesilent, 7
bindd = $mainMod SHIFT, 8, Move window to workspace 8, movetoworkspacesilent, 8
bindd = $mainMod SHIFT, 9, Move window to workspace 9, movetoworkspacesilent, 9
bindd = $mainMod SHIFT, 0, Move window to workspace 10, movetoworkspacesilent, 10
# bindd = $mainMod , n, Toggle fullscreen, fullscreen, 1
# Scroll through existing workspaces with mainMod + scroll
bindd = $mainMod, mouse_down, Scroll to next workspace, workspace, e+1
bindd = $mainMod, mouse_up, Scroll to previous workspace, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
binddm = $mainMod, mouse:272, Move window, movewindow
binddm = $mainMod, mouse:273, Resize window, resizewindow
# bindd = $mainMod,b, Send window to bottom layer, exec, hyprctl dispatch layer bottom
bindd = $mainMod, b, Send focused window to bottom layer, exec, hyprctl dispatch layer "bottom" focused
bind = $mainMod $alttKey, s, exec, systemctl suspend
bindl=,switch:on:[switch name],exec,hyprctl keyword monitor "HDMI-1-0,1920x1080@144,1600x0,1"