.dotfiles/hypr/try.conf

179 lines
5.0 KiB
Plaintext

source=~/.config/hypr/mocha.conf
monitor=,preferred,auto,1
monitor=eDP-1,1920x1080,0x0,1
input {
follow_mouse=1
touchpad {
natural_scroll=no
}
}
general {
sensitivity=1.0 # for mouse cursor
gaps_in=5
gaps_out=10
border_size=5
col.active_border=$pink
col.inactive_border=$surface0
col.group_border_active=$flamingo
col.group_border=$surface0
apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
}
misc {
disable_hyprland_logo=yes
disable_splash_rendering=yes
}
decoration {
rounding=10
blur=1
blur_size=2 # 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.
col.shadow=$surface0
col.shadow_inactive=$surface0
}
bezier=overshot,0.05,0.9,0.1,1.1
animations {
enabled=1
animation=windows,1,8,overshot,popin
# animation=fade,1,8,overshot - This breaks for whatever reason?
animation=workspaces,1,8,overshot,slidevert
}
dwindle {
pseudotile=0 # enable pseudotiling on dwindle
}
gestures {
workspace_swipe=yes
}
exec-once=dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP && systemctl --user start hyprland-session.target
exec=hyprpaper &
exec-once=blueman-applet &
exec-once=mako &
exec-once=waybar &
windowrule=workspace 1 silent,firefox
windowrule=workspace 2 silent,discord
windowrule=workspace 4 silent,YouTube Music
windowrule=workspace special silent,title:^(Firefox — Sharing Indicator)$
bind=SUPER,Alt_R,exec,pkill --signal USR1 waybar
bind=SUPER,RETURN,exec,foot
bind=SUPERSHIFT,q,killactive,
bind=SUPERSHIFT,e,exec,powermenu
bind=SUPERSHIFT,c,exec,hyprctl reload
bind=SUPERSHIFT,SPACE,togglefloating,
bind=SUPER,D,exec,rofi -show drun
bind=SUPER,C,exec,hyprpicker -n -a
bind=SUPER,F,fullscreen,0,
bind=CTRL,SPACE,exec,makoctl dismiss
bind=SUPERSHIFT,b,exec,firefox
bind=SUPERALT,L,exec,swaylock
bind=,Print,exec,wayshot-ss | wl-copy
bind=SUPERSHIFT,m,exec,wayshot-ss > ~/media/pictures/"$(date +"%s")"-wayshot.png
bind=SUPERALT,m,exec,wl-ocr
bind=SUPERSHIFTALT,m,exec,wl-qr
binde=,XF86AudioRaiseVolume,exec,pamixer -i 5 && notify-send -t 1000 " Audio" "$(pamixer --get-volume-human)" --hint="int:value:$(pamixer --get-volume)"
binde=,XF86AudioLowerVolume,exec,pamixer -d 5 && notify-send -t 1000 " Audio" "$(pamixer --get-volume-human)" --hint="int:value:$(pamixer --get-volume)"
bind=,XF86AudioMute,exec,pamixer -t && notify-send -t 1000 "ﱝ Audio" "Muted"
bind=,XF86AudioPlay,exec,playerctl play-pause
bind=,XF86AudioNext,exec,playerctl next
bind=,XF86AudioPrev,exec,playerctl previous
binde=,XF86MonBrightnessUp,exec,brightnessctl s +5% && notify-send -t 1000 " Brightness" "$(light)%" --hint="int:value:$(light)"
binde=,XF86MonBrightnessDown,exec,brightnessctl s 5%- && notify-send -t 1000 " Brightness" "$(light)%" --hint="int:value:$(light)"
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,movetoworkspacesilent,1
bind=SUPERSHIFT,2,movetoworkspacesilent,2
bind=SUPERSHIFT,3,movetoworkspacesilent,3
bind=SUPERSHIFT,4,movetoworkspacesilent,4
bind=SUPERSHIFT,5,movetoworkspacesilent,5
bind=SUPERSHIFT,6,movetoworkspacesilent,6
bind=SUPERSHIFT,7,movetoworkspacesilent,7
bind=SUPERSHIFT,8,movetoworkspacesilent,8
bind=SUPERSHIFT,9,movetoworkspacesilent,9
bind=SUPERSHIFT,0,movetoworkspacesilent,10
bind=SUPER,minus,togglespecialworkspace
bind=SUPERSHIFT,minus,movetoworkspace,special
bind=SUPER,R,submap,resize
submap=resize
binde=,h,resizeactive,-10 0
binde=,l,resizeactive,10 0
binde=,k,resizeactive,0 -10
binde=,j,resizeactive,0 10
bind=,escape,submap,reset
submap=reset
bind=SUPER,M,submap,move
submap=move
binde=,h,moveactive,-10 0
binde=,l,moveactive,10 0
binde=,k,moveactive,0 -10
binde=,j,moveactive,0 10
bind=,escape,submap,reset
submap=reset
bind=SUPER,B,submap,brightness
submap=brightness
binde=,l,exec,brightnessctl s +5% && notify-send -t 1000 " Brightness" "$(light)%" --hint="int:value:$(light)"
binde=,h,exec,brightnessctl s 5%- && notify-send -t 1000 " Brightness" "$(light)%" --hint="int:value:$(light)"
bind=,escape,submap,reset
submap=reset
bind=SUPER,h,movefocus,l
bind=SUPER,l,movefocus,r
bind=SUPER,j,movefocus,u
bind=SUPER,k,movefocus,d
bind=SUPERSHIFT,h,movewindow,l
bind=SUPERSHIFT,l,movewindow,r
bind=SUPERSHIFT,j,movewindow,u
bind=SUPERSHIFT,k,movewindow,d
bind=SUPERSHIFT,z,togglegroup
bind=SUPER,z,submap,group
submap=group
bind=,l,changegroupactive,f
bind=,h,changegroupactive,b
bind=,escape,submap,reset
submap=reset