added tiling and more keyboard plugins
This commit is contained in:
@@ -49,10 +49,10 @@ $menuBar = qs -c noctalia-shell
|
||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||
# Or execute your favorite apps at launch like this:
|
||||
|
||||
exec-once = $terminal
|
||||
# exec-once = $terminal
|
||||
# exec-once = nm-applet &
|
||||
exec-once = qs -c noctalia-shell
|
||||
exec-once = $browser
|
||||
# exec-once = $browser
|
||||
exec-once = systemctl --user start hyprpolkitagent
|
||||
|
||||
|
||||
@@ -232,6 +232,8 @@ input {
|
||||
cursor_inactive_timeout = 0.1
|
||||
# See https://wiki.hypr.land/Configuring/Gestures
|
||||
gesture = 3, horizontal, workspace
|
||||
# gesture = 3, vertical, hyprexpo:expo, toggle
|
||||
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more
|
||||
@@ -259,16 +261,27 @@ bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, O, togglesplit, # dwindle
|
||||
|
||||
# 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
|
||||
# bind = $mainMod, left, movefocus, l
|
||||
# bind = $mainMod, right, movefocus, r
|
||||
# bind = $mainMod, up, movefocus, u
|
||||
# bind = $mainMod, down, movefocus, d
|
||||
|
||||
bind = $mainMod, H, movefocus, l
|
||||
bind = $mainMod, L, movefocus, r
|
||||
bind = $mainMod, K, movefocus, u
|
||||
bind = $mainMod, J, movefocus, d
|
||||
|
||||
binde = $mainMod , right, resizeActive, 20 0
|
||||
binde = $mainMod , left, resizeActive, -20 0
|
||||
binde = $mainMod , up, resizeActive, 0 -20
|
||||
binde = $mainMod , down, resizeActive, 0 20
|
||||
|
||||
bind = $mainMod SHIFT, H, moveWindow, l
|
||||
bind = $mainMod SHIFT, L, moveWindow, r
|
||||
bind = $mainMod SHIFT, K, moveWindow, u
|
||||
bind = $mainMod SHIFT, J, moveWindow, d
|
||||
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
@@ -281,7 +294,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]
|
||||
# Move actihe 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
|
||||
@@ -304,6 +317,7 @@ 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
|
||||
# bind = $mainMod, [, resizewindow+1
|
||||
|
||||
# Laptop multimedia keys for volume and LCD brightness
|
||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
||||
@@ -319,11 +333,41 @@ bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
# Custom Keybinds
|
||||
#Shell
|
||||
bind = $mainMod, B, exec, killall -SIGUSR1 waybar # toggles the bar
|
||||
bind = $mainMod, W, exec, killall -SIGUSR2 waybar # reloads the bar
|
||||
bind = ALT, TAB, workspace, e+1 # alt-tab switch workspace
|
||||
bind = ALT, SPACE, exec, $menu
|
||||
bind = ALT_R, L, exec, qs -c noctalia-shell ipc call lockScreen lock
|
||||
|
||||
# Applications and shortcuts
|
||||
bind = $mainMod, D, exec, vesktop
|
||||
# bind = $mainMod, N, exec, nvim ~/.config/hypr/hyprland.conf
|
||||
bind = $mainMod, F, exec, firefox
|
||||
bind = $mainMod SHIFT, F, exec, qutebrowser
|
||||
bind = $mainMod SHIFT, Q, exec, qutebrowser
|
||||
bind = $mainMod, SPACE, exec, playerctl play-pause
|
||||
# bind = FUNCTION, L, exec, command, qs noctalia-shell ipc call lockScreen lock
|
||||
|
||||
#Plugin shortcuts
|
||||
# This will toggle HyprExpo when SUPER+g is pressed
|
||||
bind = SUPER, g, hyprexpo:expo, toggle
|
||||
# gesture = 3, vertical, hyprexpo:expo, on
|
||||
|
||||
#####################
|
||||
### PLUGINS ###
|
||||
#####################
|
||||
|
||||
# .config/hypr/hyprland.conf
|
||||
plugin {
|
||||
hyprexpo {
|
||||
columns = 3
|
||||
gap_size = 5
|
||||
bg_col = rgb(111111)
|
||||
workspace_method = center current # [center/first] [workspace] e.g. first 1 or center m+1
|
||||
gesture_distance = 300 # how far is the "max" for the gesture
|
||||
}
|
||||
}
|
||||
|
||||
##############################
|
||||
### WINDOWS AND WORKSPACES ###
|
||||
|
||||
Reference in New Issue
Block a user