| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- # ################### It just works™ keybinds ###################
- # Volume
- bindl = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
- bindle=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
- bindle=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
- # Brightness
- # bindle=, XF86MonBrightnessUp, exec, light -A 5
- # bindle=, XF86MonBrightnessDown, exec, light -U 5
- bindle=, XF86MonBrightnessUp, exec, ags run-js 'brightness.screen_value += 0.05;'
- bindle=, XF86MonBrightnessDown, exec, ags run-js 'brightness.screen_value -= 0.05;'
- # ####################################### Applications ########################################
- # Apps: just normal apps
- bind = Super, Return, exec, $terminal
- bind = Super, E, exec, nautilus --new-window
- bind = Super, V, exec, chromium
- # bind = ControlSuperAlt, E, exec, /usr/bin/microsoft-edge-stable --password-store=gnome --enable-features=UseOzonePlatform --ozone-platform=wayland --gtk-version=4
- # bind = Super, Z, exec, kitty -e neomutt
- # Apps: Settings and config
- bind = Super, A, exec, pavucontrol
- # Actions
- bind = Super, Period, exec, fuzzelunicode
- bind = SuperShift, Period, exec, fuzzelnerd
- bind = Super, G, exec, fuzzel-greek-letters-prompt
- bind = Super, O, exec, open-stream
- bind = Super, Q, killactive,
- bind = SuperAlt, Space, togglefloating,
- bind = SuperShift, T, exec, ~/.config/hypr/scripts/toggle-theme.sh
- # german
- bind = SuperShift Alt, T, exec, grim -g "$(slurp -d -c D1E5F4BB -b 1B232866 -s 00000000)" "tmp.png" && tesseract -l deu "tmp.png" - | wl-copy && rm "tmp.png"
- # Media
- # bind = SuperShift, N, exec, playerctl next || playerctl position `bc <<< "100 * $(playerctl metadata mpris:length) / 1000000 / 100"`
- bindl = , XF86AudioNext, exec, ags run-js "Mpris.getPlayer()?.next()"
- # bind = SuperShift, B, exec, playerctl previous
- # bind = SuperShift, P, exec, playerctl play-pause
- #Lock screen | blur: --effect-blur=20x202
- # bind = Super, L, exec, gtklock
- bind = SuperShift, L, exec, gtklock
- bindl = SuperShift, L, exec, sleep 0.1 && sus
- # App launcher
- bind = ControlSuper, Slash, exec, pkill anyrun || anyrun
- # ##################################### AGS keybinds #####################################
- bindr = ControlSuper, R, exec, hyprctl reload; killall ags activewin.sh activews.sh gohypr bash ydotool; ags &
- bindir = Super, Super_L, exec, fuzzel
- # bind = Super, O, exec, ags -t 'sideleft'
- # bind = Super, N, exec, ags -t 'sideright'
- # bind = Super, M, exec, ags run-js 'openMusicControls.value = (!Mpris.getPlayer() ? false : !openMusicControls.value);'
- bind = SuperShift, K, exec, ags -t 'osk'
- bind = ControlAlt, Delete, exec, ags -t 'session'
- bindr = Control, Control_R, exec, ags run-js 'indicator.popup(-1);'
- bindr = Control, Control_R, exec, ags run-js 'Notifications.notifications.forEach((notif) => notif.dismiss())'
- bindle = , XF86AudioRaiseVolume, exec, ags run-js 'indicator.popup(1);'
- bindle = , XF86AudioLowerVolume, exec, ags run-js 'indicator.popup(1);'
- bindle = , XF86MonBrightnessUp, exec, ags run-js 'indicator.popup(1);'
- bindle = , XF86MonBrightnessDown, exec, ags run-js 'indicator.popup(1);'
- bindr = Control, Control_R, exec, ags run-js 'App.closeWindow("sideright");'
- bindr = Control, Control_R, exec, ags run-js 'App.closeWindow("cheatsheet");'
- bindr = Control, Control_R, exec, ags run-js 'App.closeWindow("osk");'
- bindr = Control, Control_R, exec, ags run-js 'App.closeWindow("session");'
- bindr = Control, Control_R, exec, ags run-js 'openMusicControls.value = false'
- # ##################################### Plugins #########################################
- # bind = ControlSuper, P, exec, hyprctl plugin load '/home/end/.config/hypr/plugins/droidbars.so'
- # bind = ControlSuper, O, exec, hyprctl plugin unload '/home/end/.config/hypr/plugins/droidbars.so'
- # # Testing
- bind = SuperAlt, f12, exec, notify-send "Millis since epoch" "$(date +%s%N | cut -b1-13)" -a 'Hyprland keybind'
- bind = SuperAlt, P, exec, notify-send "Urgent notification" "Ah hell no" -u critical -a 'Hyprland keybind'
- # ########################### Keybinds for Hyprland ############################
- # Swap windows
- bind = SuperShift, left, movewindow, l
- bind = SuperShift, right, movewindow, r
- bind = SuperShift, up, movewindow, u
- bind = SuperShift, down, movewindow, d
- # Move focus
- bind = Super, left, movefocus, l
- bind = Super, right, movefocus, r
- bind = Super, up, movefocus, u
- bind = Super, down, movefocus, d
- bind = Super, BracketLeft, movefocus, l
- bind = Super, BracketRight, movefocus, r
- # Workspace, window, tab switch with keyboard
- bind = ControlSuper, right, workspace, +1
- bind = ControlSuper, left, workspace, -1
- bind = ControlSuper, BracketLeft, workspace, -1
- bind = ControlSuper, BracketRight, workspace, +1
- bind = ControlSuper, up, workspace, -5
- bind = ControlSuper, down, workspace, +5
- bind = Super, Page_Down, workspace, +1
- bind = Super, Page_Up, workspace, -1
- bind = ControlSuper, Page_Down, workspace, +1
- bind = ControlSuper, Page_Up, workspace, -1
- bind = SuperAlt, Page_Down, movetoworkspace, +1
- bind = SuperAlt, Page_Up, movetoworkspace, -1
- bind = SuperShift, Page_Down, movetoworkspace, +1
- bind = SuperShift, Page_Up, movetoworkspace, -1
- bind = ControlSuperShift, Right, movetoworkspace, +1
- bind = ControlSuperShift, Left, movetoworkspace, -1
- bind = SuperShift, mouse_down, movetoworkspace, -1
- bind = SuperShift, mouse_up, movetoworkspace, +1
- bind = SuperAlt, mouse_down, movetoworkspace, -1
- bind = SuperAlt, mouse_up, movetoworkspace, +1
- # Window split ratio
- binde = Super, H, layoutmsg, mfact -0.05
- binde = Super, L, layoutmsg, mfact +0.05
- # Fullscreen
- bind = Super, F, fullscreen, 0
- # bind = SuperShift, F, fakefullscreen, 0
- # Switching
- bind = Super, 1, workspace, 1
- bind = Super, 2, workspace, 2
- bind = Super, 3, workspace, 3
- bind = Super, 4, workspace, 4
- bind = Super, 5, workspace, 5
- bind = Super, 6, workspace, 6
- bind = Super, 7, workspace, 7
- bind = Super, 8, workspace, 8
- bind = Super, 9, workspace, 9
- bind = Super, 0, workspace, 10
- bind = Super, S, togglespecialworkspace,
- # Move window to workspace Super + Alt + [0-9]
- bind = Super Shift, 1, movetoworkspacesilent, 1
- bind = Super Shift, 2, movetoworkspacesilent, 2
- bind = Super Shift, 3, movetoworkspacesilent, 3
- bind = Super Shift, 4, movetoworkspacesilent, 4
- bind = Super Shift, 5, movetoworkspacesilent, 5
- bind = Super Shift, 6, movetoworkspacesilent, 6
- bind = Super Shift, 7, movetoworkspacesilent, 7
- bind = Super Shift, 8, movetoworkspacesilent, 8
- bind = Super Shift, 9, movetoworkspacesilent, 9
- bind = Super Shift, 0, movetoworkspacesilent, 10
- bind = ControlShiftSuper, Up, movetoworkspacesilent, special
- bind = SuperAlt, S, movetoworkspacesilent, special
- # Scroll through existing workspaces with (Control) + Super + scroll
- bind = Super, mouse_up, workspace, +1
- bind = Super, mouse_down, workspace, -1
- bind = ControlSuper, mouse_up, workspace, +1
- bind = ControlSuper, mouse_down, workspace, -1
- # Move/resize windows with Super + LMB/RMB and dragging
- bindm = Super, mouse:272, movewindow
- bindm = Super, mouse:273, resizewindow
- # bindm = Super, mouse:274, movewindow
- bind = ControlSuper, Backslash, resizeactive, exact 640 480
- # Master Layout Control
- bind = SuperShift, Return, layoutmsg, swapwithmaster
- bind = Super, J, layoutmsg, cyclenext
- bind = Super, K, layoutmsg, cycleprev
- bind = Super, I, layoutmsg, addmaster
- bind = Super, D, layoutmsg, removemaster
|