From 21bd651d0731b3e19ccf177a170b0a69230b0fd3 Mon Sep 17 00:00:00 2001 From: Trianta <56975502+Trimutex@users.noreply.github.com> Date: Sat, 26 Oct 2024 00:05:20 -0500 Subject: [PATCH] hyprland: update config files --- hypr/hyprland.conf | 160 ++++++++++++++++++++++---------------------- hypr/hyprlandd.conf | 3 +- 2 files changed, 81 insertions(+), 82 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 5e9625c..ed60681 100755 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -4,8 +4,8 @@ source = ~/.config/hypr/mocha.conf # Catppuccin colorscheme # monitors #monitor=HDMI-A-4, disabled -monitor=HDMI-A-4, 3840x2160@60, 0x0, 1.6, bitdepth, 8 -monitor=DP-1, 3440x1440@160, auto-right, 1, vrr, 1, bitdepth, 8 +monitor = HDMI-A-4, 3840x2160@60, 0x0, 1.6, bitdepth, 8 +monitor = DP-1, 3440x1440@160, auto-right, 1, vrr, 1, bitdepth, 8 # < End Section > @@ -50,7 +50,7 @@ exec-once = xwaylandvideobridge # main applications exec-once = vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland exec-once = spotify -exec-once = alacritty +exec-once = alacritty exec-once = firefox #exec-once = bolt exec-once = taskset -c 1-7 steam @@ -83,93 +83,93 @@ workspace = 5, monitor:HDMI-A-4, persistent:true # variables general { - gaps_in = 0 - gaps_out = 4 - border_size = 2 - col.active_border = $surface1 - col.inactive_border = $surface1 - layout = master - resize_on_border = false + gaps_in = 0 + gaps_out = 4 + border_size = 2 + col.active_border = $surface1 + col.inactive_border = $surface1 + layout = master + resize_on_border = false } decoration { - rounding = 12 - drop_shadow = false - dim_special = 0.3 - fullscreen_opacity = 1.0 - - blur { - enabled = yes - special = true - size = 6 - passes = 3 - new_optimizations = on - ignore_opacity = on - xray = false - } + rounding = 12 + drop_shadow = false + dim_special = 0.3 + fullscreen_opacity = 1.0 + + blur { + enabled = true + special = true + size = 6 + passes = 3 + new_optimizations = true + ignore_opacity = true + xray = false + } } animations { - enabled = yes - bezier = wind, 0.05, 0.9, 0.1, 1.05 - bezier = winIn, 0.1, 1.1, 0.1, 1.1 - bezier = winOut, 0.3, -0.3, 0, 1 - bezier = liner, 1, 1, 1, 1 - animation = windows, 1, 6, wind, slide - animation = windowsIn, 1, 6, winIn, slide - animation = windowsOut, 1, 5, winOut, slide - animation = windowsMove, 1, 5, wind, slide - animation = border, 1, 1, liner - animation = borderangle, 1, 30, liner, loop - animation = fade, 1, 10, default - animation = workspaces, 1, 5, wind + enabled = true + bezier = wind, 0.05, 0.9, 0.1, 1.05 + bezier = winIn, 0.1, 1.1, 0.1, 1.1 + bezier = winOut, 0.3, -0.3, 0, 1 + bezier = liner, 1, 1, 1, 1 + animation = windows, 1, 6, wind, slide + animation = windowsIn, 1, 6, winIn, slide + animation = windowsOut, 1, 5, winOut, slide + animation = windowsMove, 1, 5, wind, slide + animation = border, 1, 1, liner + animation = borderangle, 1, 30, liner, loop + animation = fade, 1, 10, default + animation = workspaces, 1, 5, wind } input { - kb_layout = us - kb_options = caps:escape - follow_mouse = 2 - mouse_refocus = false; - force_no_accel = 1 + kb_layout = us + kb_options = caps:escape + follow_mouse = 2 + mouse_refocus = false; + force_no_accel = 1 } group { - col.border_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg - col.border_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg - col.border_locked_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg - col.border_locked_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg + col.border_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg + col.border_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg + col.border_locked_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg + col.border_locked_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg } misc { - disable_hyprland_logo = true - disable_splash_rendering = true - force_default_wallpaper = 0 - vrr = 1 - vfr = true - middle_click_paste = false + disable_hyprland_logo = true + disable_splash_rendering = true + force_default_wallpaper = 0 + vrr = 1 + vfr = true + middle_click_paste = false } xwayland { - enabled = true - use_nearest_neighbor = true - force_zero_scaling = false + enabled = true + use_nearest_neighbor = true + force_zero_scaling = false } cursor { - no_hardware_cursors = true - inactive_timeout = 2 - no_warps = false - default_monitor = DP-1 + no_hardware_cursors = true + inactive_timeout = 2 + no_warps = false + default_monitor = DP-1 } debug { - disable_logs = true + disable_logs = true } render { - explicit_sync = 2 - explicit_sync_kms = 2 - direct_scanout = false + explicit_sync = 2 + explicit_sync_kms = 2 + direct_scanout = false } # < End Section > @@ -177,10 +177,10 @@ render { # < Start Section > -# master layout +# master layout master { - new_status = master + new_status = master } # < End Section > @@ -193,7 +193,7 @@ master { # core workspace = w[t1], gapsout:0, border: 0, rounding:0 windowrulev2 = suppressevent maximize, class:^(.*)$ -windowrulev2 = renderunfocused,class:^(.*)$ +#windowrulev2 = renderunfocused,class:^(.*)$ windowrulev2 = opacity 0.80 0.80,class:^(.*)$ windowrulev2 = opacity 0.80 0.70,class:^(pavucontrol)$ windowrulev2 = opacity 0.80 0.70,class:^(org.kde.polkit-kde-authentication-agent-1)$ @@ -223,21 +223,21 @@ windowrulev2 = workspace 4 silent, class:^(dota2)$ windowrulev2 = workspace 4 silent, class:^(gamescope)$ windowrulev2 = workspace 5 silent, class:^(Bolt.*)$ windowrulev2 = workspace 5 silent, class:^(net-runelite-client-RuneLite)$ -windowrulev2 = workspace 6 silent, class:^(steam)$ +windowrulev2 = workspace 6 silent, class:^(steam)$ # development -windowrulev2 = float, title:^(SnakePlusPlus)$ -windowrulev2 = center, title:^(SnakePlusPlus)$ -windowrulev2 = opacity 0.4, title:^(SnakePlusPlus)$ -windowrulev2 = float, title:^(TetrisPlusPlus)$ -windowrulev2 = center, title:^(TetrisPlusPlus)$ +windowrulev2 = float, title:^(SnakePlusPlus)$ +windowrulev2 = center, title:^(SnakePlusPlus)$ +windowrulev2 = opacity 0.4, title:^(SnakePlusPlus)$ +windowrulev2 = float, title:^(TetrisPlusPlus)$ +windowrulev2 = center, title:^(TetrisPlusPlus)$ windowrulev2 = workspace 4 silent, class:^(aquamarine)$ windowrulev2 = fullscreen, class:^(aquamarine)$ # games # 16:9 windowed - 1920 1080 # 21:9 windowed - 2560 1080 -# 32:9 windowed - 3200 900 +# 32:9 windowed - 3200 900 # theoretical mix - 3200 1100 # alternative - 2660 1140 # runelite @@ -287,11 +287,11 @@ $mainMod = SUPER #bind = SHIFT, mouse:275, sendshortcut, ALT, V, class:^(vesktop)$ # core binds -bind = $mainMod SHIFT, Q, killactive, +bind = $mainMod SHIFT, Q, killactive bind = $mainMod SHIFT, M, exit -bind = $mainMod, SPACE, togglefloating, +bind = $mainMod, SPACE, togglefloating bind = $mainMod, C, centerwindow -bind = $mainMod, F, fullscreen, +bind = $mainMod, F, fullscreen bind = $mainMod SHIFT, L, exec, hyprlock bind = $mainMod $CONTROL, ESCAPE, exec, killall waybar || waybar # toggle waybar @@ -303,9 +303,9 @@ bind = $mainMod, S, exec, pkill -x rofi || rofi -show drun # generic audio control binde = , XF86AudioPlay, exec, playerctl play-pause -binde = , XF86AudioStop, exec, playerctl stop +binde = , XF86AudioStop, exec, playerctl stop binde = , XF86AudioPrev, exec, playerctl previous -binde = , XF86AudioNext, exec, playerctl next +binde = , XF86AudioNext, exec, playerctl next binde = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% @@ -313,9 +313,9 @@ binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% # custom audio control binde = $mainMod, F1, exec, playerctl play-pause binde = $mainMod, F2, exec, playerctl previous -binde = $mainMod, F3, exec, playerctl next +binde = $mainMod, F3, exec, playerctl next -# move focus +# move focus bind = $mainMod, h, movefocus, l bind = $mainMod, l, movefocus, r bind = $mainMod, k, movefocus, u diff --git a/hypr/hyprlandd.conf b/hypr/hyprlandd.conf index f84c970..0d2ed98 100644 --- a/hypr/hyprlandd.conf +++ b/hypr/hyprlandd.conf @@ -3,7 +3,7 @@ source = ~/.config/hypr/mocha.conf # Catppuccin colorscheme # < Start Section > # monitors -monitor=WL-1, 1920x1080@144, 0x0, 1, vrr, 1 +monitor= , 2560x1440@60, 0x0, 1 # < End Section > @@ -148,7 +148,6 @@ render { master { new_status = master - no_gaps_when_only = 1 } # < End Section >