2023-09-19 00:17:43 +00:00
|
|
|
#
|
|
|
|
# Hyprland keybinds config
|
|
|
|
# ~/.config/hypr/keybinds.conf
|
|
|
|
#
|
|
|
|
|
2023-10-05 07:14:52 +00:00
|
|
|
# bind vars
|
2023-09-19 00:17:43 +00:00
|
|
|
$lock = ~/.local/bin/wrapped-swaylock-effects
|
|
|
|
$wp = ~/.local/bin/wrapped-swww
|
|
|
|
$dwp = ~/.local/bin/wrapped-mpvpaper
|
|
|
|
$changevolume = ~/.local/bin/wrapped-pamixer # use swayosd instead
|
|
|
|
$changebrightness = ~/.local/bin/wrapped-brightnessctl
|
2023-12-05 07:48:54 +00:00
|
|
|
$screenshot = ~/.local/bin/screenshot
|
2023-09-19 00:17:43 +00:00
|
|
|
$inputfix = ~/.local/bin/minecraft-inputfix
|
|
|
|
$video_path = ~/.var/app/com.valvesoftware.Steam/data/Steam/steamapps/workshop/content/431960
|
|
|
|
|
2023-10-05 07:14:52 +00:00
|
|
|
# binds
|
2023-09-19 00:17:43 +00:00
|
|
|
bind = SUPER, return, exec, alacritty
|
|
|
|
#bind = SUPER, Q, exec, alacritty
|
|
|
|
bind = SUPER, E, exec, xdg-open ~
|
|
|
|
bind = SUPER, W, exec, xdg-open https: # why is this working
|
|
|
|
bind = CONTROL SHIFT, Escape, exec, gnome-system-monitor
|
|
|
|
|
|
|
|
bind = ALT, R, exec, $inputfix
|
|
|
|
bind = SUPER, Backspace, exec, $lock
|
|
|
|
|
|
|
|
bind = SUPER, F, fullscreen, 0
|
|
|
|
bind = SUPER SHIFT, F, fullscreen, 1
|
|
|
|
|
|
|
|
bind = SUPER, Q, killactive
|
|
|
|
bind = CONTROL SUPER SHIFT, Q, exec, hyprctl kill
|
|
|
|
bind = SUPER SHIFT, R, exec, pkill waybar; waybar
|
|
|
|
bind = CONTROL ALT, delete, exit,
|
|
|
|
|
|
|
|
# rofi / application launcher
|
|
|
|
bind = SUPER, D, exec, rofi -show drun -show-icons -icon-theme Tela-dracula-dark
|
|
|
|
#bind = SUPER, D, exec, anyrun
|
|
|
|
bind = SUPER SHIFT, D, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
|
|
|
bind = SUPER, Period, exec, rofi -modi emoji -show emoji
|
|
|
|
bind = SUPER SHIFT, L, exec, rofi -modi "power-menu:rofi-power-menu --confirm=reboot/shutdown" -show power-menu
|
|
|
|
|
2023-10-05 07:14:52 +00:00
|
|
|
# screenshot
|
2023-09-19 00:17:43 +00:00
|
|
|
bind = ,Print, exec, $screenshot fullscreen
|
|
|
|
bind = SUPER SHIFT, S, exec, $screenshot region
|
2023-12-05 07:48:54 +00:00
|
|
|
bind = ALT SHIFT, S, exec, $screenshot swappy
|
2023-09-19 00:17:43 +00:00
|
|
|
|
2023-10-05 07:14:52 +00:00
|
|
|
# wallpaper switching
|
2023-09-19 00:17:43 +00:00
|
|
|
bind = SHIFT ALT, 1, exec, $wp /usr/share/backgrounds/odin.jpg # pkg: elementary-wallpapers
|
|
|
|
bind = SHIFT ALT, 2, exec, $wp /usr/share/backgrounds/odin-dark.jpg
|
|
|
|
bind = SHIFT ALT, 3, exec, $wp ~/.local/share/backgrounds/Mojave\ Night.jpg
|
|
|
|
bind = SHIFT ALT, 4, exec, $wp ~/.local/share/backgrounds/wallpaper2.jpg
|
|
|
|
bind = SHIFT ALT, 5, exec, $wp ~/.local/share/backgrounds/wallpaper3.jpg
|
|
|
|
bind = SHIFT ALT, 6, exec, $wp ~/.local/share/backgrounds/wallpaper1.png # aur: mint-backgrounds
|
|
|
|
# /usr/share/backgrounds/archlinux/simple.png # archlinux-wallpapers
|
|
|
|
# /usr/share/backgrounds/archlinux/small.png
|
|
|
|
|
|
|
|
# video wallpapers from wallpaper engine
|
|
|
|
bind = SHIFT ALT, 7, exec, $dwp $video_path/2292710588/KleeWP.mp4
|
|
|
|
bind = SHIFT ALT, 8, exec, $dwp $video_path/821372791/灵梦.mp4
|
|
|
|
bind = SHIFT ALT, 9, exec, $dwp $video_path/827148653/Gargantua_BGM.mp4
|
|
|
|
bind = SHIFT ALT, 0, exec, $dwp $video_path/1661372823/EP03.mp4
|
|
|
|
bind = SHIFT ALT, Minus, exec, $dwp $video_path/2855732285/彩虹鸭鸭.mp4
|
|
|
|
bind = SHIFT ALT, Backspace, exec, pkill mpvpaper
|
|
|
|
|
|
|
|
# keyboard fn buttons
|
|
|
|
binde = ,XF86MonBrightnessUp, exec, $changebrightness up
|
|
|
|
binde = ,XF86MonBrightnessDown, exec, $changebrightness down
|
|
|
|
binde = ,XF86AudioRaiseVolume, exec, $changevolume up
|
|
|
|
binde = ,XF86AudioLowerVolume, exec, $changevolume down
|
|
|
|
bind = ,XF86AudioMute, exec, $changevolume mute
|
|
|
|
|
|
|
|
#binde = ,XF86MonBrightnessUp, exec, swayosd --brightness raise
|
|
|
|
#binde = ,XF86MonBrightnessDown, exec, swayosd --brightness lower
|
|
|
|
#binde = ,XF86AudioRaiseVolume, exec, swayosd --output-volume raise
|
|
|
|
#binde = ,XF86AudioLowerVolume, exec, swayosd --output-volume lower
|
|
|
|
#bind = ,XF86AudioMute, exec, swayosd --output-volume mute-toggle
|
|
|
|
|
|
|
|
bind = ,XF86AudioPlay, exec, playerctl play-pause
|
|
|
|
bind = ,XF86AudioPrev, exec, playerctl previous
|
|
|
|
bind = ,XF86AudioNext, exec, playerctl next
|
|
|
|
bind = ,XF86AudioStop, exec, playerctl stop
|
|
|
|
bind = ,XF86AudioMedia, exec, playerctl play-pause
|
|
|
|
|
|
|
|
# window mode
|
|
|
|
bind = SUPER, C, pseudo # dwindle
|
|
|
|
bind = SUPER, S, togglesplit # dwindle
|
|
|
|
bind = SUPER, V, togglefloating
|
|
|
|
|
2023-10-05 07:14:52 +00:00
|
|
|
# window size
|
2023-09-19 00:17:43 +00:00
|
|
|
binde = SUPER, Minus, splitratio, -0.1
|
|
|
|
binde = SUPER, Equal, splitratio, 0.1
|
|
|
|
|
2023-10-05 07:14:52 +00:00
|
|
|
# move window focus
|
2023-09-19 00:17:43 +00:00
|
|
|
bind = SUPER, H, movefocus, l
|
|
|
|
bind = SUPER, J, movefocus, d
|
|
|
|
bind = SUPER, K, movefocus, u
|
|
|
|
bind = SUPER, L, movefocus, r
|
|
|
|
|
|
|
|
bind = SUPER, left, movefocus, l
|
|
|
|
bind = SUPER, right, movefocus, r
|
|
|
|
bind = SUPER, up, movefocus, u
|
|
|
|
bind = SUPER, down, movefocus, d
|
|
|
|
|
|
|
|
bind = SUPER, Tab, cyclenext # change focus to another window
|
|
|
|
bind = SUPER, Tab, bringactivetotop # bring it to the top
|
|
|
|
|
2023-10-05 07:14:52 +00:00
|
|
|
# workspaces binds
|
2023-09-19 00:17:43 +00:00
|
|
|
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 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
|
|
|
|
|
2023-10-05 07:14:52 +00:00
|
|
|
# mouse binds
|
2023-09-19 00:17:43 +00:00
|
|
|
bind = SUPER, mouse_down, workspace, e-1 # scroll wheels
|
|
|
|
bind = SUPER, mouse_up, workspace, e+1
|
|
|
|
bindm = SUPER, mouse:272, movewindow # left click
|
|
|
|
bindm = SUPER, mouse:273, resizewindow # right click
|