hyprland: update config files

This commit is contained in:
Trianta 2024-10-26 00:05:20 -05:00
parent 2bc9a6d9b0
commit 21bd651d07
2 changed files with 81 additions and 82 deletions

View File

@ -4,8 +4,8 @@ source = ~/.config/hypr/mocha.conf # Catppuccin colorscheme
# monitors # monitors
#monitor=HDMI-A-4, disabled #monitor=HDMI-A-4, disabled
monitor=HDMI-A-4, 3840x2160@60, 0x0, 1.6, 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 monitor = DP-1, 3440x1440@160, auto-right, 1, vrr, 1, bitdepth, 8
# < End Section > # < End Section >
@ -83,93 +83,93 @@ workspace = 5, monitor:HDMI-A-4, persistent:true
# variables # variables
general { general {
gaps_in = 0 gaps_in = 0
gaps_out = 4 gaps_out = 4
border_size = 2 border_size = 2
col.active_border = $surface1 col.active_border = $surface1
col.inactive_border = $surface1 col.inactive_border = $surface1
layout = master layout = master
resize_on_border = false resize_on_border = false
} }
decoration { decoration {
rounding = 12 rounding = 12
drop_shadow = false drop_shadow = false
dim_special = 0.3 dim_special = 0.3
fullscreen_opacity = 1.0 fullscreen_opacity = 1.0
blur { blur {
enabled = yes enabled = true
special = true special = true
size = 6 size = 6
passes = 3 passes = 3
new_optimizations = on new_optimizations = true
ignore_opacity = on ignore_opacity = true
xray = false xray = false
} }
} }
animations { animations {
enabled = yes enabled = true
bezier = wind, 0.05, 0.9, 0.1, 1.05 bezier = wind, 0.05, 0.9, 0.1, 1.05
bezier = winIn, 0.1, 1.1, 0.1, 1.1 bezier = winIn, 0.1, 1.1, 0.1, 1.1
bezier = winOut, 0.3, -0.3, 0, 1 bezier = winOut, 0.3, -0.3, 0, 1
bezier = liner, 1, 1, 1, 1 bezier = liner, 1, 1, 1, 1
animation = windows, 1, 6, wind, slide animation = windows, 1, 6, wind, slide
animation = windowsIn, 1, 6, winIn, slide animation = windowsIn, 1, 6, winIn, slide
animation = windowsOut, 1, 5, winOut, slide animation = windowsOut, 1, 5, winOut, slide
animation = windowsMove, 1, 5, wind, slide animation = windowsMove, 1, 5, wind, slide
animation = border, 1, 1, liner animation = border, 1, 1, liner
animation = borderangle, 1, 30, liner, loop animation = borderangle, 1, 30, liner, loop
animation = fade, 1, 10, default animation = fade, 1, 10, default
animation = workspaces, 1, 5, wind animation = workspaces, 1, 5, wind
} }
input { input {
kb_layout = us kb_layout = us
kb_options = caps:escape kb_options = caps:escape
follow_mouse = 2 follow_mouse = 2
mouse_refocus = false; mouse_refocus = false;
force_no_accel = 1 force_no_accel = 1
} }
group { group {
col.border_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg col.border_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
col.border_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg col.border_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
col.border_locked_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg col.border_locked_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
col.border_locked_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg col.border_locked_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
} }
misc { misc {
disable_hyprland_logo = true disable_hyprland_logo = true
disable_splash_rendering = true disable_splash_rendering = true
force_default_wallpaper = 0 force_default_wallpaper = 0
vrr = 1 vrr = 1
vfr = true vfr = true
middle_click_paste = false middle_click_paste = false
} }
xwayland { xwayland {
enabled = true enabled = true
use_nearest_neighbor = true use_nearest_neighbor = true
force_zero_scaling = false force_zero_scaling = false
} }
cursor { cursor {
no_hardware_cursors = true no_hardware_cursors = true
inactive_timeout = 2 inactive_timeout = 2
no_warps = false no_warps = false
default_monitor = DP-1 default_monitor = DP-1
} }
debug { debug {
disable_logs = true disable_logs = true
} }
render { render {
explicit_sync = 2 explicit_sync = 2
explicit_sync_kms = 2 explicit_sync_kms = 2
direct_scanout = false direct_scanout = false
} }
# < End Section > # < End Section >
@ -180,7 +180,7 @@ render {
# master layout # master layout
master { master {
new_status = master new_status = master
} }
# < End Section > # < End Section >
@ -193,7 +193,7 @@ master {
# core # core
workspace = w[t1], gapsout:0, border: 0, rounding:0 workspace = w[t1], gapsout:0, border: 0, rounding:0
windowrulev2 = suppressevent maximize, class:^(.*)$ windowrulev2 = suppressevent maximize, class:^(.*)$
windowrulev2 = renderunfocused,class:^(.*)$ #windowrulev2 = renderunfocused,class:^(.*)$
windowrulev2 = opacity 0.80 0.80,class:^(.*)$ windowrulev2 = opacity 0.80 0.80,class:^(.*)$
windowrulev2 = opacity 0.80 0.70,class:^(pavucontrol)$ windowrulev2 = opacity 0.80 0.70,class:^(pavucontrol)$
windowrulev2 = opacity 0.80 0.70,class:^(org.kde.polkit-kde-authentication-agent-1)$ windowrulev2 = opacity 0.80 0.70,class:^(org.kde.polkit-kde-authentication-agent-1)$
@ -287,11 +287,11 @@ $mainMod = SUPER
#bind = SHIFT, mouse:275, sendshortcut, ALT, V, class:^(vesktop)$ #bind = SHIFT, mouse:275, sendshortcut, ALT, V, class:^(vesktop)$
# core binds # core binds
bind = $mainMod SHIFT, Q, killactive, bind = $mainMod SHIFT, Q, killactive
bind = $mainMod SHIFT, M, exit bind = $mainMod SHIFT, M, exit
bind = $mainMod, SPACE, togglefloating, bind = $mainMod, SPACE, togglefloating
bind = $mainMod, C, centerwindow bind = $mainMod, C, centerwindow
bind = $mainMod, F, fullscreen, bind = $mainMod, F, fullscreen
bind = $mainMod SHIFT, L, exec, hyprlock bind = $mainMod SHIFT, L, exec, hyprlock
bind = $mainMod $CONTROL, ESCAPE, exec, killall waybar || waybar # toggle waybar bind = $mainMod $CONTROL, ESCAPE, exec, killall waybar || waybar # toggle waybar

View File

@ -3,7 +3,7 @@ source = ~/.config/hypr/mocha.conf # Catppuccin colorscheme
# < Start Section > # < Start Section >
# monitors # monitors
monitor=WL-1, 1920x1080@144, 0x0, 1, vrr, 1 monitor= , 2560x1440@60, 0x0, 1
# < End Section > # < End Section >
@ -148,7 +148,6 @@ render {
master { master {
new_status = master new_status = master
no_gaps_when_only = 1
} }
# < End Section > # < End Section >