From ed469ef55dc76c3c90ebcd8420816c915b515772 Mon Sep 17 00:00:00 2001 From: doloro Date: Wed, 23 Jul 2025 20:37:55 +0100 Subject: [PATCH] Done for now --- hypr/hyprland.conf | 78 ++++++++++++++++++++++------------------------ 1 file changed, 37 insertions(+), 41 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index f651cff..1b34d5d 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -15,7 +15,9 @@ ################ # See https://wiki.hypr.land/Configuring/Monitors/ -monitor=,preferred,auto,auto + +monitor=HDMI-A-1, 1920x1080@60, 0x0, 1 +monitor=DP-3, 1920x1080@144, 1920x0, 1 ################### @@ -26,9 +28,13 @@ monitor=,preferred,auto,auto # Set programs that you use $terminal = foot -$fileManager = dolphin +$fileManager = nemo $menu = wofi --show drun +$notificationDaemon = dunst + +$screenShot = grim -g "$(slurp -d)" - | wl-copy -t image/png +$quickshellBar = quickshell ################# ### AUTOSTART ### @@ -37,10 +43,9 @@ $menu = wofi --show drun # 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 = $notificationDaemon +exec-once = $quickshellBar ############################# ### ENVIRONMENT VARIABLES ### @@ -49,7 +54,7 @@ $menu = wofi --show drun # See https://wiki.hypr.land/Configuring/Environment-variables/ env = XCURSOR_SIZE,24 -env = HYPRCURSOR_SIZE,24 +env = HYPRCURSOR_SIZE,16 ################### @@ -65,7 +70,7 @@ env = HYPRCURSOR_SIZE,24 # } # permission = /usr/(bin|local/bin)/grim, screencopy, allow -# permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow +permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow # permission = /usr/(bin|local/bin)/hyprpm, plugin, allow @@ -77,10 +82,10 @@ env = HYPRCURSOR_SIZE,24 # https://wiki.hypr.land/Configuring/Variables/#general general { - gaps_in = 5 - gaps_out = 20 + gaps_in = 1 + gaps_out = 1 - border_size = 2 + border_size = 1 # https://wiki.hypr.land/Configuring/Variables/#variable-types for info about colors col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg @@ -90,22 +95,22 @@ general { resize_on_border = false # Please see https://wiki.hypr.land/Configuring/Tearing/ before you turn this on - allow_tearing = false + allow_tearing = true layout = dwindle } # https://wiki.hypr.land/Configuring/Variables/#decoration decoration { - rounding = 10 - rounding_power = 2 + rounding = 0 + rounding_power = 1 # Change transparency of focused and unfocused windows active_opacity = 1.0 inactive_opacity = 1.0 shadow { - enabled = true + enabled = false range = 4 render_power = 3 color = rgba(1a1a1aee) @@ -113,7 +118,7 @@ decoration { # https://wiki.hypr.land/Configuring/Variables/#blur blur { - enabled = true + enabled = false size = 3 passes = 1 @@ -135,12 +140,12 @@ animations { 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 = windows, 1, 2.79, easeOutQuint + animation = windowsIn, 1, 1.1, easeOutQuint, popin 87% animation = windowsOut, 1, 1.49, linear, popin 87% animation = fadeIn, 1, 1.73, almostLinear animation = fadeOut, 1, 1.46, almostLinear - animation = fade, 1, 3.03, quick + animation = fade, 1, 2.03, quick animation = layers, 1, 3.81, easeOutQuint animation = layersIn, 1, 4, easeOutQuint, fade animation = layersOut, 1, 1.5, linear, fade @@ -186,30 +191,15 @@ misc { # https://wiki.hypr.land/Configuring/Variables/#input input { - kb_layout = us + # I'm british sob + kb_layout = gb kb_variant = kb_model = kb_options = kb_rules = - follow_mouse = 1 + follow_mouse = 2 - sensitivity = 0 # -1.0 - 1.0, 0 means no modification. - - touchpad { - natural_scroll = false - } -} - -# https://wiki.hypr.land/Configuring/Variables/#gestures -gestures { - workspace_swipe = false -} - -# Example per-device config -# See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more -device { - name = epic-mouse-v1 sensitivity = -0.5 } @@ -261,9 +251,7 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 -# Example special workspace (scratchpad) -bind = $mainMod, S, togglespecialworkspace, magic -bind = $mainMod SHIFT, S, movetoworkspace, special:magic +bind = $mainMod, S, exec, $screenShot # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 @@ -294,11 +282,19 @@ bindl = , XF86AudioPrev, exec, playerctl previous # See https://wiki.hypr.land/Configuring/Window-Rules/ for more # See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules -# Example windowrule -# windowrule = float,class:^(kitty)$,title:^(kitty)$ +# Primary monitor +workspace= name:2, monitor:DP-3 +# Move mouse +exec-once = hyprctl dispatch workspace 2 # Ignore maximize requests from apps. You'll probably like this. windowrule = suppressevent maximize, class:.* +# Gamescope / games on workspace 5 +windowrule = workspace 5 silent, class:^(gamescope)$ + +# Steam on workspace 6 +windowrule = workspace 6 silent, class:^(steam)$ + # Fix some dragging issues with XWayland windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0