updates
This commit is contained in:
1 parent
54aa46982b
commit
83d387b10d
3 files changed
+150
-4840
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
@@ -2,125 +2,152 @@
|
||||
# See also Laptops.conf for laptops keybinds
|
||||
|
||||
$mainMod = SUPER
|
||||
# Categories (for script)
|
||||
#! @actions: Actions
|
||||
#! @apps: Applications
|
||||
#! @windows: Windows
|
||||
#! @workspaces: Workspaces
|
||||
#! @misc: Misc
|
||||
#! @plugins: Plugins
|
||||
|
||||
|
||||
# Master Layout
|
||||
bind = ALT, Space, layoutmsg, removemaster
|
||||
bind = $mainMod, I, layoutmsg, addmaster
|
||||
bind = $mainMod, J, layoutmsg, cyclenext
|
||||
bind = $mainMod, K, layoutmsg, cycleprev
|
||||
bind = $mainMod, M, exec, hyprctl dispatch splitratio 0.3
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, S, layoutmsg, swapwithmaster
|
||||
bind = $mainMod SHIFT, M, exec, hyprctl dispatch splitratio -0.3
|
||||
bind = ALT, Space, layoutmsg, removemaster #! @description: "Remove Master"; @windows;
|
||||
bind = $mainMod, I, layoutmsg, addmaster #! @description: "Add Master"; @windows;
|
||||
bind = $mainMod, L, layoutmsg, cyclenext #! @description: "cycle next in Master"; @windows;
|
||||
bind = $mainMod, H, layoutmsg, cycleprev #! @description: "cycle prev in Master"; @windows;
|
||||
bind = $mainMod, P, pseudo, # dwindle #! @description: "Toggle dwindle"; @windows;
|
||||
bind = $mainMod, S, layoutmsg, swapwithmaster #! @description: "Swap with master"; @windows;
|
||||
|
||||
|
||||
# Hyprland
|
||||
bind = $mainMod, C, killactive, #quit app
|
||||
bind = $mainMod_SHIFT, C, closewindow,
|
||||
bind = $mainMod, F, exec, hyprctl dispatch togglefloating && hyprctl dispatch centerwindow 1
|
||||
bind = $mainMod ALT, F, exec, hyprctl dispatch workspaceopt allfloat
|
||||
bind = $mainMod SHIFT, F, togglefloating,
|
||||
bind = CTRL_ALT, Delete, exit, #exit hyprland
|
||||
bind = $mainMod_SHIFT, Space, fullscreen, 0
|
||||
bind = $mainMod_SHIFT, O, toggleopaque
|
||||
bind = $mainMod, C, killactive, #! @description: "Kill active window"; @windows;
|
||||
bind = $mainMod_SHIFT, C, closewindow, #! @description: "Close window"; @windows;
|
||||
bind = $mainMod, F, exec, hyprctl dispatch togglefloating && hyprctl dispatch centerwindow 1 #! @description: "Toggle to center"; @windows;
|
||||
bind = $mainMod ALT, F, exec, hyprctl dispatch workspaceopt allfloat #! @description: "Toggle all float windows"; @windows;
|
||||
bind = $mainMod SHIFT, F, togglefloating, #! @description: "Toggle floating"; @windows;
|
||||
bind = CTRL_ALT, Delete, exit, #exit hyprland #! @description: "Exit hyprland"; @actions;
|
||||
bind = $mainMod_SHIFT, Space, fullscreen, 0 #! @description: "Open window in full screen mode"; @windows;
|
||||
bind = $mainMod_SHIFT, O, toggleopaque #! @description: "Toggle opaque"; @actions;
|
||||
|
||||
# Change Workspace Mode
|
||||
bind = $mainMod_SHIFT, F, exec, hyprctl dispatch workspaceopt allfloat
|
||||
bind = $mainMod_SHIFT, P, exec, hyprctl dispatch workspaceopt, allpseudo
|
||||
bind = $mainMod_SHIFT, F, exec, hyprctl dispatch workspaceopt allfloat
|
||||
bind = $mainMod_SHIFT, P, exec, hyprctl dispatch workspaceopt, allpseudo
|
||||
|
||||
# Group
|
||||
bind = $mainMod, G, togglegroup
|
||||
bind = ALT, Tab, changegroupactive # change focus to another window
|
||||
bind = $mainMod, G, togglegroup #! @description: "Toggle group"; @windows;
|
||||
bind = ALT, Tab, changegroupactive #! @description: "change focus to another window"; @windows;
|
||||
|
||||
# For Moniter
|
||||
bind = $mainMod, Tab, focusmonitor, +1
|
||||
bind = $mainMod_SHIFT, Tab, focusmonitor, -1
|
||||
bind = $mainMod, Tab, focusmonitor, +1 #! @description: "Focus Moniter"; @actions;
|
||||
bind = $mainMod_SHIFT, Tab, focusmonitor, -1 #! @description: "Toggle Focus"; @actions;
|
||||
|
||||
# Workspaces related
|
||||
#bind = $mainMod, Tab, workspace, m+1
|
||||
#bind = $mainMod SHIFT, Tab, workspace, m-1
|
||||
|
||||
# Special Workspace
|
||||
bind = $mainMod, U, togglespecialworkspace,
|
||||
bind = $mainMod SHIFT, U, movetoworkspace, special
|
||||
bind = $mainMod, U, togglespecialworkspace, #! @description: "Toggle Special Workspace"; @workspaces;
|
||||
bind = $mainMod SHIFT, U, movetoworkspace, special #! @description: "Move to Special Workspace"; @windows;
|
||||
|
||||
|
||||
# Resize Active
|
||||
binde = $mainMod_ALT, left, resizeactive, -20 0
|
||||
binde = $mainMod_ALT, right,resizeactive, 20 0
|
||||
binde = $mainMod_ALT, up, resizeactive, 0 -20
|
||||
binde = $mainMod_ALT, down, resizeactive, 0 20
|
||||
# Resize Active (Using arrow)
|
||||
binde = $mainMod_ALT, left, resizeactive, -20 0
|
||||
binde = $mainMod_ALT, right, resizeactive, 20 0
|
||||
binde = $mainMod_ALT, up, resizeactive, 0 -20
|
||||
binde = $mainMod_ALT, down, resizeactive, 0 20
|
||||
# Resize Action using vim motin
|
||||
binde = $mainMod_ALT, h, resizeactive, -20 0
|
||||
binde = $mainMod_ALT, l, resizeactive, 20 0
|
||||
binde = $mainMod_ALT, k, resizeactive, 0 -20
|
||||
binde = $mainMod_ALT, j, resizeactive, 0 20
|
||||
|
||||
# Move Active usign Arrow
|
||||
bind = $mainMod_SHIFT, left, movewindow, l
|
||||
bind = $mainMod_SHIFT, right, movewindow, r
|
||||
bind = $mainMod_SHIFT, up, movewindow, u
|
||||
bind = $mainMod_SHIFT, down, movewindow, d
|
||||
|
||||
# Move Active
|
||||
bind = $mainMod_SHIFT, left, movewindow, l
|
||||
bind = $mainMod_SHIFT, right, movewindow, r
|
||||
bind = $mainMod_SHIFT, up, movewindow, u
|
||||
bind = $mainMod_SHIFT, down, movewindow, d
|
||||
# Move Active using vim motion
|
||||
bind = $mainMod_SHIFT, h, movewindow, l
|
||||
bind = $mainMod_SHIFT, l, movewindow, r
|
||||
bind = $mainMod_SHIFT, k, movewindow, u
|
||||
bind = $mainMod_SHIFT, j, movewindow, d
|
||||
|
||||
# Change Focus using Arrow
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Change Focus
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
# Change Focus using vim motion
|
||||
bind = $mainMod, j, movefocus, l
|
||||
bind = $mainMod, l, movefocus, r
|
||||
bind = $mainMod, k, movefocus, u
|
||||
bind = $mainMod, j, movefocus, d
|
||||
|
||||
# Move Active (Floating Only) using arrow
|
||||
binde = $mainMod_CTRL, left, moveactive, -20 0
|
||||
binde = $mainMod_CTRL, right, moveactive, 20 0
|
||||
binde = $mainMod_CTRL, up, moveactive, 0 -20
|
||||
binde = $mainMod_CTRL, down, moveactive, 0 20
|
||||
|
||||
# Move Active (Floating Only)
|
||||
binde = $mainMod_CTRL, left, moveactive, -20 0
|
||||
binde = $mainMod_CTRL, right, moveactive, 20 0
|
||||
binde = $mainMod_CTRL, up, moveactive, 0 -20
|
||||
binde = $mainMod_CTRL, down, moveactive, 0 20
|
||||
# Move Active (Floating Only) Using vm motion
|
||||
binde = $mainMod_CTRL, h, moveactive, -20 0
|
||||
binde = $mainMod_CTRL, l, moveactive, 20 0
|
||||
binde = $mainMod_CTRL, k, moveactive, 0 -20
|
||||
binde = $mainMod_CTRL, j, moveactive, 0 20
|
||||
|
||||
|
||||
# Switch Workspaces
|
||||
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, 1, workspace, 1 #! @description: "Switch workspace"; @workspaces; @replace "1" > "0-9";
|
||||
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 and follow to workspace
|
||||
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 SHIFT, 1, movetoworkspace, 1 #! @description: "Move window to workspace and follow"; @workspaces; @replace "1" > "0-9";
|
||||
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 SHIFT, j, workspace, empty #! @description: "Switch to empty workspace"; @workspaces;
|
||||
|
||||
# Move active window workspace silently
|
||||
bind = SHIFT_ALT, 1, movetoworkspacesilent, 1
|
||||
bind = SHIFT_ALT, 2, movetoworkspacesilent, 2
|
||||
bind = SHIFT_ALT, 3, movetoworkspacesilent, 3
|
||||
bind = SHIFT_ALT, 4, movetoworkspacesilent, 4
|
||||
bind = SHIFT_ALT, 5, movetoworkspacesilent, 5
|
||||
bind = SHIFT_ALT, 6, movetoworkspacesilent, 6
|
||||
bind = SHIFT_ALT, 7, movetoworkspacesilent, 7
|
||||
bind = SHIFT_ALT, 8, movetoworkspacesilent, 8
|
||||
bind = SHIFT_ALT, 9, movetoworkspacesilent, 9
|
||||
bind = SHIFT_ALT, 0, movetoworkspacesilent, 10
|
||||
bind = SHIFT_ALT, 1, movetoworkspacesilent, 1 #! @description: "Move window to workspace silently"; @workspaces;
|
||||
bind = SHIFT_ALT, 2, movetoworkspacesilent, 2
|
||||
bind = SHIFT_ALT, 3, movetoworkspacesilent, 3
|
||||
bind = SHIFT_ALT, 4, movetoworkspacesilent, 4
|
||||
bind = SHIFT_ALT, 5, movetoworkspacesilent, 5
|
||||
bind = SHIFT_ALT, 6, movetoworkspacesilent, 6
|
||||
bind = SHIFT_ALT, 7, movetoworkspacesilent, 7
|
||||
bind = SHIFT_ALT, 8, movetoworkspacesilent, 8
|
||||
bind = SHIFT_ALT, 9, movetoworkspacesilent, 9
|
||||
bind = SHIFT_ALT, 0, movetoworkspacesilent, 10
|
||||
|
||||
# Scroll through existing workspaces with mainMod
|
||||
bind = SHIFT_ALT, d, workspace, e+1
|
||||
bind = SHIFT_ALT, a, workspace, e-1
|
||||
bind = SHIFT_ALT, d, workspace, e+1
|
||||
bind = SHIFT_ALT, a, workspace, e-1
|
||||
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
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
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user