This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
148 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,153 @@ | ||
$var1=var1 | ||
$var2=var2 | ||
$var3=var3 | ||
$var4=var4 | ||
monitor=,preferred,auto,1 | ||
|
||
$MODKEY=SUPER | ||
exec-once=$HOME/.config/hypr/autostart | ||
|
||
bind=MOD, L, exec, nospace | ||
bind=, L, exec, space | ||
input { | ||
kb_layout= | ||
kb_variant=ffffff | ||
kb_model= | ||
kb_options= | ||
kb_rules= | ||
|
||
bindm=SUPER,mouse:420,movewindow | ||
bindm=, mouse:69, resizewindow | ||
follow_mouse=1 | ||
|
||
bind=$MODKEY,L,exec,$var1 | ||
bind=$MODKEY, R, exec, $var2 | ||
bind=,R,exec,$var3 | ||
bind=, R, exec, $var3 | ||
touchpad { | ||
natural_scroll=no | ||
} | ||
} | ||
|
||
bindlm=, mouse:69, resizewindow2 | ||
bindlrfuckme=, mouse:69, resizewindow2 | ||
misc{ | ||
|
||
} | ||
|
||
general { | ||
sensitivity=1.0 # for mouse cursor | ||
main_mod=SUPER | ||
|
||
gaps_in=8 | ||
gaps_out=15 | ||
border_size=5 | ||
col.active_border=0xfff5c2e7 | ||
col.inactive_border=0xff45475a | ||
apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse) | ||
} | ||
|
||
decoration { | ||
blur_new_optimizations = true | ||
drop_shadow = true | ||
shadow_range=100 | ||
shadow_render_power=5 | ||
col.shadow= 0x33000000 | ||
col.shadow_inactive=0x22000000 | ||
rounding=15 | ||
blur=0 | ||
blur_size=1 # minimum 1 | ||
blur_passes=1 # minimum 1, more passes = more resource intensive. | ||
# Your blur "amount" is blur_size * blur_passes, but high blur_size (over around 5-ish) will produce artifacts. | ||
# if you want heavy blur, you need to up the blur_passes. | ||
# the more passes, the more you can up the blur_size without noticing artifacts. | ||
} | ||
|
||
animations { | ||
enabled=1 | ||
# bezier=overshot,0.05,0.9,0.1,1.1 | ||
bezier=overshot,0.13,0.99,0.29,1.1 | ||
animation=windows,1,4,overshot,slide | ||
animation=border,1,10,default | ||
animation=fade,1,10,default | ||
animation=workspaces,1,6,overshot,slidevert | ||
} | ||
|
||
dwindle { | ||
pseudotile=1 # enable pseudotiling on dwindle | ||
force_split=0 | ||
col.group_border=0xff89dceb | ||
col.group_border_active=0xfff9e2af | ||
} | ||
|
||
master{ | ||
|
||
} | ||
|
||
gestures { | ||
workspace_swipe=yes | ||
workspace_swipe_fingers=4 | ||
} | ||
|
||
# example window rules | ||
# for windows named/classed as abc and xyz | ||
#windowrule=move 69 420,abc | ||
windowrule=move center,title:^(fly_is_kitty)$ | ||
windowrule=size 800 500,title:^(fly_is_kitty)$ | ||
windowrule=animation slide,title:^(all_is_kitty)$ | ||
windowrule=float,title:^(all_is_kitty)$ | ||
#windowrule=tile,xy | ||
windowrule=tile,title:^(kitty)$ | ||
windowrule=float,title:^(fly_is_kitty)$ | ||
windowrule=float,title:^(clock_is_kitty)$ | ||
windowrule=size 418 234,title:^(clock_is_kitty)$ | ||
#windowrule=pseudo,abc | ||
#windowrule=monitor 0,xyz | ||
|
||
# example binds | ||
bindm=SUPER,mouse:272,movewindow | ||
bindm=SUPER,mouse:273,resizewindow | ||
|
||
bind=SUPER,t,exec,kitty --start-as=fullscreen -o 'font_size=25' --title all_is_kitty | ||
bind=SUPER,RETURN,exec,kitty --title fly_is_kitty | ||
bind=ALT,RETURN,exec,kitty --single-instance | ||
bind=,Print,exec,~/.config/hypr/scripts/screenshot | ||
# bind=SUPER,RETURN,exec,alacritty | ||
bind=SUPER,Q,killactive, | ||
bind=SUPER,M,exit, | ||
bind=SUPER,E,exec,nautilus | ||
bind=SUPER,S,togglefloating, | ||
bind=SUPER,space,exec,wofi --show drun -o DP-3 | ||
bind=SUPER,P,pseudo, | ||
|
||
bind=SUPER,L,exec,~/.config/hypr/scripts/lock | ||
|
||
bind=SUPER,left,movefocus,l | ||
bind=SUPER,right,movefocus,r | ||
bind=SUPER,up,movefocus,u | ||
bind=SUPER,down,movefocus,d | ||
|
||
# bind=CTRL,1,workspace,1 | ||
# bind=CTRL,2,workspace,2 | ||
# bind=CTRL,3,workspace,3 | ||
# bind=CTRL,4,workspace,4 | ||
# bind=CTRL,5,workspace,5 | ||
# bind=CTRL,6,workspace,6 | ||
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=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 | ||
|
||
bind=SUPER,mouse_down,workspace,e+1 | ||
bind=SUPER,mouse_up,workspace,e-1 | ||
|
||
bind=SUPER,g,togglegroup | ||
bind=SUPER,tab,changegroupactive | ||
|
||
# rec | ||
bind=CTRL,1,exec,kitty --title fly_is_kitty --hold cava | ||
bind=CTRL,2,exec,code-insiders | ||
bind=CTRL,3,exec,kitty --single-instance --hold donut.c | ||
bind=CTRL,4,exec,kitty --title clock_is_kitty --hold tty-clock -C5 |