154 lines
3.6 KiB
Text
154 lines
3.6 KiB
Text
|
|
#
|
|
#fix the fucking portal
|
|
exec-once=systemctl --user import-environment
|
|
#
|
|
#
|
|
|
|
autogenerated=0 # remove this line to get rid of the warning on top.
|
|
|
|
monitor=,preferred,auto,1
|
|
|
|
input {
|
|
kb_file=/home/dashie/.config/keymap.xkb #us with dead_diaeresis on shift + ' to get ä ö ü
|
|
kb_layout=
|
|
kb_variant=
|
|
kb_model=
|
|
kb_options=
|
|
kb_rules=
|
|
repeat_delay=200
|
|
natural_scroll=true
|
|
follow_mouse=1
|
|
force_no_accel=true
|
|
|
|
touchpad {
|
|
natural_scroll=yes
|
|
tap-to-click=yes
|
|
}
|
|
}
|
|
|
|
general {
|
|
sensitivity=1.0 # for mouse cursor
|
|
main_mod=SUPER
|
|
|
|
gaps_in=5
|
|
gaps_out=10
|
|
border_size=3
|
|
col.active_border=0x66ee1111
|
|
col.inactive_border=0x66333333
|
|
|
|
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
|
|
}
|
|
|
|
decoration {
|
|
rounding=10
|
|
blur=1
|
|
blur_size=3 # minimum 1
|
|
blur_passes=1 # minimum 1
|
|
blur_new_optimizations=true
|
|
}
|
|
|
|
animations {
|
|
enabled=1
|
|
animation=windows,1,7,default
|
|
animation=border,1,10,default
|
|
animation=fade,1,10,default
|
|
animation=workspaces,1,6,default
|
|
}
|
|
|
|
dwindle {
|
|
preserve_split=true
|
|
pseudotile=0 # enable pseudotiling on dwindle
|
|
}
|
|
|
|
gestures {
|
|
workspace_swipe=yes
|
|
}
|
|
|
|
misc {
|
|
animate_manual_resizes=true
|
|
}
|
|
|
|
#reserve place for bar
|
|
#monitor=eDP-1,addreserved,45,0,0,0
|
|
|
|
# example window rules
|
|
# for windows named/classed as abc and xyz
|
|
windowrule=tile,^(.*)(Spotify)(.*)$
|
|
windowrule=center,^(.*)$
|
|
#windowrule=tile,xyz
|
|
#windowrule=float,abc
|
|
#windowrule=pseudo,abc
|
|
#windowrule=monitor 0,xyz
|
|
|
|
# example binds
|
|
bind=SUPER,S,exec,grim -g "$(slurp)" - | wl-copy
|
|
bind=SUPER,F,exec,firefox
|
|
bind=SUPER,T,exec,alacritty
|
|
bind=SUPER,Q,killactive,
|
|
bind=SUPER,M,exit,
|
|
bind=SUPER,E,exec,nautilus --new-window
|
|
bind=SUPER,V,togglefloating,
|
|
bind=SUPER,R,exec,wofi --show drun -o DP-3
|
|
bind=SUPER,C,togglesplit
|
|
bind=SUPERSHIFT,L,exec, playerctl -a pause & swaylock -c 000000 & systemctl suspend
|
|
bind=,XF86AudioMute,exec,pactl set-sink-mute @DEFAULT_SINK@ toggle
|
|
bind=,XF86AudioLowerVolume,exec,pactl set-sink-volume @DEFAULT_SINK@ -5%
|
|
bind=,XF86AudioRaiseVolume,exec,pactl set-sink-volume @DEFAULT_SINK@ +5%
|
|
bind=,XF86AudioPlay,exec, playerctl play-pause
|
|
bind=,XF86AudioNext,exec, playerctl next
|
|
bind=,XF86AudioPrev,exec, playerctl previous
|
|
bind=,XF86MonBrightnessDown,exec, brightnessctl set 10%-
|
|
bind=,XF86MonBrightnessUp,exec, brightnessctl set +10%
|
|
|
|
|
|
bind=SUPER,bracketleft,movefocus,l
|
|
bind=SUPER,bracketright,movefocus,r
|
|
bind=SUPER,semicolon,movefocus,u
|
|
bind=SUPER,apostrophe,movefocus,d
|
|
|
|
bind=SUPER,left,movewindow,l
|
|
bind=SUPER,right,movewindow,r
|
|
bind=SUPER,up,movewindow,u
|
|
bind=SUPER,down,movewindow,d
|
|
|
|
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,O,resizeactive,-20 0
|
|
bind=SUPER,P,resizeactive,20 0
|
|
bind=SUPER,K,resizeactive,0 -20
|
|
bind=SUPER,L,resizeactive,0 20
|
|
|
|
#autostart programs
|
|
#exec=~/Documents/scripts/hyprstart.sh
|
|
#exec=hyprstart.sh
|
|
exec-once=hyprpaper
|
|
exec-once=eww daemon
|
|
exec-once=eww open bar
|
|
exec-once=element-desktop
|
|
exec-once=firefox
|