Skip to content

Instantly share code, notes, and snippets.

@sanoojes
Created September 16, 2024 12:02
Show Gist options
  • Select an option

  • Save sanoojes/cf006cb9a02f99bf9afef2c409b4faab to your computer and use it in GitHub Desktop.

Select an option

Save sanoojes/cf006cb9a02f99bf9afef2c409b4faab to your computer and use it in GitHub Desktop.
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,auto
# See https://wiki.hyprland.org/Configuring/Workspaces/
workspace=eDP-1,1,1,1,1,1,1,1,1
# See https://wiki.hyprland.org/Configuring/Input/
input {
kb_layout=us
kb_variant=
kb_options=
kb_rules=
follow_mouse=1
touchpad {
natural_scroll=no
}
sensitivity=1.0
}
# See https://wiki.hyprland.org/Configuring/General/
general {
gaps_in=5
gaps_out=20
border_size=2
col.active_border=#ff0000
col.inactive_border=#444444
}
# See https://wiki.hyprland.org/Configuring/Decoration/
decoration {
rounding=10
}
# See https://wiki.hyprland.org/Configuring/Animations/
animations {
enabled=yes
animation=windows,1,7,default
animation=fade,1,7,default
animation=workspaces,1,7,default
}
# See https://wiki.hyprland.org/Configuring/Binding-Keys/
bind=SUPER,Return,exec,alacritty
bind=SUPER,D,exec,wofi --show drun
bind=SUPER,Q,killactive,
bind=,XF86MonBrightnessUp,exec,brightnessctl s +5%
bind=,XF86MonBrightnessDown,exec,brightnessctl s 5%-
#Example binds, see https://wiki.hyprland.org/Configuring/Window-Management/
bind=SUPER,H,moveworkspace,l
bind=SUPER,L,moveworkspace,r
bind=SUPER,K,movetoworkspace,l
bind=SUPER,J,movetoworkspace,r
# Move focus with main keys
bind=SUPER,Left,movefocus,l
bind=SUPER,Right,movefocus,r
bind=SUPER,Up,movefocus,u
bind=SUPER,Down,movefocus,d
# Switch workspaces with main keys + shift
bind=SUPER SHIFT,Left,workspace,l
bind=SUPER SHIFT,Right,workspace,r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment