101 lines
4.1 KiB
Plaintext
101 lines
4.1 KiB
Plaintext
|
### MOD KEY
|
||
|
$mainMod = SUPER
|
||
|
|
||
|
# Screen brightness
|
||
|
bind = , XF86MonBrightnessUp, exec, light -A 15
|
||
|
bind = , XF86MonBrightnessDown, exec, light -U 15
|
||
|
# Volume
|
||
|
bind = , code:123, exec, pamixer -i 5
|
||
|
bind = , code:122, exec, pamixer -d 5
|
||
|
bind = , XF86AudioMicMute, exec, pamixer --default-source -m
|
||
|
bind = , code:121, exec, pamixer -t
|
||
|
bind = , XF86AudioPlay, exec, playerctl play-pause
|
||
|
bind = , XF86AudioPause, exec, playerctl play-pause
|
||
|
bind = , XF86AudioNext, exec, playerctl next
|
||
|
bind = , XF86AudioPrev, exec, playerctl previous
|
||
|
# HYPR Actions
|
||
|
bind = $mainMod, C, killactive,
|
||
|
bind = $mainMod, M, exit,
|
||
|
bind = $mainMod, F, togglefloating,
|
||
|
bind = $mainMod, P, pseudo, # dwindle
|
||
|
bind = $mainMod, J, togglesplit, # dwindle
|
||
|
# App Menus
|
||
|
bind = $mainMod SHIFT, A, exec, nwggrid -o 0.33 -s 48 -c "/home/ez/.config/nwg-launchers/nwggrid/style.css" -g candy-icons -wm hyprland
|
||
|
bind = $mainMod, A, exec, wofi --show drun
|
||
|
# App Launchers
|
||
|
bind = $mainMod, return, exec, kitty
|
||
|
bind = $mainMod, E, exec, thunar
|
||
|
bind = $mainMod, B, exec, firefox
|
||
|
bind = $mainMod, S, exec, code --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||
|
# Auto-hide top bar
|
||
|
bind = $mainMod, X, exec, killall waybar
|
||
|
bind = $mainMod, W, exec, waybar
|
||
|
# Screenshotter
|
||
|
bind = , code:107, exec, hyprland-interactive-screenshot
|
||
|
# DONUT
|
||
|
bind = $mainMod SHIFT, Q, exec, kitty -e donut
|
||
|
# Arcade (Chromium Web App)
|
||
|
bind = $mainMod, R, exec, /usr/bin/chromium --profile-directory=Default --app-id=dcdfoeddokocaikmdifojhachbjkpgfb
|
||
|
# Galculator
|
||
|
bind = $mainMod, D, exec, galculator
|
||
|
# Notifications
|
||
|
bind = $mainMod, N, exec, swaync-client -t
|
||
|
# Update
|
||
|
bind = $mainMod, U, exec, kitty -e fpf -U
|
||
|
# Clipboard selector
|
||
|
bind = $mainMod, V, exec, pkill wofi || cliphist list | wofi --dmenu -p clippick | cliphist decode | wl-copy
|
||
|
# Command History selector
|
||
|
bind = $mainMod, H, exec, pkill wofi || tac ~/.histfile | wofi --dmenu -p "Command History" | tr -d '\n' | wl-copy
|
||
|
# Emoji picker
|
||
|
bind = $mainMod SHIFT, V, exec, pkill wofimoji || wofimoji
|
||
|
|
||
|
|
||
|
# Move focus with mainMod + arrow keys
|
||
|
bind = $mainMod, left, movefocus, l
|
||
|
bind = $mainMod, right, movefocus, r
|
||
|
bind = $mainMod, up, movefocus, u
|
||
|
bind = $mainMod, down, movefocus, d
|
||
|
|
||
|
# Switch workspaces with mainMod + [0-9]
|
||
|
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
|
||
|
|
||
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||
|
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
|
||
|
|
||
|
# Scroll through existing workspaces with mainMod + scroll
|
||
|
bind = $mainMod, mouse_down, workspace, e+1
|
||
|
bind = $mainMod, mouse_up, workspace, e-1
|
||
|
|
||
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||
|
bindm = $mainMod, mouse:272, movewindow
|
||
|
bindm = $mainMod, mouse:273, resizewindow
|
||
|
|
||
|
# MINI_KEYBOARD
|
||
|
# check ~/.config/evremap/MINI_KEYBOARD.toml for keymap
|
||
|
bind = $mainMod_CONTROL, R, movecurrentworkspacetomonitor, HDMI-A-1
|
||
|
bind = $mainMod_CONTROL, L, movecurrentworkspacetomonitor, eDP-1
|
||
|
bind = $mainMod_CONTROL, W, swapactiveworkspaces, eDP-1 HDMI-A-1
|
||
|
bind = $mainMod_CONTROL, O, exec, nwggrid -o 0.33 -s 48 -c "/home/ez/.config/nwg-launchers/nwggrid/style.css" -g candy-icons -wm hyprland
|
||
|
bind = $mainMod_CONTROL, U, exec, kitty --title "Updating" -e yay --devel -Syu
|
||
|
bind = $mainMod_CONTROL, S, exec, kitty --title "HomeServer" -e ssh ez@homeserver
|
||
|
bind = $mainMod_CONTROL, H, exec, kitty --title "Updating HomeServer" -e ssh -t ez@homeserver 'sudo nala update && sudo nala upgrade'
|
||
|
bind = $mainMod_CONTROL, D, exec, kitty --title "Restarting Docker/Glances" -e ssh -t ez@homeserver 'sudo systemctl restart docker glances'
|