2025-08-02 22:21:02 +10:00
|
|
|
# All hyprland configuration variables are listed (even niche ones)
|
|
|
|
|
# to save you the hassle. Reference: https://wiki.hypr.land/Configuring/Variables/
|
|
|
|
|
#
|
|
|
|
|
# You can split this configuration into multiple files
|
|
|
|
|
# Create your files separately and then link them to this file like this:
|
|
|
|
|
# source = ~/.config/hypr/myColors.conf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
################
|
|
|
|
|
### MONITORS ###
|
|
|
|
|
################
|
|
|
|
|
|
|
|
|
|
# Programming:
|
|
|
|
|
monitor=eDP-1, highres@highrr, auto, 1.0
|
|
|
|
|
# Comfy:
|
|
|
|
|
#monitor=eDP-1, highres@highrr, auto, 1.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###################
|
|
|
|
|
### MY PROGRAMS ###
|
|
|
|
|
###################
|
|
|
|
|
|
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
|
|
|
|
|
|
|
|
|
# Set programs that you use
|
|
|
|
|
$terminal = ghostty #rio
|
|
|
|
|
$fileManager = thunar
|
2025-10-24 17:24:11 +10:00
|
|
|
# $menu = wofi --show drun
|
|
|
|
|
# $menu = ags -t "applauncher"
|
|
|
|
|
$menu = fuzzel
|
2025-08-02 22:21:02 +10:00
|
|
|
$colorpicker = hyprpicker | head -c 7 | wl-copy
|
|
|
|
|
|
|
|
|
|
#################
|
|
|
|
|
### AUTOSTART ###
|
|
|
|
|
#################
|
|
|
|
|
|
|
|
|
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
|
|
|
|
# Or execute your favorite apps at launch like this:
|
|
|
|
|
|
|
|
|
|
# exec-once = $terminal
|
|
|
|
|
# exec-once = nm-applet &
|
|
|
|
|
# exec-once = waybar & hyprpaper & firefox
|
|
|
|
|
exec-once = swww-daemon &
|
2025-10-24 11:44:02 +10:00
|
|
|
exec-once = mako &
|
2025-08-02 22:21:02 +10:00
|
|
|
# TODO: or do I do `swww init` or `swww restore`?
|
|
|
|
|
|
|
|
|
|
# █▀▀ █▄░█ █░█ █░█ ▄▀█ █▀█
|
|
|
|
|
# ██▄ █░▀█ ▀▄▀ ▀▄▀ █▀█ █▀▄
|
|
|
|
|
|
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Environment-variables/
|
|
|
|
|
|
|
|
|
|
#env = HYPRCURSOR_THEME,Bibata-Modern-Ice
|
|
|
|
|
env = HYPRCURSOR_SIZE,16
|
|
|
|
|
#env = XCURSOR_THEME,Bibata-Modern-Ice
|
|
|
|
|
env = XCURSOR_SIZE,16
|
|
|
|
|
|
|
|
|
|
env = QT_QPA_PLATFORM,wayland
|
|
|
|
|
env = QT_QPA_PLATFORMTHEME,qt5ct
|
|
|
|
|
env = XDG_MENU_PREFIX,arch-
|
|
|
|
|
|
|
|
|
|
# TODO: make this variable (not dependent on helix) in my flake
|
|
|
|
|
env = EDITOR,hx
|
|
|
|
|
env = TERMINAL,rio
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# DEBUG: attempting to get screensharing working... (please god help me)
|
|
|
|
|
# REFERENCE: https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/251#issuecomment-2345631820
|
|
|
|
|
env = XDG_CURRENT_DESKTOP,Hyprland
|
|
|
|
|
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
|
|
|
|
#exec-once = dbus-update-activation-environment --systemd --all
|
|
|
|
|
#exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# .__. .___ __..___. . . .___ .___. ._. __ __.
|
|
|
|
|
# [__] [__ (__ | |__| [__ | | / ` (__
|
|
|
|
|
# | | [___ .__) | | | [___ | _|_ \__. .__)
|
|
|
|
|
|
|
|
|
|
# Refer to https://wiki.hyprland.org/Configuring/Variables/
|
|
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/#general
|
|
|
|
|
general {
|
|
|
|
|
gaps_in = 12 # margin between windows
|
|
|
|
|
gaps_out = 25 # margin from windows to monitor edge
|
|
|
|
|
gaps_workspaces = 0 # margin between workspaces (stacks with gaps_out)
|
|
|
|
|
# float_gaps = 0 # gaps_out but for floating windows
|
|
|
|
|
|
|
|
|
|
border_size = 4
|
|
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
|
|
|
|
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
|
|
|
|
col.inactive_border = rgba(00000000)
|
|
|
|
|
|
|
|
|
|
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
|
|
|
|
resize_on_border = true
|
|
|
|
|
|
|
|
|
|
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
|
|
|
|
allow_tearing = false
|
|
|
|
|
|
|
|
|
|
layout = dwindle
|
|
|
|
|
|
|
|
|
|
snap {
|
|
|
|
|
enabled = false
|
|
|
|
|
window_gap = 10
|
|
|
|
|
monitor_gap = 10
|
|
|
|
|
border_overlap = false
|
|
|
|
|
# respect_gaps = false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
|
|
|
|
decoration {
|
|
|
|
|
rounding = 20
|
|
|
|
|
rounding_power = 4.0 # Lp norm
|
|
|
|
|
border_part_of_window = true # consider border as part of its window
|
|
|
|
|
screen_shader = # path to custom GLSL fragment shader
|
|
|
|
|
|
|
|
|
|
# Window Transparency
|
|
|
|
|
active_opacity = 1.0
|
|
|
|
|
inactive_opacity = 0.95
|
|
|
|
|
fullscreen_opacity = 1.0 # fullscreened windows
|
|
|
|
|
# Inactive Window Dimming
|
|
|
|
|
dim_inactive = false
|
|
|
|
|
dim_strength = 0.5
|
|
|
|
|
dim_special = 0.2
|
|
|
|
|
dim_around = 0.4
|
|
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
|
|
|
|
blur {
|
|
|
|
|
enabled = true
|
|
|
|
|
new_optimizations = true
|
|
|
|
|
xray = false # floating windows xray through tiling windows
|
|
|
|
|
ignore_opacity = true
|
|
|
|
|
|
|
|
|
|
# Blur Parameters
|
|
|
|
|
size = 8
|
|
|
|
|
passes = 1
|
|
|
|
|
noise = 0.0117 # default
|
|
|
|
|
contrast = 0.8916 # default
|
|
|
|
|
brightness = 0.8172 # default
|
|
|
|
|
vibrancy = 0.1696 # default
|
|
|
|
|
vibrancy_darkness = 0.0 # default
|
|
|
|
|
|
|
|
|
|
# Blurring For Specific Window Types
|
|
|
|
|
special = false # blur special windows
|
|
|
|
|
popups = false # blur popups
|
|
|
|
|
popups_ignorealpha = 0.2
|
|
|
|
|
input_methods = false
|
|
|
|
|
input_methods_ignorealpha = 0.2
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
shadow {
|
|
|
|
|
enabled = true
|
|
|
|
|
ignore_window = true # only render at edges (not behind)
|
|
|
|
|
|
|
|
|
|
range = 3
|
|
|
|
|
render_power = 1 # falloff rate
|
|
|
|
|
sharp = false # aka infinite shadow.render_power
|
|
|
|
|
offset = 0 0 # vec2
|
|
|
|
|
scale = 1.0
|
|
|
|
|
|
|
|
|
|
color = rgba(00000000)
|
|
|
|
|
color_inactive = rgba(000000ff) # defaults to shadow.color if unset
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/#animations
|
|
|
|
|
animations {
|
|
|
|
|
enabled = yes, please :)
|
|
|
|
|
|
|
|
|
|
# Animation Declaration Format:
|
|
|
|
|
# "animation = NAME, ENABLE, SPEED, BEZIER [,STYLE]"
|
|
|
|
|
# SPEED: in ds (where 1ds = 100ms)
|
|
|
|
|
|
|
|
|
|
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
|
|
|
|
|
|
|
|
|
bezier = easeOutQuint,0.23,1,0.32,1
|
|
|
|
|
bezier = easeInOutCubic,0.65,0.05,0.36,1
|
|
|
|
|
bezier = linear,0,0,1,1
|
|
|
|
|
bezier = almostLinear,0.5,0.5,0.75,1.0
|
|
|
|
|
bezier = quick,0.15,0,0.1,1
|
|
|
|
|
|
|
|
|
|
animation = global, 1, 10, default
|
|
|
|
|
animation = border, 1, 5.39, easeOutQuint
|
|
|
|
|
|
|
|
|
|
#animation = windows, 1, 4.79, easeOutQuint
|
|
|
|
|
#animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
|
|
|
|
|
animation = windowsIn, 1, 4, linear, slide bottom
|
|
|
|
|
# animation = windowsOut, 1, 1.49, linear, popin 87%
|
|
|
|
|
animation = windowsOut, 1, 10, linear, popin
|
|
|
|
|
|
|
|
|
|
animation = fadeIn, 1, 1.73, almostLinear
|
|
|
|
|
animation = fadeOut, 1, 1.46, almostLinear
|
|
|
|
|
animation = fade, 1, 3.03, quick
|
|
|
|
|
|
|
|
|
|
animation = layers, 1, 3.81, easeOutQuint
|
|
|
|
|
animation = layersIn, 1, 4, easeOutQuint, fade
|
|
|
|
|
animation = layersOut, 1, 1.5, linear, fade
|
|
|
|
|
|
|
|
|
|
animation = fadeLayersIn, 1, 1.79, almostLinear
|
|
|
|
|
animation = fadeLayersOut, 1, 1.39, almostLinear
|
|
|
|
|
|
|
|
|
|
animation = workspaces, 1, 1.94, almostLinear, fade
|
|
|
|
|
animation = workspacesIn, 1, 1.21, almostLinear, fade
|
|
|
|
|
animation = workspacesOut, 1, 1.94, almostLinear, fade
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
|
|
|
|
|
# "Smart gaps" / "No gaps when only"
|
|
|
|
|
# uncomment all if you wish to use that.
|
|
|
|
|
# workspace = w[t1], gapsout:0, gapsin:0
|
|
|
|
|
# workspace = w[tg1], gapsout:0, gapsin:0
|
|
|
|
|
# workspace = f[1], gapsout:0, gapsin:0
|
|
|
|
|
# windowrulev2 = bordersize 0, floating:0, onworkspace:w[t1]
|
|
|
|
|
# windowrulev2 = rounding 0, floating:0, onworkspace:w[t1]
|
|
|
|
|
# windowrulev2 = bordersize 0, floating:0, onworkspace:w[tg1]
|
|
|
|
|
# windowrulev2 = rounding 0, floating:0, onworkspace:w[tg1]
|
|
|
|
|
# windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
|
|
|
|
|
# windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
|
|
|
|
|
|
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
|
|
|
|
dwindle {
|
|
|
|
|
pseudotile = true # Master switch for pseudotiling. Enabling is bound to MOD + P in the keybinds section below
|
|
|
|
|
preserve_split = true # You probably want this
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
|
|
|
|
master {
|
|
|
|
|
new_status = master
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
|
|
|
|
misc {
|
|
|
|
|
#force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
|
|
|
|
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
|
|
|
|
|
disable_splash_rendering = true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#############
|
|
|
|
|
### INPUT ###
|
|
|
|
|
#############
|
|
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/#input
|
|
|
|
|
input {
|
|
|
|
|
kb_layout = us
|
|
|
|
|
kb_variant =
|
|
|
|
|
kb_model =
|
|
|
|
|
kb_options =
|
|
|
|
|
kb_rules =
|
|
|
|
|
|
|
|
|
|
follow_mouse = 1
|
|
|
|
|
|
|
|
|
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
|
|
|
|
|
|
|
|
|
touchpad {
|
|
|
|
|
natural_scroll = false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
|
|
|
|
gestures {
|
|
|
|
|
workspace_swipe = true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# Example per-device config
|
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
|
|
|
|
#device {
|
|
|
|
|
# name = epic-mouse-v1
|
|
|
|
|
# sensitivity = -0.5
|
|
|
|
|
#}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###################
|
|
|
|
|
### KEYBINDINGS ###
|
|
|
|
|
###################
|
|
|
|
|
|
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
|
|
|
|
$MOD = SUPER # Sets "Windows" key as main modifier
|
|
|
|
|
|
|
|
|
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
|
|
|
|
bind = $MOD, RETURN, exec, $terminal
|
|
|
|
|
bind = $MOD, E, exec, $fileManager
|
|
|
|
|
bind = $MOD, R, exec, $menu
|
|
|
|
|
bind = $MOD, H, exec, $colorpicker
|
|
|
|
|
|
|
|
|
|
bind = $MOD, F, fullscreen
|
|
|
|
|
bind = $MOD, V, togglefloating,
|
|
|
|
|
bind = $MOD, P, pseudo, # dwindle
|
|
|
|
|
bind = $MOD, J, togglesplit, # dwindle
|
|
|
|
|
|
|
|
|
|
bind = $MOD, C, killactive,
|
|
|
|
|
#bind = $MOD, M, exit,
|
|
|
|
|
|
|
|
|
|
# Move focus with MOD + arrow keys
|
|
|
|
|
bind = $MOD, left, movefocus, l
|
|
|
|
|
bind = $MOD, right, movefocus, r
|
|
|
|
|
bind = $MOD, up, movefocus, u
|
|
|
|
|
bind = $MOD, down, movefocus, d
|
|
|
|
|
|
|
|
|
|
# Switch workspaces with MOD + [0-9]
|
|
|
|
|
bind = $MOD, 1, workspace, 1
|
|
|
|
|
bind = $MOD, 2, workspace, 2
|
|
|
|
|
bind = $MOD, 3, workspace, 3
|
|
|
|
|
bind = $MOD, 4, workspace, 4
|
|
|
|
|
bind = $MOD, 5, workspace, 5
|
|
|
|
|
bind = $MOD, 6, workspace, 6
|
|
|
|
|
bind = $MOD, 7, workspace, 7
|
|
|
|
|
bind = $MOD, 8, workspace, 8
|
|
|
|
|
bind = $MOD, 9, workspace, 9
|
|
|
|
|
bind = $MOD, 0, workspace, 10
|
|
|
|
|
|
|
|
|
|
# Move active window to a workspace with MOD + SHIFT + [0-9]
|
|
|
|
|
bind = $MOD SHIFT, 1, movetoworkspace, 1
|
|
|
|
|
bind = $MOD SHIFT, 2, movetoworkspace, 2
|
|
|
|
|
bind = $MOD SHIFT, 3, movetoworkspace, 3
|
|
|
|
|
bind = $MOD SHIFT, 4, movetoworkspace, 4
|
|
|
|
|
bind = $MOD SHIFT, 5, movetoworkspace, 5
|
|
|
|
|
bind = $MOD SHIFT, 6, movetoworkspace, 6
|
|
|
|
|
bind = $MOD SHIFT, 7, movetoworkspace, 7
|
|
|
|
|
bind = $MOD SHIFT, 8, movetoworkspace, 8
|
|
|
|
|
bind = $MOD SHIFT, 9, movetoworkspace, 9
|
|
|
|
|
bind = $MOD SHIFT, 0, movetoworkspace, 10
|
|
|
|
|
|
|
|
|
|
# Example special workspace (scratchpad)
|
|
|
|
|
bind = $MOD, S, togglespecialworkspace, magic
|
|
|
|
|
bind = $MOD SHIFT, S, movetoworkspace, special:magic
|
|
|
|
|
|
|
|
|
|
# Scroll through existing workspaces with MOD + scroll
|
|
|
|
|
bind = $MOD, mouse_up, workspace, e-1
|
|
|
|
|
bind = $MOD, mouse_down, workspace, e+1
|
|
|
|
|
# Or with the keyboard
|
|
|
|
|
bind = $MOD SHIFT, left, workspace, e-1
|
|
|
|
|
bind = $MOD SHIFT, right, workspace, e+1
|
|
|
|
|
|
|
|
|
|
# Move/resize windows with MOD + LMB/RMB and dragging
|
|
|
|
|
bindm = $MOD, mouse:272, movewindow
|
|
|
|
|
bindm = $MOD, mouse:273, resizewindow
|
|
|
|
|
|
|
|
|
|
# Laptop multimedia keys for volume and LCD brightness
|
|
|
|
|
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
|
|
|
|
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
|
|
|
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
|
|
|
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
|
|
|
|
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
|
|
|
|
|
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
|
|
|
|
|
|
|
|
|
# Requires playerctl
|
|
|
|
|
bindl = , XF86AudioNext, exec, playerctl next
|
|
|
|
|
bindl = , XF86AudioPause, exec, playerctl play-pause
|
|
|
|
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
|
|
|
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
|
|
|
|
|
|
|
|
|
##############################
|
|
|
|
|
### WINDOWS AND WORKSPACES ###
|
|
|
|
|
##############################
|
|
|
|
|
|
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
|
|
|
|
|
|
|
|
|
# Example windowrule v1
|
|
|
|
|
# windowrule = float, ^(kitty)$
|
|
|
|
|
|
|
|
|
|
# Example windowrule v2
|
|
|
|
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
|
|
|
|
|
|
|
|
|
# Ignore maximize requests from apps. You'll probably like this.
|
|
|
|
|
windowrulev2 = suppressevent maximize, class:.*
|
|
|
|
|
|
|
|
|
|
# Fix some dragging issues with XWayland
|
|
|
|
|
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|