Last active
August 3, 2024 16:01
-
-
Save t0m5k1/fc6ee522bef837abe9237a89d6072e78 to your computer and use it in GitHub Desktop.
.config/hypr/hyprland.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See https://wiki.hyprland.org/Configuring/Monitors/ | |
#monitor=,preferred,auto,auto | |
monitor=DP-3,2560x1440@144,0x0,1 | |
# | |
# See https://wiki.hyprland.org/Configuring/Keywords/ for more | |
# | |
# Execute your favorite apps at launch | |
# exec-once = waybar & hyprpaper & firefox | |
exec-once = wpaperd | |
exec-once = waybar | |
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP | |
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP | |
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 | |
exec-once = thunar --daemon | |
exec-once = blueman-applet | |
#exec = ln -s $XDG_RUNTIME_DIR/hypr /tmp/hypr | |
# | |
#exec-once=xinput --set-prop 9 'libinput Accel Speed' -1 | |
# | |
# Source a file (multi-file configs) | |
# source = ~/.config/hypr/myColors.conf | |
# | |
# Some default env vars. | |
env = CLUTTER_BACKEND,wayland | |
env = GDK_BACKEND,wayland,x11 | |
env = QT_AUTO_SCREEN_SCALE_FACTOR,1 | |
env = QT_QPA_PLATFORM,wayland;xcb | |
env = QT_QPA_PLATFORMTHEME,qt5ct | |
env = QT_QPA_PLATFORMTHEME,qt6ct | |
env = QT_SCALE_FACTOR,1 | |
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 | |
env = XDG_CURRENT_DESKTOP,Hyprland | |
env = XDG_SESSION_DESKTOP,Hyprland | |
env = XDG_SESSION_TYPE,wayland | |
env = XCURSOR_SIZE,24 | |
# xwayland apps scale fix (useful if you are use monitor scaling) | |
# see https://wiki.hyprland.org/Configuring/XWayland/ | |
# toolkit-specific scale | |
# env = GDK_SCALE,2 | |
# firefox | |
env = MOZ_ENABLE_WAYLAND,1 | |
# electron >28 apps (may help) | |
env = ELECTRON_OZONE_PLATFORM_HINT,auto | |
# | |
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/ | |
input { | |
kb_layout = gb | |
kb_variant = | |
kb_model = | |
kb_options = | |
kb_rules = | |
numlock_by_default = true | |
follow_mouse = 1 | |
touchpad { | |
natural_scroll = no | |
} | |
sensitivity = -1.0 # -1.0 - 1.0, 0 means no modification. | |
} | |
# | |
general { | |
# See https://wiki.hyprland.org/Configuring/Variables/ for more | |
gaps_in = 5 | |
gaps_out = 20 | |
border_size = 1 | |
col.active_border = rgba(33ccffee) rgba(3386FCee) 45deg | |
col.inactive_border = rgba(595959aa) | |
layout = dwindle | |
} | |
# | |
decoration { | |
# See https://wiki.hyprland.org/Configuring/Variables/ for more | |
rounding = 5 | |
blur { | |
enabled = true | |
size = 3 | |
passes = 1 | |
} | |
drop_shadow = yes | |
shadow_range = 4 | |
shadow_render_power = 3 | |
col.shadow = rgba(1a1a1aee) | |
} | |
# | |
animations { | |
enabled = yes | |
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more | |
bezier = myBezier, 0.05, 0.9, 0.1, 1.05 | |
bezier = liner, 1, 1, 1, 1 | |
animation = windows, 1, 7, myBezier | |
animation = windowsIn, 1, 7, default, slide up | |
animation = windowsOut, 1, 7, default, popin 80% | |
animation = border, 1, 10, default | |
animation = borderangle, 1, 180, liner, loop | |
animation = fade, 1, 7, default | |
animation = workspaces, 1, 6, default | |
} | |
# | |
dwindle { | |
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more | |
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below | |
preserve_split = yes # you probably want this | |
} | |
# | |
master { | |
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more | |
#new_is_master = true | |
smart_resizing = true | |
} | |
# | |
gestures { | |
# See https://wiki.hyprland.org/Configuring/Variables/ for more | |
workspace_swipe = off | |
} | |
# | |
group { | |
insert_after_current = true | |
focus_removed_window = true | |
#col.border_active = rgba(66ffff00) | |
col.border_active = rgba(33ccffee) rgba(00ff99ee) 45deg | |
#col.border_locked_active = 0x66ff5500 | |
#col.border_locked_inactive = 0x66775500 | |
groupbar { | |
font_size = 8 | |
gradients = true | |
render_titles = true | |
scrolling = true | |
text_color = rgba(ffffffff) | |
#col.active = rgba(66ffff00) | |
#col.active = rgba(33ccffee) rgba(00ff99ee) 45deg | |
col.active = rgba(33ccffee) rgba(3386FCee) 45deg | |
col.inactive = rgba(595959aa) | |
#col.inactive = rgba(66777700) | |
#col.inactive = rrgba(595959aa) | |
#col.locked_active = 0x66ff5500 | |
#col.locked_inactive = 0x66775500 | |
} | |
} | |
# | |
misc { | |
disable_hyprland_logo = true | |
disable_splash_rendering = true | |
vfr = true | |
#vrr = 0 | |
mouse_move_enables_dpms = true | |
enable_swallow = true | |
swallow_regex = ^(kitty)$ | |
focus_on_activate = false | |
no_direct_scanout = true #for fullscreen games | |
initial_workspace_tracking = 0 | |
middle_click_paste = false | |
} | |
binds { | |
workspace_back_and_forth = true | |
allow_workspace_cycles = true | |
pass_mouse_when_bound = false | |
} | |
#Could help when scaling and not pixelating | |
xwayland { | |
force_zero_scaling = true | |
} | |
# cursor section for Hyprland >= v0.41.0 | |
cursor { | |
no_hardware_cursors = false | |
enable_hyprcursor = true | |
warp_on_change_workspace = true # for -git or Hyprland >v0.41.1 | |
} | |
# | |
# Example per-device config | |
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more | |
#device{ | |
# name = roccat-roccat-kova-mouse | |
# sensitivity = -1.5 | |
#} | |
# Example windowrule v1 | |
# windowrule = float, ^(kitty)$ | |
# Example windowrule v2 | |
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ | |
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more | |
# | |
source = ~/.config/hypr/windowrules.conf | |
# | |
# See https://wiki.hyprland.org/Configuring/Keywords/ for more | |
$mainMod = SUPER | |
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more | |
source = ~/.config/hypr/binds.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment