Skip to content

Instantly share code, notes, and snippets.

@rmrgh
Created January 4, 2026 02:00
Show Gist options
  • Select an option

  • Save rmrgh/818025e5fbf70ff248d0a1c5dca2310c to your computer and use it in GitHub Desktop.

Select an option

Save rmrgh/818025e5fbf70ff248d0a1c5dca2310c to your computer and use it in GitHub Desktop.
# --- MONITOR ---
# Auto-detects your monitor setup
monitor=,preferred,auto,auto
# --- PROGRAMS ---
$terminal = kitty
$fileManager = dolphin
$menu = wofi --show drun
# --- AUTOSTART ---
# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox
# --- ENVIRONMENT ---
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
# --- INPUT ---
input {
kb_layout = us
follow_mouse = 1
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
touchpad {
natural_scroll = true
}
}
# --- GENERAL ---
general {
gaps_in = 5
gaps_out = 10
border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
layout = dwindle
}
# --- DECORATION ---
decoration {
rounding = 10
blur {
enabled = true
size = 3
passes = 1
}
# Shadow (optional, disable for performance)
drop_shadow = true
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
}
# --- ANIMATIONS ---
animations {
enabled = true
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
}
# --- LAYOUTS ---
dwindle {
pseudotile = true
preserve_split = true
}
# --- KEYBINDINGS ---
$mainMod = SUPER
# Application shortcuts
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, SPACE, exec, $menu
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
# Window control
bind = $mainMod, V, togglefloating,
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, F, fullscreen
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Audio / Media control (requires playerctl and wireplumber/pipewire)
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindl = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment