Files
hyprland/config/hypr/UserConfigs/UserKeybinds.conf
T
2025-01-11 08:59:35 +05:45

51 lines
2.2 KiB
Plaintext

# See https://wiki.hyprland.org/Configuring/Keywords/ for more settings and variables
# See also Laptops.conf for laptops keybinds
# SUPER KEY
$mainMod = SUPER
$scriptsDir = $HOME/dotfiles/hypr/scripts
$RunCMD = $scriptsDir/RunCMD.sh
$fabric = python -m fabric execute quickbar
# Testing
bind = Alt, f12, exec, notify-send 'Test notification' "Here's a really long message to test truncation and wrapping\nYou can middle click or flick this notification to dismiss it!" -a 'terminal' -A "Test1=I got it!" -A "Test2=Another action"
bind = Alt, Equal, exec, notify-send 'hmm' ${SLURP_ARGS}
# Applications
bind = ALT SHIFT,Return, exec, kitty --title Kitty --single-instance
bind = $mainMod, Return, exec, kitty
bind = $mainMod, E, exec, thunar
bind = $mainMod, B, exec, firefox
bind = $mainMod, T, exec, materialgram
# Actions
bind = $mainMod SHIFT, G, exec, $RunCMD gamemode
bind = $mainMod, F3, exec, $RunCMD kb_changer
bind = $mainMod, space, exec, $RunCMD change_layout
bind = SHIFT ALT,W, exec, python -O $scriptsDir/wallpaper.py -R
bind = $mainMod CTRL, L, exec, pidof hyprlock || hyprlock -q
bind = $mainMod CTRL, P, exec, systemctl poweroff
bind = $mainMod CTRL, R, exec, systemctl reboot
bind = ALT, t, exec, killall quickbar || sleep 0.5 && python ~/dotfiles/quickbar/main.py &
bind = $mainMod, R, exec, $fabric 'sc.screencast_start(True)'
bind = $mainMod_SHIFT, R, exec, $fabric 'sc.screencast_stop()'
bind=$mainMod,Z, exec, $fabric 'sc.screenshot()'
bind=,Print, exec, $fabric 'sc.screenshot(True)'
bind = Super, y, exec, XDG_CURRENT_DESKTOP="gnome" gnome-control-center
bind = $mainMod, D, exec, $fabric 'launcher.open("launcher")'
bind = $mainMod, W, exec, $fabric 'launcher.open("wallpapers")'
bind = $mainMod, X, exec, $fabric 'launcher.open("power")'
bind = $mainMod, V, exec, $fabric 'launcher.open("cliphist")'
bind = $mainMod, S, exec, $fabric 'launcher.open("todo")'
bind = ALT, E, exec, $fabric 'launcher.open("emoji")'
# bind = $mainMod, D, exec, walker
# bind = $mainMod, D, exec, fuzzel