This commit is contained in:
sankalp committed 2024-07-01 01:33:33 +05:45
1 parent 54aa46982b
commit 83d387b10d
3 files changed
+150 -4840

No files matched your search

+43 -39
View File
@@ -3,63 +3,67 @@
# See also Laptops.conf for laptops keybinds
$mainMod = SUPER
$files = thunar
$term = kitty
$browser = firefox
$scriptsDir = $HOME/dotfiles/hypr/scripts
$RunCMD = $scriptsDir/RunCMD.sh
# Categories (for script)
#! @actions: Actions
#! @apps: Applications
#! @windows: Windows
#! @workspaces: Workspaces
#! @misc: Misc
#! @plugins: Plugins
# RunCMD App launcher
#bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window -config ~/.config/rofi/launcher.rasi
#bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window
#bind = CTRL, mouse:273, exec, killall rofi || rofi -show drun
bind = $mainMod, D, exec, pkill rofi || true && ags -t applauncher
# Power off, Reboot, Log out, Lockscreen,
bind = $mainMod_CTRL, L, exec, pidof hyprlock || hyprlock -q
bind = $mainMod_CTRL, P, exec, systemctl poweroff
bind = $mainMod_CTRL, R, exec, systemctl reboot
bind = $mainMod_CTRL, Q, exec, loginctl kill-session $XDG_SESSION_ID
bind = $mainMod_CTRL, L, exec, pidof hyprlock || hyprlock -q #! @description: "Lock screen"; @actions;
bind = $mainMod_CTRL, P, exec, systemctl poweroff #! @description: "ShutDown"; @actions;
bind = $mainMod_CTRL, R, exec, systemctl reboot #! @description: "Restart"; @actions;
bind = $mainMod_CTRL, Q, exec, loginctl kill-session $XDG_SESSION_ID #! @description: "LogOut"; @actions;
# Terminals
bind = ALT_SHIFT,Return, exec, kitty --title Kitty --single-instance
bind = $mainMod, Return, exec, $term
bind = ALT_SHIFT,Return, exec, kitty --title Kitty --single-instance #! @description: "Terminal Float"; @apps;
bind = $mainMod, Return, exec, kitty #! @description: "Terminal"; @apps;
# Apps
bind = $mainMod, E, exec, $files
bind = ALT, F, exec, $browser
bind = ALT, Y, exec, pypr toggle yazi && hyprctl dispatch bringactivetotop
bind = $mainMod, Slash, exec, pypr toggle nvim && hyprctl dispatch bringactivetotop
bind = $mainMod, E, exec, thunar #! @description: "File Manager"; @apps;
bind = ALT, F, exec, firefox #! @description: "Browser"; @apps;
bind = ALT, Y, exec, pypr toggle yazi && hyprctl dispatch bringactivetotop #! @description: "File Manager"; @apps;
bind = $mainMod, Slash, exec, pypr toggle nvim && hyprctl dispatch bringactivetotop #! @description: "Neovim"; @apps;
# FEATURES / EXTRAS
bind = $mainMod_SHIFT, G, exec, $RunCMD gamemode
bind = $mainMod, PERIOD, exec, ags -t emoji
bind = ALT, F3, exec, $RunCMD kb_changer
bind = $mainMod_SHIFT, B, exec, $RunCMD toggle_blur
bind = $mainMod, space, exec, $RunCMD change_layout
bind = SHIFT_ALT, C, exec, pkill rofi || true && ags -t cliphist
bind = $mainMod, W, exec, ags -r "OpenSettings('wallpaper')"
bind = SHIFT_ALT,W, exec, python -O $scriptsDir/wallpaper.py -R
bind = $mainMod, F1, exec, $scriptsDir/KeyHints.sh
bind = $mainMod, COMMA, exec, pypr zoom
bind = ALT, COMMA, exec, pypr zoom +1
bind = $mainMod_SHIFT, Z, exec, ags -t media
bind = $mainMod, R, exec, ags -t sidebar
bind = $mainMod_SHIFT, G, exec, $RunCMD gamemode #! @description: "Toggle animations"; @actions;
bind = ALT, F3, exec, $RunCMD kb_changer #! @description: "Change Keyboard Layout"; @actions;
bind = $mainMod_SHIFT, B, exec, $RunCMD toggle_blur #! @description: "Toggle blur"; @actions;
bind = $mainMod, space, exec, $RunCMD change_layout #! @description: "Change Layout(master/dwindle)"; @actions;
bind = SHIFT_ALT,W, exec, python -O $scriptsDir/wallpaper.py -R #! @description: "Random wallpaper"; @actions;
bind = $mainMod, COMMA, exec, pypr zoom #! @description: "Zoom the screen"; @plugins;
bind = ALT, COMMA, exec, pypr zoom +1 #! @description: "Increase Zoom"; @plugins;
# AGS
bind = $mainMod, D, exec, ags -t applauncher #! @description: "App Launcher"; @apps;
bind = $mainMod_SHIFT, Z, exec, ags -t media #! @description: "Players"; @actions;
bind = $mainMod, R, exec, ags -t sidebar #! @description: "Sidebar"; @actions;
bind = $mainMod, PERIOD, exec, ags -t emoji #! @description: "Emoji picker"; @apps;
bind = SHIFT_ALT, C, exec, ags -t cliphist #! @description: "Clipboard history"; @actions;
bind = $mainMod, W, exec, ags -r "OpenSettings('wallpaper')" #! @description: "Change wallpaper"; @actions;
bind = $mainMod_SHIFT, S, exec, ags -r 'OpenSettings()' #! @description: "Setting"; @actions;
bind = ALT, F1, exec, ags -t cheatsheet #! @description: "List of keybindings"; @misc;
# Online Music related keybinds
bind = ALT, M, exec, $RunCMD music -m # open rofi music
bind = ALT, S, exec, $RunCMD music -s # Stop
bind = ALT, N, exec, $RunCMD music -n # Next
bind = ALT, P, exec, $RunCMD music -p # Previous
bind = ALT, R, exec, $RunCMD music -k # Resume
bind = ALT, M, exec, $RunCMD music -m # open rofi music
bind = ALT, S, exec, $RunCMD music -s # Stop
bind = ALT, N, exec, $RunCMD music -n # Next
bind = ALT, P, exec, $RunCMD music -p # Previous
bind = ALT, R, exec, $RunCMD music -k # Resume
# ScreenShot
bind = $mainMod, Z, exec, $scriptsDir/ScreenShot.sh --area
bind = ,Print, exec, $scriptsDir/ScreenShot.sh --now
bind = $mainMod, Z, exec, $scriptsDir/ScreenShot.sh --area #! @description: "Window screenshot"; @actions;
bind = ,Print, exec, $scriptsDir/ScreenShot.sh --now #! @description: "Screenshot"; @actions;