115 lines
3.8 KiB
Plaintext
115 lines
3.8 KiB
Plaintext
#source = ~/.config/hypr/white.conf
|
|
|
|
input {
|
|
kb_layout = pl
|
|
kb_options = ctrl:nocaps
|
|
}
|
|
|
|
general {
|
|
gaps_in = 2
|
|
gaps_out = 5
|
|
layout = dwindle
|
|
}
|
|
|
|
dwindle {
|
|
preserve_split = true
|
|
}
|
|
|
|
animations {
|
|
enabled = false
|
|
}
|
|
|
|
misc {
|
|
disable_hyprland_logo = true
|
|
disable_splash_rendering = true
|
|
disable_autoreload = true
|
|
}
|
|
|
|
$menu = rofi -show drun -theme Arc-Dark
|
|
$terminal = alacritty
|
|
|
|
$mainMod = SUPER
|
|
|
|
bind = $mainMod, P, exec, $menu
|
|
bind = $mainMod SHIFT, Return, exec, $terminal
|
|
bind = $mainMod, Return, layoutmsg,swapwithmaster master
|
|
bind = $mainMod CONTROL SHIFT, Q, exit
|
|
bind = $mainMod, Q, exec, hyprctl reload
|
|
bind = $mainMod CONTROL SHIFT, C, killactive
|
|
bind = $mainMod CONTROL SHIFT, L, exec, swaylock -c 263c59
|
|
bind = $mainMod CONTROL SHIFT, S, exec, swaylock -c 263c59
|
|
bind = $mainMod CONTROL SHIFT, S, exec, systemctl suspend
|
|
bind = $mainMod CONTROL, Space, togglefloating
|
|
bind = $mainMod, D, exec, hyprctl keyword general:layout "dwindle"
|
|
bind = $mainMod, M, exec, hyprctl keyword general:layout "master"
|
|
bind = $mainMod, F, fullscreen, 0
|
|
bind = $mainMod, U, layoutmsg, togglesplit
|
|
bind = $mainMod, I, layoutmsg, cycleprev
|
|
bind = $mainMod, O, layoutmsg, cyclenext
|
|
bind = $mainMod, A, focuscurrentorlast
|
|
bind = $mainMod SHIFT, I, layoutmsg, swapprev
|
|
bind = $mainMod SHIFT, O, layoutmsg, swapnext
|
|
bind = $mainMod CONTROL, I, layoutmsg, removemaster
|
|
bind = $mainMod CONTROL, O, layoutmsg, addmaster
|
|
bind = $mainMod SHIFT, F6, exec, ~/bin/lupan-set-theme toggle
|
|
|
|
bind = $mainMod, h, movefocus, l
|
|
bind = $mainMod, j, movefocus, d
|
|
bind = $mainMod, k, movefocus, u
|
|
bind = $mainMod, l, movefocus, r
|
|
|
|
bind = $mainMod SHIFT, h, swapwindow, l
|
|
bind = $mainMod SHIFT, j, swapwindow, d
|
|
bind = $mainMod SHIFT, k, swapwindow, u
|
|
bind = $mainMod SHIFT, l, swapwindow, r
|
|
|
|
bind = $mainMod CONTROL, h, layoutmsg, orientationleft
|
|
bind = $mainMod CONTROL, j, layoutmsg, orientationbottom
|
|
bind = $mainMod CONTROL, k, layoutmsg, orientationtop
|
|
bind = $mainMod CONTROL, l, layoutmsg, orientationright
|
|
|
|
# Switch workspaces with mainMod + [0-9]
|
|
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
|
|
|
|
# Move active 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
|
|
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, right, workspace, m+1
|
|
bind = $mainMod, left, workspace, m-1
|
|
|
|
# Switch workspaces on current monitor with mainMod CONTROL + Control + [0-9]
|
|
bind = $mainMod CONTROL, 1, focusworkspaceoncurrentmonitor, 1
|
|
bind = $mainMod CONTROL, 2, focusworkspaceoncurrentmonitor, 2
|
|
bind = $mainMod CONTROL, 3, focusworkspaceoncurrentmonitor, 3
|
|
bind = $mainMod CONTROL, 4, focusworkspaceoncurrentmonitor, 4
|
|
bind = $mainMod CONTROL, 5, focusworkspaceoncurrentmonitor, 5
|
|
bind = $mainMod CONTROL, 6, focusworkspaceoncurrentmonitor, 6
|
|
bind = $mainMod CONTROL, 7, focusworkspaceoncurrentmonitor, 7
|
|
bind = $mainMod CONTROL, 8, focusworkspaceoncurrentmonitor, 8
|
|
bind = $mainMod CONTROL, 9, focusworkspaceoncurrentmonitor, 9
|
|
bind = $mainMod CONTROL, 0, focusworkspaceoncurrentmonitor, 10
|
|
|
|
bindm = $mainMod,mouse:272,movewindow
|
|
bindm = $mainMod,mouse:273,resizewindow
|
|
|
|
exec-once = waybar
|
|
exec-once = swayidle -w timeout 300 'swaylock -f -c 263c59' before-sleep 'swaylock -f -c 263c59'
|