214 lines
7.8 KiB
Text
214 lines
7.8 KiB
Text
source = ~/.config/hypr/configs/default_apps.conf
|
|
|
|
# Variables
|
|
$mainMod = SUPER
|
|
$scripts = ~/.config/hypr/scripts
|
|
$launcher-scripts = ~/.config/rofi/scripts
|
|
|
|
# Applications
|
|
bind = $mainMod, W, exec, $scripts/launch_app $browser
|
|
bind = $mainMod, O, exec, $scripts/launch_app $notetaking-app
|
|
bind = $mainMod SHIFT, O, exec, $scripts/launch_app $office-suite
|
|
bind = $mainMod SHIFT, E,exec, $scripts/launch_app $alter-file-manager
|
|
bind = $mainMod, RETURN, exec, $scripts/launch_app $terminal
|
|
bind = $mainMod, BACKSPACE, exec, $scripts/launch_app $editor
|
|
bind = $mainMod SHIFT, BACKSPACE, exec, $scripts/launch_app $alter-editor
|
|
|
|
## Notifications Menu
|
|
bind = $mainMod, N, exec, $notifications-menu-toggle
|
|
bind = $mainMod SHIFT, R, exec, $notifications-menu-reload
|
|
bind = $mainMod SHIFT, N, exec, $notifications-menu-read
|
|
|
|
## Bar
|
|
bind = $mainMod CTRL, R, exec, $bar-reload
|
|
bind = $mainMod CTRL, T, exec, $bar-toggle
|
|
|
|
# Pickers/Launchers
|
|
bind = $mainMod, 23, exec, $launcher # Tab
|
|
bind = $mainMod SHIFT, W, exec, $launcher-scripts/wallpaper/wallpaper
|
|
bind = $mainMod, 61, exec, $launcher-scripts/keybindings/keybindings # /
|
|
bind = $mainMod SHIFT, V, exec, $launcher-scripts/wireguard/wireguard_selection menu
|
|
bind = $mainMod, ESCAPE, exec, $launcher-scripts/powermenu/powermenu
|
|
bind = $mainMod, Y, exec, $launcher-scripts/clipboard/clipboard
|
|
bind = $mainMod CTRL, E, exec, $launcher-scripts/emoji/emoji
|
|
|
|
## Screenshots
|
|
bind = CTRL, ESCAPE, exec, $launcher-scripts/screenshot/screenshot
|
|
bind = SHIFT, ESCAPE, exec, $launcher-scripts/screenshot/screenshot --freeze
|
|
|
|
# Pyprland
|
|
## Scratchpad Module
|
|
bind = $mainMod, V, exec, pypr toggle volume
|
|
bind = $mainMod, 51, exec, pypr toggle terminal # Backslash
|
|
bind = $mainMod, T, exec, pypr toggle btop
|
|
bind = $mainMod SHIFT, T, exec, pypr toggle nvtop
|
|
bind = $mainMod SHIFT, I, exec, pypr toggle gpt
|
|
bind = $mainMod SHIFT, B, exec, pypr toggle bluetooth
|
|
bind = $mainMod, E, exec, pypr toggle yazi
|
|
bind = $mainMod, D, exec, pypr toggle dots
|
|
|
|
## Other Modules
|
|
bind = $mainMod, Z, exec, pypr zoom
|
|
bind = $mainMod CTRL, W, exec, $scripts/random_wallpaper_hyprpaper
|
|
|
|
# Windows
|
|
## Basic Operations
|
|
bind = $mainMod, Q, killactive,
|
|
bind = $mainMod, A, exec, $scripts/toggle_floating
|
|
bind = $mainMod, P, pseudo
|
|
bind = $mainMod, F, fullscreen, 0
|
|
|
|
## Mouse
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
bindm = $mainMod, mouse:273, resizewindow
|
|
|
|
## Focusing
|
|
bind = $mainMod, LEFT, movefocus, l
|
|
bind = $mainMod, RIGHT, movefocus, r
|
|
bind = $mainMod, UP, movefocus, u
|
|
bind = $mainMod, DOWN, movefocus, d
|
|
### Vim-keybinds
|
|
bind = $mainMod, H, movefocus, l
|
|
bind = $mainMod, L, movefocus, r
|
|
bind = $mainMod, K, movefocus, u
|
|
bind = $mainMod, J, movefocus, d
|
|
|
|
## Moving
|
|
bind = $mainMod SHIFT, LEFT, movewindow, l
|
|
bind = $mainMod SHIFT, RIGHT, movewindow, r
|
|
bind = $mainMod SHIFT, UP, movewindow, u
|
|
bind = $mainMod SHIFT, DOWN, movewindow, d
|
|
bind = $mainMod SHIFT, 51, exec, $scripts/move_by_rules # Backslash
|
|
### Vim-keybinds
|
|
bind = $mainMod SHIFT, H, movewindow, l
|
|
bind = $mainMod SHIFT, L, movewindow, r
|
|
bind = $mainMod SHIFT, K, movewindow, u
|
|
bind = $mainMod SHIFT, J, movewindow, d
|
|
|
|
## Center and Split
|
|
bind = $mainMod, S, togglesplit
|
|
bind = $mainMod, C, exec, hyprctl dispatch centerwindow 1
|
|
|
|
## Group Control
|
|
bind = $mainMod, G, togglegroup
|
|
bind = $mainMod CTRL, G, lockactivegroup, toggle
|
|
bind = ALT, TAB, changegroupactive
|
|
|
|
## Resizing Windows
|
|
bind = $mainMod, R, submap, resize
|
|
submap = resize
|
|
|
|
binde = , RIGHT, resizeactive, 40 0
|
|
binde = , LEFT, resizeactive, -40 0
|
|
binde = , UP, resizeactive, 0 -40
|
|
binde = , DOWN, resizeactive, 0 40
|
|
|
|
binde = , L, resizeactive, 40 0
|
|
binde = , H, resizeactive, -40 0
|
|
binde = , K, resizeactive, 0 -40
|
|
binde = , J, resizeactive, 0 40
|
|
|
|
bind = , ESCAPE, submap, reset
|
|
|
|
submap = reset
|
|
|
|
# Workspaces
|
|
## Focusing other Workspaces
|
|
bind = $mainMod, 1, workspace, r~1
|
|
bind = $mainMod, 2, workspace, r~2
|
|
bind = $mainMod, 3, workspace, r~3
|
|
bind = $mainMod, 4, workspace, r~4
|
|
bind = $mainMod, 5, workspace, r~5
|
|
bind = $mainMod, 6, workspace, r~6
|
|
bind = $mainMod, 7, workspace, r~7
|
|
bind = $mainMod, 8, workspace, r~8
|
|
bind = $mainMod, 9, workspace, r~9
|
|
|
|
## Moving Windows to other Workspaces
|
|
bind = $mainMod SHIFT, 1, movetoworkspacesilent, r~1
|
|
bind = $mainMod SHIFT, 2, movetoworkspacesilent, r~2
|
|
bind = $mainMod SHIFT, 3, movetoworkspacesilent, r~3
|
|
bind = $mainMod SHIFT, 4, movetoworkspacesilent, r~4
|
|
bind = $mainMod SHIFT, 5, movetoworkspacesilent, r~5
|
|
bind = $mainMod SHIFT, 6, movetoworkspacesilent, r~6
|
|
bind = $mainMod SHIFT, 7, movetoworkspacesilent, r~7
|
|
bind = $mainMod SHIFT, 8, movetoworkspacesilent, r~8
|
|
bind = $mainMod SHIFT, 9, movetoworkspacesilent, r~9
|
|
|
|
## Moving Windows to other Workspaces (Silent)
|
|
bind = $mainMod ALT, 1, movetoworkspace, r~1
|
|
bind = $mainMod ALT, 2, movetoworkspace, r~2
|
|
bind = $mainMod ALT, 3, movetoworkspace, r~3
|
|
bind = $mainMod ALT, 4, movetoworkspace, r~4
|
|
bind = $mainMod ALT, 5, movetoworkspace, r~5
|
|
bind = $mainMod ALT, 6, movetoworkspace, r~6
|
|
bind = $mainMod ALT, 7, movetoworkspace, r~7
|
|
bind = $mainMod ALT, 8, movetoworkspace, r~8
|
|
bind = $mainMod ALT, 9, movetoworkspace, r~9
|
|
|
|
## Moving to other Workspace with Mouse Control
|
|
bind = $mainMod, mouse_down, workspace, m-1
|
|
bind = $mainMod, mouse_up, workspace, m+1
|
|
|
|
## Moving to other Workspace with Keyboard
|
|
bind = $mainMod CTRL, LEFT, workspace, m-1
|
|
bind = $mainMod CTRL, RIGHT, workspace, m+1
|
|
|
|
bind = $mainMod CTRL, H, workspace, m-1
|
|
bind = $mainMod CTRL, L, workspace, m+1
|
|
|
|
# Monitors
|
|
## Moving to Next and Prev Monitors
|
|
bind = $mainMod, 59, focusmonitor, -1 # Comma
|
|
bind = $mainMod, 60, focusmonitor, +1 # Period
|
|
|
|
# Media
|
|
## Audio
|
|
bind = $mainMod CTRL, V, exec, ~/.local/bin/restartAudio
|
|
|
|
bindl = $mainMod CTRL, mouse:280, exec, swayosd-client --output-volume mute-toggle # Extra Up Button
|
|
bindl = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
|
|
bindl = $mainMod CTRL, mouse:281, exec, swayosd-client --input-volume mute-toggle # Extra Down Button
|
|
bindl = , XF86AudioMicMute, exec, exec swayosd-client --input-volume mute-toggle
|
|
|
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
|
bindl = , XF86AudioPause, exec, playerctl play-pause
|
|
bindl = $mainMod CTRL, mouse:282, exec, playerctl play-pause # Extra Center Button
|
|
bindl = $mainMod CTRL, RETURN, exec, playerctl play-pause
|
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
|
bindl = $mainMod CTRL, mouse:275, exec, playerctl previous # Extra Back Button
|
|
bindl = $mainMod CTRL, 20, exec, playerctl previous # Minus Key
|
|
bindl = , XF86AudioNext, exec, playerctl next
|
|
bindl = $mainMod CTRL, mouse:276, exec, playerctl next # Extra Forward Button
|
|
bindl = $mainMod CTRL, 21, exec, playerctl next # Plus Key
|
|
|
|
bindle = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume +10
|
|
bindle = $mainMod ALT, 21, exec, swayosd-client --output-volume raise # Minus key
|
|
bindle = , XF86AudioLowerVolume, exec, swayosd-client --output-volume -10
|
|
bindle = $mainMod ALT, 20, exec, swayosd-client --output-volume lower # Plus key
|
|
|
|
bindle = , XF86InputRaiseVolume, exec, swayosd-client --input-volume raise
|
|
bindle = $mainMod SHIFT, 21, exec, swayosd-client --input-volume raise # Minus key
|
|
bindle = , XF86InputLowerVolume, exec, swayosd-client --input-volume lower
|
|
bindle = $mainMod SHIFT, 20, exec, swayosd-client --input-volume lower # Plus key
|
|
|
|
## Brightness
|
|
bindle = , XF86MonBrightnessUp, exec, swayosd-client --brightness +10
|
|
bindle = , XF86MonBrightnessDown, exec, swayosd-client --brightness -10
|
|
|
|
# Other
|
|
# Color picker
|
|
bind = $mainMod, INSERT, exec, $scripts/color_picker
|
|
|
|
## Disable anim, blur, etc
|
|
bind = $mainMod, F12, exec, $scripts/performance
|
|
|
|
## Freeze active window
|
|
bind = $mainMod SHIFT, ESCAPE, exec, $scripts/hyprfreeze -a
|
|
|
|
## Open Wikis
|
|
bind = $mainMod, F1, exec, xdg-open https://wiki.hyprland.org/
|
|
|
|
## Zoom
|
|
bind = $mainMod SHIFT, mouse:276, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor | awk '/^float.*/ {print $2 + 0.5}')
|
|
bind = $mainMod SHIFT, mouse:275, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor | awk '/^float.*/ {print $2 - 0.5}')
|