131 lines
3.3 KiB
Plaintext
131 lines
3.3 KiB
Plaintext
# See https://wiki.hyprland.org/Configuring/Monitors/
|
|
monitor=,preferred,auto,auto
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
|
# Execute your favorite apps at launch
|
|
# exec-once = waybar & hyprpaper & firefox
|
|
exec-once = lxqt-policykit-agent
|
|
exec-once = nm-applet --indicator &
|
|
exec-once = waybar
|
|
exec-once = dunst
|
|
|
|
# Window rules
|
|
windowrulev2 = float,class:(lxqt-policykit-agent)
|
|
windowrulev2 = float,class:(nm-connection-editor)
|
|
windowrulev2 = float,class:(pavucontrol)
|
|
windowrulev2 = size 40%,40%,class:(pavucontrol)
|
|
windowrulev2 = center,class:(pavucontrol)
|
|
windowrulev2 = fakefullscreen,class:(Code)
|
|
windowrulev2 = fakefullscreen, class:^(code-url-handler)$
|
|
|
|
# Some default env vars.
|
|
env = XCURSOR_SIZE,24
|
|
|
|
input {
|
|
kb_layout = us
|
|
follow_mouse = 1
|
|
touchpad {
|
|
natural_scroll = yes
|
|
clickfinger_behavior = yes
|
|
}
|
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
|
}
|
|
|
|
|
|
general {
|
|
gaps_in = 5
|
|
gaps_out = 20
|
|
border_size = 2
|
|
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
|
col.inactive_border = rgba(595959aa)
|
|
layout = dwindle
|
|
allow_tearing = false
|
|
}
|
|
|
|
decoration {
|
|
rounding = 5
|
|
blur {
|
|
enabled = true
|
|
size = 3
|
|
passes = 1
|
|
}
|
|
drop_shadow = yes
|
|
shadow_range = 4
|
|
shadow_render_power = 3
|
|
col.shadow = rgba(1a1a1aee)
|
|
}
|
|
|
|
animations {
|
|
enabled = yes
|
|
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
|
animation = windows, 1, 7, myBezier
|
|
animation = windowsOut, 1, 7, default, popin 80%
|
|
animation = border, 1, 10, default
|
|
animation = borderangle, 1, 8, default
|
|
animation = fade, 1, 7, default
|
|
animation = workspaces, 1, 6, default
|
|
}
|
|
|
|
dwindle {
|
|
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
|
preserve_split = yes # you probably want this
|
|
}
|
|
|
|
master {
|
|
new_is_master = true
|
|
}
|
|
|
|
gestures {
|
|
workspace_swipe = on
|
|
workspace_swipe_fingers = 4
|
|
workspace_swipe_create_new = true
|
|
}
|
|
|
|
misc {
|
|
force_default_wallpaper = 0
|
|
disable_splash_rendering = false
|
|
}
|
|
|
|
xwayland {
|
|
force_zero_scaling = true
|
|
}
|
|
|
|
$mainMod = SUPER
|
|
|
|
# My Binds
|
|
bind = $mainMod, T, exec, kitty
|
|
bind = $mainMod, F4, killactive,
|
|
bind = $mainMod, V, togglefloating,
|
|
bind = $mainMod, space, exec, rofi -show drun
|
|
bind = $mainMod, s, exec, grim -g "$(slurp)" - | swappy -f -
|
|
|
|
# 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
|
|
|
|
# Switch workspaces with mainMod
|
|
bind = $mainMod, right, workspace, +1
|
|
bind = $mainMod, left, workspace, -1
|
|
|
|
# Move active window to a workspace with mainMod + SHIFT
|
|
bind = $mainMod CTRL, right, movetoworkspace, +1
|
|
bind = $mainMod CTRL, left, movetoworkspace, -1
|
|
|
|
# Resize actions
|
|
bind = $mainMod SHIFT, right, resizeactive, 10 0
|
|
bind = $mainMod SHIFT, left, resizeactive, -10 0
|
|
bind = $mainMod SHIFT, up, resizeactive, 0 -10
|
|
bind = $mainMod SHIFT, down, resizeactive, 0 10
|
|
|
|
# Scroll through existing workspaces with mainMod + scroll
|
|
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, Control_L, movewindow
|
|
bindm = $mainMod, mouse:273, resizewindow
|
|
bindm = $mainMod, ALT_L, resizewindow
|