Hyprland/example/hyprland.conf

96 lines
2.2 KiB
Text
Raw Normal View History

2022-03-17 15:53:45 +01:00
# This is an example Hyprland config file.
# Syntax is the same as in Hypr, but settings might differ.
#
# Refer to the wiki for more information.
2022-03-19 21:46:29 +01:00
monitor=,1280x720@60,0x0,0.5,1
2022-03-20 16:01:47 +01:00
workspace=DP-1,1
2022-03-17 16:56:33 +01:00
2022-03-24 21:05:34 +01:00
input {
2022-04-03 10:17:18 +02:00
kb_layout=
2022-03-24 21:05:34 +01:00
kb_variant=
kb_model=
kb_options=
kb_rules=
}
2022-03-17 15:53:45 +01:00
general {
2022-04-09 20:07:47 +02:00
max_fps=60
2022-03-19 20:30:21 +01:00
sensitivity=0.25
2022-03-20 11:14:24 +01:00
main_mod=SUPER
2022-03-20 18:02:20 +01:00
2022-03-17 15:53:45 +01:00
gaps_in=5
gaps_out=20
2022-03-20 18:02:20 +01:00
border_size=2
2022-03-19 16:13:19 +01:00
col.active_border=0x66ee1111
col.inactive_border=0x66333333
2022-03-20 16:01:47 +01:00
}
2022-04-05 20:49:15 +02:00
decoration {
rounding=10
2022-04-09 16:51:08 +02:00
blur=1
blur_size=8 # minimum 2
2022-04-09 17:06:09 +02:00
blur_passes=1 # minimum 1, more passes = more resource intensive.
# Your blur "amount" is blur_size * blur_passes, but high blur_size (over around 30-ish) will produce artifacts.
# if you want heavy blur, you need to up the blur_passes.
2022-04-05 20:49:15 +02:00
}
2022-03-24 18:22:01 +01:00
animations {
enabled=1
2022-03-31 17:54:33 +02:00
speed=7
2022-03-31 17:56:32 +02:00
windows_speed=6 # specific speeds for components can be made with name_speed=float. 0 means use global (speed=float). If not set, will use the global value.
2022-03-24 18:22:01 +01:00
windows=1
2022-03-31 17:54:33 +02:00
borders=1
2022-04-05 20:49:15 +02:00
borders_speed=20
fadein=1 # fade in AND out
fadein_speed=20
2022-03-24 18:22:01 +01:00
}
2022-04-02 20:04:32 +02:00
dwindle {
pseudotile=0 # enable pseudotiling on dwindle
}
2022-03-24 18:22:01 +01:00
# 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
2022-04-02 20:04:32 +02:00
windowrule=pseudo,abc
2022-03-24 18:22:01 +01:00
windowrule=monitor 0,xyz
# example binds
2022-03-20 18:02:20 +01:00
bind=SUPER,Q,exec,kitty
bind=SUPER,C,killactive,
bind=SUPER,M,exec,pkill Hyprland
bind=SUPER,E,exec,dolphin
bind=SUPER,V,togglefloating,
bind=SUPER,R,exec,wofi --show drun -o DP-3
2022-04-02 20:04:32 +02:00
bind=SUPER,P,pseudo,
2022-03-20 18:02:20 +01:00
2022-04-09 13:26:55 +02:00
bind=SUPER,left,movefocus,l
bind=SUPER,right,movefocus,r
bind=SUPER,up,movefocus,u
bind=SUPER,down,movefocus,d
2022-03-20 18:02:20 +01:00
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
2022-03-23 16:51:48 +01:00
bind=SUPER,0,workspace,10
bind=ALT,1,movetoworkspace,1
bind=ALT,2,movetoworkspace,2
bind=ALT,3,movetoworkspace,3
bind=ALT,4,movetoworkspace,4
bind=ALT,5,movetoworkspace,5
bind=ALT,6,movetoworkspace,6
bind=ALT,7,movetoworkspace,7
bind=ALT,8,movetoworkspace,8
bind=ALT,9,movetoworkspace,9
bind=ALT,0,movetoworkspace,10