mirror of
https://github.com/hydroxycarbamide/dotfiles.git
synced 2025-05-04 20:09:08 -04:00
189 lines
6.5 KiB
Text
189 lines
6.5 KiB
Text
# binds
|
|
$mod = SUPER
|
|
|
|
# mouse
|
|
bindm = $mod, mouse:272, movewindow
|
|
bindm = $mod, mouse:273, resizewindow
|
|
|
|
# hyprctl / misc dispatchers
|
|
bind = $mod SHIFT, R, exec, hyprctl reload
|
|
bind = $mod SHIFT, Q, exit,
|
|
bind = $mod, Q, exec, rofi -show power-menu -modi power-menu:rofi-power-menu
|
|
bind = $mod, C, killactive,
|
|
|
|
# screenshot
|
|
bind = $mod SHIFT, S, exec, hyprshot -m region
|
|
bind = $mod CONTROL SHIFT, S, exec, grim -g "$(slurp)" /tmp/grim.png && tesseract -l eng+jpn /tmp/grim.png - | wl-copy && wl-paste | xargs -I{} notify-send "Tesseract" "Copied '{}'"
|
|
bind = $mod, Print, exec, hyprshot -m window
|
|
|
|
# apps
|
|
bind = $mod, Return, exec, footclient
|
|
bind = $mod SHIFT, Return, exec, footclient -F
|
|
bind = $mod SHIFT, E, exec, xdg-open .
|
|
# bind = $mod, E, exec, footclient -a "fm-term" tmux new-session -A -s filemanager 'nnn -da -P p'
|
|
bind = $mod, E, exec, kitty --class="fm-term" nnn -a -P p
|
|
bind = $mod, Space, togglefloating,
|
|
bind = $mod, T, exec, swaync-client --toggle-panel
|
|
# bind = $mod SHIFT, D, exec, tofi-drun --drun-launch=true
|
|
bind = $mod, D, exec, rofi -show drun -theme catppuccin-macchiato
|
|
# bind = $mod, D, exec, anyrun
|
|
bind = $mod SHIFT, W, exec, rofi -show window -theme catppuccin-macchiato
|
|
# bind = ALT_L, Tab, exec, rofi -show window -theme catppuccin-macchiato
|
|
# bind = ALT_L, Tab, exec, eww open overview
|
|
# bind = ALT_L, Tab, exec, killall -SIGUSR1 sfwbar
|
|
bind = $mod, P, pseudo, # dwindle only
|
|
# bind = $mod SHIFT, P, exec, hyprctl dispatch dpms off
|
|
# bind = $mod SHIFT, L, exec, ~/.config/hypr/bsplock
|
|
bind = $mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
|
bind = $mod, N, exec, networkmanager_dmenu
|
|
bind = CAPS, , exec, swayosd-client --caps-lock-led
|
|
|
|
# Scratch pad
|
|
|
|
bind = $mod CONTROL, Return, exec, footclient -a "floating-foot"
|
|
|
|
# audio
|
|
# bind = , 123, exec, pactl set-sink-volume @DEFAULT_SINK@ +2%
|
|
# bind = , 122, exec, pactl set-sink-volume @DEFAULT_SINK@ -2%
|
|
# bind = , 121, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
|
bind = , 123, exec, swayosd-client --output-volume raise || pactl set-sink-volume @DEFAULT_SINK@ +5%
|
|
bind = , 122, exec, swayosd-client --output-volume lower || pactl set-sink-volume @DEFAULT_SINK@ -5%
|
|
bind = , 121, exec, swayosd-client --output-volume mute-toggle || pactl set-sink-mute @DEFAULT_SINK@ toggle
|
|
bind = , 171, exec, playerctl next
|
|
bind = , 172, exec, playerctl play-pause
|
|
bind = , 173, exec, playerctl previous
|
|
|
|
# pass
|
|
# bind = , mouse:275, pass, ^(discord|WebCord)$
|
|
|
|
# window
|
|
bind = $mod, U, focusurgentorlast,
|
|
bind = $mod CONTROL, Tab, movewindow, mon:+1
|
|
bind = $mod, Escape, cyclenext
|
|
bind = $mod, S, togglesplit
|
|
|
|
bind = $mod, F, fullscreen
|
|
bind = $mod SHIFT, F, fullscreen, 1
|
|
# bind = $mod, M, fakefullscreen
|
|
|
|
bind = $mod, left, movefocus, l
|
|
bind = $mod, right, movefocus, r
|
|
bind = $mod, up, movefocus, u
|
|
bind = $mod, down, movefocus, d
|
|
|
|
bind = $mod, h, movefocus, l
|
|
bind = $mod, l, movefocus, r
|
|
# bind = $mod, k, movefocus, u
|
|
# bind = $mod, j, movefocus, d
|
|
bind = $mod, k, layoutmsg, cycleprev
|
|
bind = $mod, j, layoutmsg, cyclenext
|
|
|
|
bind = $mod SHIFT, left, movewindow, l
|
|
bind = $mod SHIFT, right, movewindow, r
|
|
bind = $mod SHIFT, up, movewindow, u
|
|
bind = $mod SHIFT, down, movewindow, d
|
|
bind = $mod SHIFT, h, movewindow, l
|
|
bind = $mod SHIFT, l, movewindow, r
|
|
bind = $mod SHIFT, k, movewindow, u
|
|
bind = $mod SHIFT, j, movewindow, d
|
|
|
|
# master layout
|
|
bind = $mod, x, layoutmsg, swapwithmaster
|
|
bind = $mod CONTROL, left , layoutmsg, orientationleft
|
|
bind = $mod CONTROL, right, layoutmsg, orientationright
|
|
bind = $mod CONTROL, up , layoutmsg, orientationtop
|
|
bind = $mod CONTROL, down , layoutmsg, orientationbottom
|
|
bind = $mod CONTROL, c , layoutmsg, orientationcenter
|
|
bind = $mod SHIFT CONTROL, h , layoutmsg, addmaster
|
|
bind = $mod SHIFT CONTROL, l , layoutmsg, removemaster
|
|
|
|
# workspace
|
|
bind = $mod, 1, workspace, 1
|
|
bind = $mod, 2, workspace, 2
|
|
bind = $mod, 3, workspace, 3
|
|
bind = $mod, 4, workspace, 4
|
|
bind = $mod, 5, workspace, 5
|
|
bind = $mod, 6, workspace, 6
|
|
bind = $mod, 7, workspace, 7
|
|
bind = $mod, 8, workspace, 8
|
|
|
|
# bind = $mod, 1, split-workspace, 1
|
|
# bind = $mod, 2, split-workspace, 2
|
|
# bind = $mod, 3, split-workspace, 3
|
|
# bind = $mod, 4, split-workspace, 4
|
|
# bind = $mod, 5, split-workspace, 5
|
|
# bind = $mod, 6, split-workspace, 6
|
|
# bind = $mod, 7, split-workspace, 7
|
|
# bind = $mod, 8, split-workspace, 8
|
|
|
|
bind = $mod, A, togglespecialworkspace
|
|
bind = $mod SHIFT, A, movetoworkspace, special
|
|
|
|
bind = $mod SHIFT, 1, movetoworkspace, 1
|
|
bind = $mod SHIFT, 2, movetoworkspace, 2
|
|
bind = $mod SHIFT, 3, movetoworkspace, 3
|
|
bind = $mod SHIFT, 4, movetoworkspace, 4
|
|
bind = $mod SHIFT, 5, movetoworkspace, 5
|
|
bind = $mod SHIFT, 6, movetoworkspace, 6
|
|
bind = $mod SHIFT, 7, movetoworkspace, 7
|
|
bind = $mod SHIFT, 8, movetoworkspace, 8
|
|
|
|
# bind = $mod SHIFT, 1, split-movetoworkspace, 1
|
|
# bind = $mod SHIFT, 2, split-movetoworkspace, 2
|
|
# bind = $mod SHIFT, 3, split-movetoworkspace, 3
|
|
# bind = $mod SHIFT, 4, split-movetoworkspace, 4
|
|
# bind = $mod SHIFT, 5, split-movetoworkspace, 5
|
|
# bind = $mod SHIFT, 6, split-movetoworkspace, 6
|
|
# bind = $mod SHIFT, 7, split-movetoworkspace, 7
|
|
# bind = $mod SHIFT, 8, split-movetoworkspace, 8
|
|
|
|
bind = $mod, B, exec, killall -SIGUSR1 waybar
|
|
|
|
bind = $mod, mouse_down, workspace, e-1
|
|
bind = $mod, mouse_up, workspace, e+1
|
|
bind = $mod SHIFT CONTROL, left, movecurrentworkspacetomonitor, -1
|
|
bind = $mod SHIFT CONTROL, right, movecurrentworkspacetomonitor, +1
|
|
|
|
# Groups
|
|
|
|
bind = $mod, g, togglegroup
|
|
bind = $mod SHIFT, g, moveoutofgroup
|
|
bind = $mod CONTROL, Space, changegroupactive
|
|
|
|
# Monitors
|
|
|
|
bind = $mod, comma, focusmonitor, -1
|
|
bind = $mod, period, focusmonitor, +1
|
|
bind = $mod, TAB, focusmonitor, +1
|
|
bind = $mod SHIFT, comma, movewindow, mon:-1
|
|
bind = $mod SHIFT, period, movewindow, mon:+1
|
|
|
|
# pyprland
|
|
|
|
# bind = $mod, M, exec, /home/eric/.local/bin/pypr toggle_minimized
|
|
# bind = $mod SHIFT, M, togglespecialworkspace, minimized
|
|
|
|
# bind = $mod, Tab, exec, /home/eric/.local/bin/pypr expose
|
|
# bind = $mod SHIFT, W, togglespecialworkspace, exposed
|
|
|
|
# hycov
|
|
|
|
# bind = $mod, Tab, hycov:toggleoverview
|
|
bind = $mod, W, hycov:toggleoverview
|
|
# bind = $mod SHIFT, Tab,hycov:toggleoverview,forceall #grave key is the '~' key
|
|
# bind = $mod CONTROL, Tab, hycov:toggleoverview,forceallinone
|
|
# bind = ALT_L, Escape, hycov:toggleoverview
|
|
#
|
|
# bind = $mod, left, hycov:movefocus,l
|
|
# bind = $mod, down, hycov:movefocus,d
|
|
# bind = $mod, up, hycov:movefocus,u
|
|
# bind = $mod, right, hycov:movefocus,r
|
|
|
|
# bind = $mod, h, hycov:movefocus,l
|
|
# bind = $mod, j, hycov:movefocus,d
|
|
# bind = $mod, k, hycov:movefocus,u
|
|
# bind = $mod, l, hycov:movefocus,r
|
|
|
|
# hyprexpo
|
|
|
|
# bind = $mod SHIFT, W, hyprexpo:expo, toggle # can be: toggle, off/disable or on/enable
|