118 lines
4.7 KiB
Text
118 lines
4.7 KiB
Text
# bind vars
|
|
$wp = ~/.local/bin/wrapped-swww
|
|
$dwp = ~/.local/bin/wrapped-mpvpaper
|
|
$changevolume = ~/.local/bin/wrapped-pamixer
|
|
$changebrightness = ~/.local/bin/wrapped-brightnessctl
|
|
$screenshot = ~/.local/bin/screenshot
|
|
$video_path = ~/.var/app/com.valvesoftware.Steam/data/Steam/steamapps/workshop/content/431960
|
|
|
|
# binds
|
|
bind = SUPER, return, exec, alacritty
|
|
bind = SUPER, E, exec, xdg-open ~
|
|
bind = SUPER, W, exec, xdg-open http:
|
|
bind = CONTROL SHIFT, Escape, exec, gnome-system-monitor
|
|
|
|
bind = ALT, R, exec, zenity --width 500 --entry | wl-copy
|
|
bind = SUPER, Backspace, exec, swaylock
|
|
|
|
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 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
|
|
|
|
# screenshot
|
|
bind = ,Print, exec, $screenshot fullscreen
|
|
bind = SUPER SHIFT, S, exec, $screenshot region
|
|
bind = ALT SHIFT, S, exec, $screenshot swappy
|
|
|
|
# wallpaper switching
|
|
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
|
|
|
|
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
|
|
|
|
# window size
|
|
binde = SUPER, Minus, splitratio, -0.1
|
|
binde = SUPER, Equal, splitratio, 0.1
|
|
|
|
# move window focus
|
|
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
|
|
|
|
# workspaces binds
|
|
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
|
|
|
|
# mouse binds
|
|
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
|