diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-09-06 10:34:46 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-09-06 10:34:46 +0800 |
| commit | d9eec48e77b1933663bc6f07b7bee4ccd8e5c603 (patch) | |
| tree | de3e82c81141a6e06e5f58b60faa94bd1802f298 /dot-config/hypr/binds.conf | |
| parent | f43a75041096e7a08e5df652011783a555c6caa0 (diff) | |
updates, fixed keybinds
Diffstat (limited to 'dot-config/hypr/binds.conf')
| -rw-r--r-- | dot-config/hypr/binds.conf | 79 |
1 files changed, 33 insertions, 46 deletions
diff --git a/dot-config/hypr/binds.conf b/dot-config/hypr/binds.conf index fe578d8c..1c4d5bb6 100644 --- a/dot-config/hypr/binds.conf +++ b/dot-config/hypr/binds.conf @@ -10,35 +10,36 @@ binds { $mainMod = SUPER # Sets "Windows" key as main modifier # Launching... -bind = $mainMod, return, exec, $terminal start -bind = $mainMod shift, return, exec, $terminal start --class float +bind = $mainMod, return, exec, $terminal +bind = $mainMod shift, return, exec, $terminal --class "alacritty-float,alacritty-float" # bind = $mainMod space, return, exec, $terminal start --class pseudo -# bind = super alt, Delete, exec, rofi_powermenu -# bind = alt, F1, exec, rofi_launcher -# bind = alt, F2, exec, rofi_runner -bind = $mainMod, c, exec, rofi_configs -bind = $mainMod, m, exec, rofi_music +bind = super alt, Delete, exec, $rofiexec/rofi_powermenu +bind = alt, F1, exec, $rofiexec/rofi_launcher +bind = alt, F2, exec, $rofiexec/rofi_runner +# utils +bind = $mainMod, c, exec, $rofiexec/rofi_configs +bind = $mainMod, m, exec, $rofiexec/rofi_music bind = $mainMod, n, exec, nmd -bind = $mainMod, r, exec, rofi_asroot -bind = $mainMod, s, exec, rofi_screenshot -bind = $mainMod, v, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy -bind = $mainMod, w, exec, rofi_windows -bind = $mainMod, x, exec, rofi_powermenu -bind = $mainMod, b, exec, rofi_bluetooth +bind = $mainMod, r, exec, $rofiexec/rofi_asroot +bind = $mainMod, s, exec, $rofiexec/rofi_screenshot +bind = $mainMod, v, exec, cliphist list | $menu | cliphist decode | wl-copy +bind = $mainMod, w, exec, $rofiexec/rofi_windows +bind = $mainMod, x, exec, $rofiexec/rofi_powermenu +bind = $mainMod, b, exec, $rofiexec/rofi_bluetooth # GUI bind = $mainMod shift, f, exec, $fileManager bind = $mainMod shift, w, exec, $browser --restore-last-session bind = $mainMod shift, e, exec, code -bind = $mainMod shift, d, exec, discord --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto -bind = $mainMod shift, b, exec, beeper --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto +bind = $mainMod shift, d, exec, discord $waylandarg +bind = $mainMod shift, b, exec, beeper $waylandarg # CLI -bind = ctrl alt, a, exec, pulsemixer -bind = ctrl alt, v, exec, $editor -bind = ctrl alt, r, exec, ranger -bind = ctrl alt, b, exec, sudo nice -n -20 sudo btop +bind = ctrl alt, a, exec, $termfloat -e pulsemixer +bind = ctrl alt, v, exec, $termfloat -e $editor +bind = ctrl alt, r, exec, $termfloat -e ranger +bind = ctrl alt, b, exec, $termfloat -e sudo nice -n -20 sudo btop # Emergency -bind = ctrl shift, escape, exec, sudo btop # fix this -bind = ctrl alt, delete, exec, rofi_shutdown_menu +bind = ctrl shift, escape, exec, $termfloat -e sudo nice -n -20 sudo btop # fix this +bind = ctrl alt, delete, exec, $rofiexec/rofi_shutdown_menu bind = $mainMod, p, exec, hyprpicker --autocopy # More # bind = ctrl alt, m, exec, music @@ -51,39 +52,25 @@ bind = $mainMod shift, g, exec, gtk-launch shortwave.desktop bind = ,XF86Print, exec, $HOME/scripts/sysutil.sh screenshot --now bind = alt, XF86AudioMute, exec, $HOME/scripts/sysutil.sh screenshot --in5sec bind = $mainMod shift, s, exec, $HOME/scripts/sysutil.sh screenshot --area -# bind into hyprland configs -# XF86Audio{RaiseVolume,LowerVolume} -# bspvolume{ --inc, --dec} -# # Mic Volume control -# XF86Audio{Mute,MicMute} -# bspvolume{ --toggle, --toggle-mic} -# -# # Music control -# XF86Audio{Next,Prev,Play,Stop} -# {playerctl -p spotify next, playerctl -p spotifyprevious,bsppp,playerctl -p spotify stop} - -# super + XF86PowerOff -# $HOME/.config/rofi/scripts/rofi_shutdown - -# XF86PowerOff -# $HOME/.config/rofi/scripts/rofi_shutdown -# bind = ,XF86AudioRaiseVolume, exec, bspvolume --inc -# bind = ,XF86AudioLowerVolume, exec, bspvolume --dec -# bind = ,XF86AudioMute, exec, bspvolume --toggle -# bind = ,XF86AudioMicMute, exec, bspvolume --toggle-mic +# Music +bind = ,XF86AudioRaiseVolume, exec, $HOME/scripts/sysutil.sh volume --inc +bind = ,XF86AudioLowerVolume, exec, $HOME/scripts/sysutil.sh volume --dec +bind = ,XF86AudioMute, exec, $HOME/scripts/sysutil.sh volume --toggle +bind = ,XF86AudioMicMute, exec, $HOME/scripts/sysutil.sh volume --toggle-mic bind = ,XF86AudioNext, exec, playerctl -p spotify next bind = ,XF86AudioPrev, exec, playerctl -p spotify previous bind = ,XF86AudioPlay, exec, playerctl -p spotify play-pause bind = ,XF86AudioStop, exec, playerctl -p spotify stop -# bind = XF86PowerOff, exec, $HOME/.config/rofi/scripts/rofi_shutdown +bind = ,XF86PowerOff, exec, $rofiexec/rofi_shutdown # Window management -# bind = $mainMod, d, exec, HIDE_UNHIDE_WINDOW -bind = $mainMod, q, killactive, -# bind = $mainMod shift, q, FORCEkillactive, -# bind = ctrl alt, escape, exec , mousekill +bind = $mainMod, d, exec, $HOME/scripts/hyprhide h +bind = $mainMod, i, exec, $HOME/scripts/hyprhide s +bind = $mainMod, q, killactive +bind = $mainMod shift, q, exec, kill -9 $(hyprctl activewindow | grep pid | tail -1 | awk '{print$2}') +bind = ctrl alt, escape, exec, hyprctl kill bind = ctrl $mainMod shift, r, exec, systemctl restart $sessionManager bind = ctrl $mainMod, escape, exec, killall waybar; waybar # restart bar |
