2022-04-08 22:07:40 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
inline const std::string AUTOCONFIG = R"#(
|
|
|
|
########################################################################################
|
|
|
|
AUTOGENERATED HYPR CONFIG.
|
|
|
|
PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
|
|
|
OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
|
|
|
########################################################################################
|
|
|
|
|
2022-07-12 15:41:42 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Please note not all available settings / options are set here.
|
|
|
|
# For a full list, see the wiki (basic and advanced configuring)
|
|
|
|
#
|
|
|
|
|
2022-04-08 22:07:40 +02:00
|
|
|
autogenerated=1 # remove this line to get rid of the warning on top.
|
|
|
|
|
2022-08-04 11:11:21 +02:00
|
|
|
monitor=,preferred,auto,1
|
2022-04-08 22:07:40 +02:00
|
|
|
|
|
|
|
input {
|
2022-08-19 20:01:51 +02:00
|
|
|
kb_file=
|
2022-04-08 22:07:40 +02:00
|
|
|
kb_layout=
|
|
|
|
kb_variant=
|
|
|
|
kb_model=
|
|
|
|
kb_options=
|
|
|
|
kb_rules=
|
2022-04-19 18:51:53 +02:00
|
|
|
|
2022-05-12 11:34:39 +02:00
|
|
|
follow_mouse=1
|
2022-07-24 12:23:31 +02:00
|
|
|
|
|
|
|
touchpad {
|
|
|
|
natural_scroll=no
|
|
|
|
}
|
2022-08-24 11:12:42 +02:00
|
|
|
|
|
|
|
sensitivity=0 # -1.0 - 1.0, 0 means no modification.
|
2022-04-08 22:07:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
general {
|
|
|
|
main_mod=SUPER
|
|
|
|
|
|
|
|
gaps_in=5
|
|
|
|
gaps_out=20
|
|
|
|
border_size=2
|
|
|
|
col.active_border=0x66ee1111
|
|
|
|
col.inactive_border=0x66333333
|
2022-05-12 11:34:39 +02:00
|
|
|
|
2022-06-25 23:40:52 +02:00
|
|
|
apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
|
2022-06-22 13:01:59 +02:00
|
|
|
|
2022-05-31 21:05:46 +02:00
|
|
|
damage_tracking=full # leave it on full unless you hate your GPU and want to make it suffer
|
2022-04-08 22:07:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
decoration {
|
|
|
|
rounding=10
|
2022-05-12 11:34:39 +02:00
|
|
|
blur=1
|
|
|
|
blur_size=3 # minimum 1
|
2022-08-21 22:59:19 +02:00
|
|
|
blur_passes=1 # minimum 1
|
|
|
|
blur_new_optimizations=1
|
2022-04-08 22:07:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
animations {
|
|
|
|
enabled=1
|
2022-05-14 16:01:37 +02:00
|
|
|
animation=windows,1,7,default
|
2022-07-28 13:39:05 +02:00
|
|
|
animation=border,1,10,default
|
|
|
|
animation=fade,1,10,default
|
2022-05-14 16:01:37 +02:00
|
|
|
animation=workspaces,1,6,default
|
2022-05-12 11:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dwindle {
|
|
|
|
pseudotile=0 # enable pseudotiling on dwindle
|
2022-04-08 22:07:40 +02:00
|
|
|
}
|
|
|
|
|
2022-07-28 13:44:17 +02:00
|
|
|
gestures {
|
|
|
|
workspace_swipe=no
|
|
|
|
}
|
|
|
|
|
2022-05-12 11:34:39 +02: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
|
|
|
|
#windowrule=pseudo,abc
|
|
|
|
#windowrule=monitor 0,xyz
|
|
|
|
|
|
|
|
# example binds
|
|
|
|
bind=SUPER,Q,exec,kitty
|
2022-06-26 20:35:08 +02:00
|
|
|
bind=SUPER,RETURN,exec,alacritty
|
2022-04-08 22:07:40 +02:00
|
|
|
bind=SUPER,C,killactive,
|
2022-05-30 09:22:06 +02:00
|
|
|
bind=SUPER,M,exit,
|
2022-05-12 11:34:39 +02:00
|
|
|
bind=SUPER,E,exec,dolphin
|
2022-04-08 22:07:40 +02:00
|
|
|
bind=SUPER,V,togglefloating,
|
2022-05-12 11:34:39 +02:00
|
|
|
bind=SUPER,R,exec,wofi --show drun -o DP-3
|
|
|
|
bind=SUPER,P,pseudo,
|
|
|
|
|
|
|
|
bind=SUPER,left,movefocus,l
|
|
|
|
bind=SUPER,right,movefocus,r
|
|
|
|
bind=SUPER,up,movefocus,u
|
|
|
|
bind=SUPER,down,movefocus,d
|
2022-04-08 22:07:40 +02: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
|
|
|
|
bind=SUPER,0,workspace,10
|
2022-05-12 11:34:39 +02:00
|
|
|
|
|
|
|
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
|
2022-07-15 20:54:05 +02:00
|
|
|
|
2022-07-16 14:28:17 +02:00
|
|
|
bind=SUPER,mouse_down,workspace,e+1
|
|
|
|
bind=SUPER,mouse_up,workspace,e-1
|
2022-08-19 20:01:51 +02:00
|
|
|
)#";
|