index — dots-the-third @ aa582c134d2b706f41097d952e40be04870496bd

I don't need nix, I have a way worse solution!

hypr/.config/hypr/keybindings.conf (view raw)

 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
$mainMod = SUPER

$lock = hyprlock
$terminal = foot
$fileBrowser = thunar
$browser = librewolf


# Application shortcuts
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, E, exec, $fileBrowser
bind = $mainMod, F, exec, $browser #firefox
bind = $mainMod, D, exec, discord

bind = $mainMod, O, exec, obsidian
bind = $mainMod, A, exec, curd -rofi #jerry --rofi
bind = $mainMod SHIFT, A, exec, curd -dub -rofi
#bind = $mainMod, R, exec, walker -m desktopapplications
bind = $mainMod, R, exec, rofi -show drun
bind = $mainMod SHIFT, R, exec, walker
bind = $mainMod SHIFT, E, exec, walker -m symbols
bind = $mainMod SHIFT, F, exec, walker -m files
bind = $mainMod, X, exec, elisa
bind = $mainMod SHIFT, X, exec, tidal-hifi
bind = $mainMod, B, exec, blueman-manager
bind = $mainMod, M, exec, thunderbird
bind = $mainMod, P, exec, protonmail-bridge

bind = $mainMod CTRL, W, exec, ~/.config/hypr/scripts/selectwallpaper.sh
bind = $mainMod, V, exec, walker -m clipboard
bindl = $mainMod, I, exec, ~/.config/hypr/scripts/hypridletoggle.sh
bind = $mainMod, K, exec, sh ~/.config/hypr/scripts/barkill.sh

bind = $mainMod CTRL, X, togglefloating
bind = $mainMod CTRL, X, pin
bind = $mainMod CTRL, X, resizeactive, exact 136 246
bind = $mainMod CTRL, X, moveactive, exact -163 26

bind = $mainMod, T, tagwindow, opacity_1


# Move focus with mainMod + arrow keys
bind = ALT, A, movefocus, l
bind = ALT, D, movefocus, r
bind = ALT, W, movefocus, u
bind = ALT, S, movefocus, d

bind = ALT SHIFT, A, movewindow, l
bind = ALT SHIFT, D, movewindow, r
bind = ALT SHIFT, W, movewindow, u
bind = ALT SHIFT, S, movewindow, d


# Switch workspaces with mainMod + [0-9]
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

bind = $mainMod, S, togglespecialworkspace, magic
#bind = $mainMod, code:49, togglespecialworkspace, wizardry


# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

bind = $mainMod SHIFT, S, movetoworkspace, special:magic
#bind = $mainMod Shift, code:49, movetoworkspace, special:wizardry


# Window/Session actaions
bind = $mainMod, C, killactive,
bind = $mainMod SHIFT, C, forcekillactive
bind = $mainMod, W, togglefloating,
bind = $mainMod SHIFT, P, pin
bind = $mainMod, J, togglesplit
bind = ALT, return, fullscreen
bind = $mainMod, L, exec, $lock
bind = $mainMod SHIFT, M, exit

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# Media control
bindel = , XF86AudioLowerVolume, exec, ~/.config/hypr/scripts/volumecontrol.sh -o d # decrease volume
bindel = , XF86AudioRaiseVolume, exec, ~/.config/hypr/scripts/volumecontrol.sh -o i # increase volume

$players = "strawberry, kew, rhythmbox, elisa, Supersonic, Feishin"

bindl =, XF86AudioPlay, exec, playerctl -p $players play-pause
bindl =, XF86AudioPause, exec, playerctl -p $players play-pause
bindl =, Pause, exec, playerctl -p $players play-pause
bindl =, XF86AudioPrev, exec, $lock
bindl =, XF86AudioNext, exec, playerctl next
bindl = , insert, exec, ~/.config/hypr/scripts/volumecontrol.sh -i m # toggle microphone mute


#Screen recording and shots
bind = ,Print, exec, bash ~/.config/hypr/scripts/screenshot.sh --area
bind = $mainMod ,Print, exec, bash ~/.config/hypr/scripts/screenshot.sh --screen 
bind = SHIFT,Print, exec, bash ~/.config/hypr/scripts/screenshot.sh --edit
bind = CTRL, Print, exec, bash ~/.config/hypr/scripts/screenshot.sh --monitor
bind = ALT, Print, exec, bash ~/.config/hypr/scripts/screenshot.sh --freeze
bind = ALT SHIFT, Print, exec, bash ~/.config/hypr/scripts/screenshot.sh --freezeedit
bind = ,F6, exec, bash ~/.config/hypr/scripts/screenshot.sh --active

bindl = $mainMod, G, exec, ~/.config/hypr/scripts/earbudconnectiontoggle.sh