From b7cc2b7d8af0f074b58f638d81e64c253f5956fa Mon Sep 17 00:00:00 2001 From: antistereov Date: Thu, 19 Feb 2026 03:02:53 +0100 Subject: [PATCH] feat(hypr): update hypr config --- hypr/binds.conf | 4 +- hypr/hyprland.conf | 128 ++++------------------------------------ hypr/input.conf | 33 +++++++++++ hypr/look-and-feel.conf | 78 ++++++++++++++++++++++++ hypr/monitors.conf | 2 +- hypr/programs.conf | 4 +- 6 files changed, 128 insertions(+), 121 deletions(-) create mode 100644 hypr/input.conf create mode 100644 hypr/look-and-feel.conf diff --git a/hypr/binds.conf b/hypr/binds.conf index 58e87f3..1e58e0d 100644 --- a/hypr/binds.conf +++ b/hypr/binds.conf @@ -6,8 +6,8 @@ $mainMod = SUPER # Sets "Windows" key as main modifier # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more -bind = $mainMod, Q, exec, $terminal -bind = $mainMod, C, killactive, +bind = $mainMod, RETURN, exec, $terminal +bind = $mainMod, W, killactive, bind = $mainMod, M, exit, bind = $mainMod, E, exec, $fileManager bind = $mainMod, V, togglefloating, diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 832fe16..1af16d8 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -1,6 +1,8 @@ source = ~/.config/hypr/monitors.conf source = ~/.config/hypr/programs.conf source = ~/.config/hypr/binds.conf +source = ~/.config/hypr/input.conf +source = ~/.config/hypr/look-and-feel.conf ################# ### AUTOSTART ### @@ -23,124 +25,19 @@ exec-once = waybar & hyprpaper env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 +env = GDK_SCALE,1 +env = XCURSOR_SIZE,24 +env = QT_AUTO_SCREEN_SCALE_FACTOR,0 +env = QT_SCALE_FACTOR,1 +env = _JAVA_AWT_WM_NONREPARENTING,1 +env = AWT_TOOLKIT,MToolkit +env = WINIT_X11_SCALE_FACTOR,1 +env = XWAYLAND_NO_GLAMOR,0 -##################### -### LOOK AND FEEL ### -##################### - -# Refer to https://wiki.hyprland.org/Configuring/Variables/ - -# https://wiki.hyprland.org/Configuring/Variables/#general -general { - gaps_in = 5 - gaps_out = 20 - - border_size = 2 - - # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors - col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg - col.inactive_border = rgba(595959aa) - - # Set to true enable resizing windows by clicking and dragging on borders and gaps - resize_on_border = false - - # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on - allow_tearing = false - - layout = dwindle +xwayland { + force_zero_scaling = true } -# https://wiki.hyprland.org/Configuring/Variables/#decoration -decoration { - rounding = 10 - - # Change transparency of focused and unfocused windows - active_opacity = 1.0 - inactive_opacity = 1.0 - - drop_shadow = true - shadow_range = 4 - shadow_render_power = 3 - col.shadow = rgba(1a1a1aee) - - # https://wiki.hyprland.org/Configuring/Variables/#blur - blur { - enabled = true - size = 3 - passes = 1 - - vibrancy = 0.1696 - } -} - -# https://wiki.hyprland.org/Configuring/Variables/#animations -animations { - enabled = true - - # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more - - 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 -} - -# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more -dwindle { - pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + 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 = false # If true disables the random hyprland logo / anime girl background. :( -} - - -############# -### 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 = true - } -} - -# https://wiki.hyprland.org/Configuring/Variables/#gestures -gestures { - workspace_swipe = false -} - -# 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 -} - - ############################## ### WINDOWS AND WORKSPACES ### @@ -155,4 +52,3 @@ device { # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ -windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. diff --git a/hypr/input.conf b/hypr/input.conf new file mode 100644 index 0000000..470f13c --- /dev/null +++ b/hypr/input.conf @@ -0,0 +1,33 @@ +############# +### INPUT ### +############# + +# https://wiki.hyprland.org/Configuring/Variables/#input +input { + kb_layout = us + kb_variant = altgr-intl + kb_options = caps:swapescape + kb_options = + kb_rules = + + follow_mouse = 1 + + sensitivity = 0 # -1.0 - 1.0, 0 means no modification. + + touchpad { + natural_scroll = true + } +} + +# https://wiki.hyprland.org/Configuring/Variables/#gestures +gestures { + #workspace_swipe = false +} + +# 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 +} + diff --git a/hypr/look-and-feel.conf b/hypr/look-and-feel.conf new file mode 100644 index 0000000..b4b2c9f --- /dev/null +++ b/hypr/look-and-feel.conf @@ -0,0 +1,78 @@ +##################### +### LOOK AND FEEL ### +##################### + +# Refer to https://wiki.hyprland.org/Configuring/Variables/ + +# https://wiki.hyprland.org/Configuring/Variables/#general +general { + gaps_in = 5 + gaps_out = 5 + + border_size = 2 + + # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors + col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg + col.inactive_border = rgba(595959aa) + + # Set to true enable resizing windows by clicking and dragging on borders and gaps + resize_on_border = false + + # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on + allow_tearing = false + + layout = dwindle +} + + +# https://wiki.hyprland.org/Configuring/Variables/#decoration +decoration { + rounding = 10 + + # Change transparency of focused and unfocused windows + active_opacity = 1.0 + inactive_opacity = 1.0 + + # https://wiki.hyprland.org/Configuring/Variables/#blur + blur { + enabled = true + size = 3 + passes = 1 + + vibrancy = 0.1696 + } +} + +# https://wiki.hyprland.org/Configuring/Variables/#animations +animations { + enabled = true + + # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more + + 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 +} + +# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more +dwindle { + pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + 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 = false # If true disables the random hyprland logo / anime girl background. :( +} + diff --git a/hypr/monitors.conf b/hypr/monitors.conf index 2b13d19..11bd958 100644 --- a/hypr/monitors.conf +++ b/hypr/monitors.conf @@ -4,6 +4,6 @@ # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,preferred, auto, auto -monitor=eDP-1, 2256x1504, 0x0, 1.175 +monitor=eDP-1, 2256x1504, auto, 1.175 monitor=DP-10, 3440x1440, -3440x0, 1 diff --git a/hypr/programs.conf b/hypr/programs.conf index 65508f6..9dcaf97 100644 --- a/hypr/programs.conf +++ b/hypr/programs.conf @@ -6,7 +6,7 @@ # Set programs that you use $terminal = kitty -$fileManager = dolphin -$menu = rofi -show drun +$fileManager = nautilus +$menu = wofi --show drun --allow-images