153 lines
4.9 KiB
Plaintext
153 lines
4.9 KiB
Plaintext
source = ~/.config/hypr/white.conf
|
|
|
|
input {
|
|
kb_layout = pl
|
|
kb_options = ctrl:nocaps
|
|
}
|
|
|
|
general {
|
|
gaps_in = 3
|
|
gaps_out = 4
|
|
layout = dwindle
|
|
border_size = 3
|
|
col.inactive_border = 0xff5387ac
|
|
col.active_border = 0xffac7853
|
|
}
|
|
|
|
dwindle {
|
|
preserve_split = true
|
|
}
|
|
|
|
decoration {
|
|
drop_shadow = true
|
|
rounding = 4
|
|
}
|
|
|
|
animations {
|
|
enabled = true
|
|
}
|
|
|
|
misc {
|
|
disable_hyprland_logo = true
|
|
disable_splash_rendering = true
|
|
disable_autoreload = true
|
|
background_color = 0xff808080
|
|
}
|
|
|
|
binds {
|
|
workspace_back_and_forth = true
|
|
}
|
|
|
|
$menu = wofi -S run
|
|
$terminal = alacritty
|
|
|
|
$mainMod = SUPER
|
|
|
|
bind = $mainMod, P, exec, $menu
|
|
bind = $mainMod SHIFT, Return, exec, $terminal
|
|
bind = $mainMod, Return, exec, $terminal
|
|
bind = $mainMod ALT, 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 ALT, O, exec, swaylock -c 263c59
|
|
bind = $mainMod CONTROL SHIFT, S, exec, swaylock -c 263c59
|
|
bind = $mainMod CONTROL SHIFT, S, exec, systemctl suspend
|
|
bind = $mainMod ALT, S, exec, swaylock -c 263c59
|
|
bind = $mainMod ALT, 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 SHIFT, F, fullscreen, 1
|
|
bind = $mainMod ALT, F, fullscreen, 1
|
|
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 ALT, T, 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 ALT, h, swapwindow, l
|
|
bind = $mainMod ALT, j, swapwindow, d
|
|
bind = $mainMod ALT, k, swapwindow, u
|
|
bind = $mainMod ALT, 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 ALT, 1, movetoworkspace, 1
|
|
bind = $mainMod ALT, 2, movetoworkspace, 2
|
|
bind = $mainMod ALT, 3, movetoworkspace, 3
|
|
bind = $mainMod ALT, 4, movetoworkspace, 4
|
|
bind = $mainMod ALT, 5, movetoworkspace, 5
|
|
bind = $mainMod ALT, 6, movetoworkspace, 6
|
|
bind = $mainMod ALT, 7, movetoworkspace, 7
|
|
bind = $mainMod ALT, 8, movetoworkspace, 8
|
|
bind = $mainMod ALT, 9, movetoworkspace, 9
|
|
bind = $mainMod ALT, 0, movetoworkspace, 10
|
|
|
|
bind = $mainMod, right, workspace, m+1
|
|
bind = $mainMod, left, workspace, m-1
|
|
|
|
# Switch workspaces on current monitor with mainMod + 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'
|
|
|
|
# vim: ft=hyprlang
|