158 lines
3.8 KiB
Plaintext
158 lines
3.8 KiB
Plaintext
|
|
#
|
|
# Please note not all available settings / options are set here.
|
|
# For a full list, see the wiki (basic and advanced configuring)
|
|
#
|
|
|
|
|
|
monitor=,preferred,auto,1
|
|
|
|
input {
|
|
kb_file=/home/ezri/.config/hypr/keymap.xkb
|
|
kb_layout=
|
|
kb_options=compose:caps
|
|
|
|
follow_mouse=1
|
|
|
|
touchpad {
|
|
natural_scroll=no
|
|
}
|
|
|
|
sensitivity=0 # -1.0 - 1.0, 0 means no modification.
|
|
}
|
|
|
|
general {
|
|
main_mod=SUPER
|
|
|
|
gaps_in=5
|
|
gaps_out=20
|
|
border_size=2
|
|
col.active_border=0xff815986
|
|
col.inactive_border=0xff2d272f
|
|
|
|
apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
|
|
|
|
damage_tracking=full # leave it on full unless you hate your GPU and want to make it suffer
|
|
|
|
layout=dwindle
|
|
}
|
|
|
|
decoration {
|
|
rounding=5
|
|
blur=0
|
|
blur_size=4 # minimum 1
|
|
blur_passes=1 # minimum 1
|
|
blur_new_optimizations=1
|
|
}
|
|
|
|
animations {
|
|
bezier=overshoot,0.05,0.2,0,1.1
|
|
bezier=overshoot2,0.05,0.3,0,1.3
|
|
enabled=1
|
|
animation=windows,1,3,overshoot2
|
|
animation=windowsIn,1,3,overshoot2
|
|
animation=border,1,3,overshoot
|
|
animation=fade,1,3,overshoot
|
|
animation=workspaces,1,3,overshoot
|
|
}
|
|
|
|
gestures {
|
|
workspace_swipe=yes
|
|
}
|
|
|
|
# example window rules
|
|
# for windows named/classed as abc and xyz
|
|
#windowrule=move 69 420,abc
|
|
#windowrule=size 420 69,abc
|
|
#windowrule=tile,xyz
|
|
#windowrule=float,abc
|
|
#windowrule=pseudo,abc
|
|
#windowrule=monitor 0,xyz
|
|
|
|
# some nice mouse binds
|
|
bindm=SUPER,mouse:272,movewindow
|
|
bindm=SUPER,mouse:273,resizewindow
|
|
|
|
# My binds
|
|
bind=SUPER,RETURN,exec,hypr-sensible-launcher
|
|
bind=SUPERSHIFT,RETURN,exec,alacritty
|
|
bind=SUPERSHIFT,Q,killactive,
|
|
bind=SUPERSHIFT,E,exit,
|
|
bind=SUPERALT,F,togglefloating,
|
|
bind=SUPER,D,exec,wofi --show drun
|
|
|
|
bind=SUPER,B,movefocus,l
|
|
bind=SUPER,F,movefocus,r
|
|
bind=SUPER,P,movefocus,u
|
|
bind=SUPER,N,movefocus,d
|
|
|
|
bind=SUPERSHIFT,B,movewindow,l
|
|
bind=SUPERSHIFT,F,movewindow,r
|
|
bind=SUPERSHIFT,P,movewindow,u
|
|
bind=SUPERSHIFT,N,movewindow,d
|
|
|
|
bind=SUPER,Tab,changegroupactive,f
|
|
bind=SUPERSHIFT,Tab,changegroupactive,b
|
|
bind=SUPER,T,togglegroup,
|
|
|
|
bind=SUPER,1,workspace,1
|
|
bind=SUPER,2,workspace,2
|
|
bind=SUPER,3,workspace,3
|
|
bind=SUPER,4,workspace,4
|
|
bind=SUPER,5,workspace,5
|
|
bind=SUPER,6,workspace,6
|
|
bind=SUPER,7,workspace,7
|
|
bind=SUPER,8,workspace,8
|
|
bind=SUPER,9,workspace,9
|
|
bind=SUPER,0,workspace,10
|
|
|
|
bind=SUPERSHIFT,1,movetoworkspace,1
|
|
bind=SUPERSHIFT,2,movetoworkspace,2
|
|
bind=SUPERSHIFT,3,movetoworkspace,3
|
|
bind=SUPERSHIFT,4,movetoworkspace,4
|
|
bind=SUPERSHIFT,5,movetoworkspace,5
|
|
bind=SUPERSHIFT,6,movetoworkspace,6
|
|
bind=SUPERSHIFT,7,movetoworkspace,7
|
|
bind=SUPERSHIFT,8,movetoworkspace,8
|
|
bind=SUPERSHIFT,9,movetoworkspace,9
|
|
bind=SUPERSHIFT,0,movetoworkspace,10
|
|
|
|
# Audio key bindings
|
|
bind=,XF86AudioPlay,exec,playerctl play-pause
|
|
bind=,XF86AudioNext,exec,playerctl next
|
|
bind=,XF86AudioPrev,exec,playerctl previous
|
|
|
|
# Volume key bindings
|
|
bind=,XF86AudioRaiseVolume,exec,pactl set-sink-volume @DEFAULT_SINK@ +1%
|
|
bind=,XF86AudioLowerVolume,exec,pactl set-sink-volume @DEFAULT_SINK@ -1%
|
|
bind=,XF86AudioMute,exec,pactl set-sink-mute @DEFAULT_SINK@ toggle
|
|
|
|
# Brightness key bindings
|
|
bind=,XF86MonBrightnessUp,exec,light -A 5
|
|
bind=,XF86MonBrightnessDown,exec,light -U 5
|
|
|
|
# Lock screen
|
|
bind=SUPER,L,exec,loginctl lock-session
|
|
|
|
# Notification dismissal
|
|
bind=SUPERCTRL,SPACE,exec,dunstctl close
|
|
|
|
# Start daemons
|
|
exec-once=systemctl --user import-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP
|
|
exec-once=dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP
|
|
exec=systemctl --user start hypr-session.target
|
|
|
|
# Start status bar
|
|
exec=eww open hypr-mainbar
|
|
|
|
wsbind=1,eDP-1
|
|
wsbind=2,eDP-1
|
|
wsbind=3,eDP-1
|
|
wsbind=4,eDP-1
|
|
wsbind=5,eDP-1
|
|
wsbind=6,eDP-1
|
|
wsbind=7,eDP-1
|
|
wsbind=8,eDP-1
|
|
wsbind=9,eDP-1
|
|
wsbind=10,eDP-1
|