added compiler keybind

This commit is contained in:
venus
2026-03-11 20:59:45 -05:00
parent fe53daba15
commit 3c5532be51
5 changed files with 58 additions and 27 deletions

View File

@@ -11,12 +11,20 @@ bind = $mainMod, W, exec, $terminal --class popup-term
bind = $mainMod, C, killactive,
bind = $mainMod SHIFT CTRL, M, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, BACKSLASH, togglesplit # dwindle
bind = $mainMod SHIFT,BACKSLASH, pseudo #
bind = $mainMod, KEY_LEFTBRACE, exec, hyprctl general:layout master
# Workspace movement and tiling rule
bind = $mainMod, P, togglefloating,
bind = $mainMod, P, pin,
bind = $mainMod SHIFT, BACKSLASH, togglefloating, # float
bind = $mainMod, BACKSLASH, layoutmsg, togglesplit # dwindle
bind = $mainMod CTRL, BACKSLASH, pseudo #
# bind = $mainMod, SEMICOLON, exec, hyprctl general:layout master
# bind = $mainMod, APOSTROPHE, exec, hyprctl general:layout dwindle
# Compiler window
bind = $mainMod SHIFT, A, tagwindow, compiler
bind = $mainMod, A, exec, $XDG_CONFIG_HOME/hypr/scripts/compile.sh
# 2. moving focus with vim
bind = $mainMod, H, movefocus, l
@@ -132,7 +140,7 @@ bind = $mainMod, T, exec, kdeconnect-app
# This will toggle HyprExpo when SUPER+g is pressed
### GESTURES
# gesture = 3, up, dispatcher, hyprexpo:expo
gesture = 3, up, dispatcher, hyprexpo:expo
# gesture = 3, pinch, special, magic
gesture = 3, down, special, magic
# gesture = 3, up, dispatcher, overview:toggle

View File

@@ -4,16 +4,16 @@
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
# Example windowrules that are useful
windowrule{
name = calculator
match:class = calc-term
opacity = 0.7
float = on
center = true
name = compiler-window
match:tag = compiler
border_color = rgba(ccaaffee)
# col.inactive_border = rgba(333333aa)
border_size = 2
float = false
}
# put vesktop in a special workspace
windowrule{
name = discord
match:class = vesktop
@@ -55,6 +55,7 @@ windowrule {
pseudo = yes
float = yes
center = true
opacity = 1
# move = cursor_x-10 cursor_y-10
size = monitor_w*.4 monitor_h*.4