hyprland-dotfiles/hypr/conf/keybindings/default.conf

92 lines
3.7 KiB
Plaintext
Raw Normal View History

2023-10-01 09:19:31 +00:00
# -----------------------------------------------------
# Key bindings
2023-11-27 07:57:38 +00:00
# name: "Default"
2023-10-01 09:19:31 +00:00
# -----------------------------------------------------
2023-11-22 12:34:48 +00:00
# SUPER KEY
2023-10-01 09:19:31 +00:00
$mainMod = SUPER
2023-11-22 12:34:48 +00:00
# Applications
2023-10-01 09:19:31 +00:00
bind = $mainMod, RETURN, exec, alacritty
2023-11-22 12:34:48 +00:00
bind = $mainMod, B, exec, chromium
bind = $mainMod CTRL, B, exec, brave
# Windows
2023-10-01 09:19:31 +00:00
bind = $mainMod, Q, killactive
bind = $mainMod, F, fullscreen
2023-11-17 12:48:02 +00:00
bind = $mainMod, E, exec, ~/dotfiles/scripts/filemanager.sh
2023-10-01 09:19:31 +00:00
bind = $mainMod, T, togglefloating
2023-11-10 21:12:15 +00:00
bind = $mainMod SHIFT, T, exec, ~/dotfiles/hypr/scripts/toggleallfloat.sh
2023-10-01 09:19:31 +00:00
bind = $mainMod, J, togglesplit
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
2023-11-22 12:34:48 +00:00
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
bind = $mainMod SHIFT, right, resizeactive, 100 0
bind = $mainMod SHIFT, left, resizeactive, -100 0
bind = $mainMod SHIFT, up, resizeactive, 0 -100
bind = $mainMod SHIFT, down, resizeactive, 0 100
2023-10-01 09:19:31 +00:00
2023-11-22 12:34:48 +00:00
# Actions
2023-11-10 21:12:15 +00:00
bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh
2023-10-01 09:19:31 +00:00
bind = $mainMod CTRL, Q, exec, wlogout
2023-11-10 21:12:15 +00:00
bind = $mainMod SHIFT, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh
bind = $mainMod CTRL, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh select
bind = $mainMod CTRL, RETURN, exec, rofi -show drun
bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh
2023-10-01 09:19:31 +00:00
bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh
2023-11-10 21:12:15 +00:00
bind = $mainMod SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.sh
2023-10-01 09:19:31 +00:00
bind = $mainMod CTRL, F, exec, ~/dotfiles/scripts/filemanager.sh
2023-10-02 08:17:11 +00:00
bind = $mainMod CTRL, C, exec, ~/dotfiles/scripts/cliphist.sh
2023-11-27 07:57:38 +00:00
bind = $mainMod, V, exec, ~/dotfiles/scripts/cliphist.sh
2023-10-09 15:27:03 +00:00
bind = $mainMod CTRL, T, exec, ~/dotfiles/waybar/themeswitcher.sh
2023-11-23 13:13:31 +00:00
bind = $mainMod CTRL, S, exec, alacritty --class dotfiles-floating -e ~/dotfiles/hypr/settings/settings.sh
2023-10-01 09:19:31 +00:00
2023-11-22 12:34:48 +00:00
# Workspaces
2023-10-01 09:19:31 +00:00
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
bind = $mainMod CTRL, down, workspace, empty
2023-10-01 09:19:31 +00:00
2023-11-22 12:34:48 +00:00
# Fn keys
2023-11-22 15:10:52 +00:00
bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10%
bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%-
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind = , XF86AudioPlay, exec, playerctl play-pause
bind = , XF86AudioPause, exec, playerctl pause
bind = , XF86AudioNext, exec, playerctl next
bind = , XF86AudioPrev, exec, playerctl previous
bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
bind = , XF86Calculator, exec, qalculate-gtk
2023-11-25 16:10:03 +00:00
bind = , XF86Lock, exec, swaylock
bind = , XF86Tools, exec, alacritty --class dotfiles-floating -e ~/dotfiles/hypr/settings/settings.sh
2023-10-02 11:20:24 +00:00
2023-10-01 09:19:31 +00:00
# Passthrough SUPER KEY to Virtual Machine
bind = $mainMod, P, submap, passthru
submap = passthru
bind = SUPER, Escape, submap, reset
submap = reset