diff options
Diffstat (limited to '.config/hypr/hyprland.conf')
-rw-r--r-- | .config/hypr/hyprland.conf | 143 |
1 files changed, 143 insertions, 0 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf new file mode 100644 index 0000000..f0ae6ff --- /dev/null +++ b/.config/hypr/hyprland.conf @@ -0,0 +1,143 @@ +monitor=,preferred,auto,1 + +exec-once=waybar -c ~/.config/waybar/config-hyprland.json +exec-once=waybar -c ~/.config/waybar/config.json + +exec-once=dunst +exec-once=ntfy sub --from-config +exec-once=swaybg -i "$(find ~/pictures/wallpapers/1920x1080 | shuf -n 1)" +exec-once=swayidle +exec-once=gammastep +# TODO: polkit agent +# TODO: PipeWire + +exec-once=keepassxc +exec-once=nextcloud +exec-once=nm-applet + +workspace=1,name:work +workspace=2,name:social +workspace=3,name:web +workspace=4,name:email +workspace=5,name:media +workspace=6,name:games +workspace=7,name:vms +workspace=8,name:scratch + +input { + kb_file= + kb_layout= + kb_variant= + kb_model= + kb_options= + kb_rules= + + follow_mouse=1 + + touchpad { + natural_scroll=no + tap-to-click=no + } + + sensitivity=0 # -1.0 - 1.0, 0 means no modification. +} + +general { + main_mod=SUPER + layout=master + + gaps_in=4 + gaps_out=8 + border_size=2 + col.active_border=0xff3381da + col.inactive_border=0xff333333 + + 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=0 + blur=1 + blur_size=3 # minimum 1 + blur_passes=1 # minimum 1 + blur_new_optimizations=1 +} + +animations { + enabled=0 + animation=windows,1,7,default + animation=border,1,10,default + animation=fade,1,10,default + animation=workspaces,1,6,default +} + +dwindle { + pseudotile=0 # enable pseudotiling on dwindle +} + +master { + new_is_master=true + new_on_top=true +} + +gestures { + workspace_swipe=no +} + +# Keybinds +bind=SUPER,RETURN,exec,alacritty +bind=SUPER,X,killactive, +bind=SUPER_SHIFT,X,exit, +bind=SUPER,E,exec,fuzzel +bind=SUPER_SHIFT,S,exec,loginctl lock-session + +bindl=,XF86AudioMute,exec,~/.local/bin/vol toggle +bindel=,XF86AudioRaiseVolume,exec,~/.local/bin/vol inc 5 +bindel=,XF86AudioLowerVolume,exec,~/.local/bin/vol dec 5 +binde=,XF86MonBrightnessUp,exec,~/.local/bin/bl inc 5 +binde=,XF86MonBrightnessDown,exec,~/.local/bin/bl dec 5 +#bind=,Print,exec, +#bind=,XF86AudioMicMute,exec, + +bind=SUPER,J,layoutmsg,cyclenext +bind=SUPER,K,layoutmsg,cycleprev +bind=SUPER,H,splitratio,-0.05 +bind=SUPER,L,splitratio,+0.05 +bind=SUPER_SHIFT,RETURN,layoutmsg,swapwithmaster +bind=SUPER_SHIFT,J,layoutmsg,swapnext +bind=SUPER_SHIFT,K,layoutmsg,swapprev +bind=SUPER_SHIFT,H,layoutmsg,addmaster +bind=SUPER_SHIFT,L,layoutmsg,removemaster +bind=SUPER,SPACE,layoutmsg,orientationnext +bind=SUPER_SHIFT,SPACE,layoutmsg,orientationprev +bind=SUPER,M,fullscreen,1 +bind=SUPER,F,fullscreen,0 + +bind=SUPER,2,exec,~/.local/bin/hyprland-switch-tag 1 +bind=SUPER,3,exec,~/.local/bin/hyprland-switch-tag 2 +bind=SUPER,4,exec,~/.local/bin/hyprland-switch-tag 3 +bind=SUPER,5,exec,~/.local/bin/hyprland-switch-tag 4 +bind=SUPER,6,exec,~/.local/bin/hyprland-switch-tag 5 +bind=SUPER,7,exec,~/.local/bin/hyprland-switch-tag 6 +bind=SUPER,8,exec,~/.local/bin/hyprland-switch-tag 7 +bind=SUPER,9,exec,~/.local/bin/hyprland-switch-tag 8 +bind=SUPER,0,exec,~/.local/bin/hyprland-switch-tag 9 + +bind=SUPER_SHIFT,2,movetoworkspacesilent,1 +bind=SUPER_SHIFT,3,movetoworkspacesilent,2 +bind=SUPER_SHIFT,4,movetoworkspacesilent,3 +bind=SUPER_SHIFT,5,movetoworkspacesilent,4 +bind=SUPER_SHIFT,6,movetoworkspacesilent,5 +bind=SUPER_SHIFT,7,movetoworkspacesilent,6 +bind=SUPER_SHIFT,8,movetoworkspacesilent,7 +bind=SUPER_SHIFT,9,movetoworkspacesilent,8 +bind=SUPER_SHIFT,0,movetoworkspacesilent,9 + +bind=SUPER,mouse_down,workspace,e+1 +bind=SUPER,mouse_up,workspace,e-1 + +# Rules +windowrulev2=workspace 3,class:(firefox) +windowrulev2=workspace 4,class:(thunderbird) |