feat(hypr): Add dotfiles
This commit is contained in:
parent
b819c45b4c
commit
92b172b0a3
8 changed files with 544 additions and 0 deletions
161
stow/hyprland/.config/hypr/keybinds.conf
Normal file
161
stow/hyprland/.config/hypr/keybinds.conf
Normal file
|
@ -0,0 +1,161 @@
|
|||
$notify = "${SCRIPT_DIR}/notify.sh"
|
||||
|
||||
# Navigation
|
||||
|
||||
# Focus
|
||||
bind = $flag, $up, movefocus, u
|
||||
bind = $flag, $right, movefocus, r
|
||||
bind = $flag, $down, movefocus, d
|
||||
bind = $flag, $left, movefocus, l
|
||||
|
||||
bind = $flag, up, movefocus, u
|
||||
bind = $flag, right, movefocus, r
|
||||
bind = $flag, down, movefocus, d
|
||||
bind = $flag, left, movefocus, l
|
||||
|
||||
# Move windows
|
||||
bind = $flag+Shift, $up, movewindow, u
|
||||
bind = $flag+Shift, $right, movewindow, r
|
||||
bind = $flag+Shift, $down, movewindow, d
|
||||
bind = $flag+Shift, $left, movewindow, l
|
||||
|
||||
bind = $flag+Shift, up, movewindow, u
|
||||
bind = $flag+Shift, right, movewindow, r
|
||||
bind = $flag+Shift, down, movewindow, d
|
||||
bind = $flag+Shift, left, movewindow, l
|
||||
|
||||
# $flag+Next move scratchpad
|
||||
# $flag+KP_Next move scratchpad
|
||||
# $flag+Prior scratchpad show
|
||||
# $flag+KP_Prior scratchpad show
|
||||
bind = $flag, Next, movetoworkspace, special:scratchpad
|
||||
bind = $flag, KP_Next, movetoworkspace, special:scratchpad
|
||||
|
||||
bind = $flag, Prior, togglespecialworkspace, special:scratchpad
|
||||
bind = $flag, Prior, movetoworkspace, special:scratchpad
|
||||
bind = $flag, Prior, togglespecialworkspace, special:scratchpad
|
||||
|
||||
# bind = $flag, Next, movetoworkspace, special:magic
|
||||
# bind = $flag, Next, togglespecialworkspace, magic
|
||||
|
||||
# bind = $flag, KP_Next, togglespecialworkspace, magic
|
||||
# bind = $flag, KP_Next, movetoworkspace, +0
|
||||
# bind = $flag, KP_Next, togglespecialworkspace, magic
|
||||
# bind = $flag, KP_Next, movetoworkspace, special:magic
|
||||
# bind = $flag, KP_Next, togglespecialworkspace, magic
|
||||
|
||||
# Layouts
|
||||
# bind = $flag, z, layout toggle split
|
||||
# bind = $flag, x, layout tabbed
|
||||
# bind = $flag, c, split horizontal
|
||||
# bind = $flag, v, split vertical
|
||||
|
||||
bind = $flag, f, togglefloating
|
||||
bind = $flag+Shift, f, settiled
|
||||
|
||||
bind = $flag, s, pin
|
||||
bind = $flag, s, setfloating
|
||||
bind = $flag+Shift, s, pin
|
||||
bind = $flag+Shift, s, settiled
|
||||
|
||||
bind = $flag, F11, fullscreen, 1
|
||||
# bind = $flag, Prior, fullscreen, 1
|
||||
# bind = $flag, KP_Prior, fullscreen, 1
|
||||
|
||||
# Workspaces
|
||||
|
||||
$ws1 = 1
|
||||
$ws2 = 2
|
||||
$ws3 = 3
|
||||
$ws4 = 4
|
||||
$ws5 = 5
|
||||
$ws6 = 6
|
||||
$ws7 = 7
|
||||
$ws8 = 8
|
||||
$ws9 = 9
|
||||
$ws10 = 10
|
||||
$ws11 = 11
|
||||
$ws12 = 12
|
||||
|
||||
# Focus a specific workspace
|
||||
bind = $flag, 1, workspace, $ws1
|
||||
bind = $flag, 2, workspace, $ws2
|
||||
bind = $flag, 3, workspace, $ws3
|
||||
bind = $flag, 4, workspace, $ws4
|
||||
bind = $flag, 5, workspace, $ws5
|
||||
bind = $flag, 6, workspace, $ws6
|
||||
bind = $flag, 7, workspace, $ws7
|
||||
bind = $flag, 8, workspace, $ws8
|
||||
bind = $flag, 9, workspace, $ws9
|
||||
bind = $flag, 0, workspace, $ws10
|
||||
bind = $flag, minus, workspace, $ws11
|
||||
bind = $flag, equal, workspace, $ws12
|
||||
|
||||
# Move window to a specific workspace
|
||||
bind = $flag+Shift, 1, movetoworkspace, $ws1
|
||||
bind = $flag+Shift, 2, movetoworkspace, $ws2
|
||||
bind = $flag+Shift, 3, movetoworkspace, $ws3
|
||||
bind = $flag+Shift, 4, movetoworkspace, $ws4
|
||||
bind = $flag+Shift, 5, movetoworkspace, $ws5
|
||||
bind = $flag+Shift, 6, movetoworkspace, $ws6
|
||||
bind = $flag+Shift, 7, movetoworkspace, $ws7
|
||||
bind = $flag+Shift, 8, movetoworkspace, $ws8
|
||||
bind = $flag+Shift, 9, movetoworkspace, $ws9
|
||||
bind = $flag+Shift, 0, movetoworkspace, $ws10
|
||||
bind = $flag+Shift, Minus, movetoworkspace, $ws11
|
||||
bind = $flag+Shift, Equal, movetoworkspace, $ws12
|
||||
|
||||
# Go through workspaces in order
|
||||
bind = $flag+Ctrl, $left, workspace, e-1
|
||||
bind = $flag+Ctrl, $right, workspace, e+1
|
||||
|
||||
bind = $flag+Ctrl, left, workspace, e-1
|
||||
bind = $flag+Ctrl, right, workspace, e+1
|
||||
|
||||
bind = $flag+Ctrl+Shift, $left, movetoworkspace, e-1
|
||||
bind = $flag+Ctrl+Shift, $right, movetoworkspace, e+1
|
||||
|
||||
bind = $flag+Ctrl+Shift, left, movetoworkspace, e-1
|
||||
bind = $flag+Ctrl+Shift, right, movetoworkspace, e+1
|
||||
|
||||
# GNOME-like keybinds
|
||||
bind = $flag+Alt, $left, workspace, e-1
|
||||
bind = $flag+Alt, $right, workspace, e+1
|
||||
|
||||
bind = $flag+Alt, left, workspace, e-1
|
||||
bind = $flag+Alt, right, workspace, e+1
|
||||
|
||||
bind = $flag+Alt+Shift, $left, movetoworkspace, e-1
|
||||
bind = $flag+Alt+Shift, $right, movetoworkspace, e+1
|
||||
|
||||
bind = $flag+Alt+Shift, left, movetoworkspace, e-1
|
||||
bind = $flag+Alt+Shift, right, movetoworkspace, e+1
|
||||
|
||||
# Shortcuts
|
||||
|
||||
# Reload
|
||||
bind = Alt+Shift, r, exec, "hyperctl reload"
|
||||
bind = Ctrl+Alt+Shift, r, forcerendererreload
|
||||
bind = Alt+Shift, e, exit
|
||||
|
||||
# Kill a window
|
||||
bind = $flag, q, closewindow, activewindow
|
||||
|
||||
# Start a terminal
|
||||
bind = $flag, Return, exec, $term
|
||||
bind = CTRL&ALT, T, exec, $term
|
||||
# Application menu
|
||||
bind = Alt, Space, exec, $menu
|
||||
bind = Alt, Tab, focuscurrentorlast
|
||||
|
||||
bind = $flag, e, exec, $term -e vifm
|
||||
|
||||
bind = Ctrl+Shift, a, exec, notify-send "hole!" && hyprctl setcursor _ 87 && sleep 5 && hyprctl setcursor _ 24
|
||||
|
||||
# bind = $flag, mouse_up, movefocus, l
|
||||
bind = SUPER, mouse_down, workspace, e-1
|
||||
bind = SUPER, mouse_up, workspace, e+1
|
||||
# bind = $flag, mouse_down, movefocus, r
|
||||
|
||||
bind = $flag, Delete, exec, $lock
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue