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 >
@ -50,7 +50,7 @@ exec-once = xwaylandvideobridge
# main applications # main applications
exec-once = vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland exec-once = vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland
exec-once = spotify exec-once = spotify
exec-once = alacritty exec-once = alacritty
exec-once = firefox exec-once = firefox
#exec-once = bolt #exec-once = bolt
exec-once = taskset -c 1-7 steam exec-once = taskset -c 1-7 steam
@ -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 >
@ -177,10 +177,10 @@ render {
# < Start Section > # < Start Section >
# 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)$
@ -223,21 +223,21 @@ windowrulev2 = workspace 4 silent, class:^(dota2)$
windowrulev2 = workspace 4 silent, class:^(gamescope)$ windowrulev2 = workspace 4 silent, class:^(gamescope)$
windowrulev2 = workspace 5 silent, class:^(Bolt.*)$ windowrulev2 = workspace 5 silent, class:^(Bolt.*)$
windowrulev2 = workspace 5 silent, class:^(net-runelite-client-RuneLite)$ windowrulev2 = workspace 5 silent, class:^(net-runelite-client-RuneLite)$
windowrulev2 = workspace 6 silent, class:^(steam)$ windowrulev2 = workspace 6 silent, class:^(steam)$
# development # development
windowrulev2 = float, title:^(SnakePlusPlus)$ windowrulev2 = float, title:^(SnakePlusPlus)$
windowrulev2 = center, title:^(SnakePlusPlus)$ windowrulev2 = center, title:^(SnakePlusPlus)$
windowrulev2 = opacity 0.4, title:^(SnakePlusPlus)$ windowrulev2 = opacity 0.4, title:^(SnakePlusPlus)$
windowrulev2 = float, title:^(TetrisPlusPlus)$ windowrulev2 = float, title:^(TetrisPlusPlus)$
windowrulev2 = center, title:^(TetrisPlusPlus)$ windowrulev2 = center, title:^(TetrisPlusPlus)$
windowrulev2 = workspace 4 silent, class:^(aquamarine)$ windowrulev2 = workspace 4 silent, class:^(aquamarine)$
windowrulev2 = fullscreen, class:^(aquamarine)$ windowrulev2 = fullscreen, class:^(aquamarine)$
# games # games
# 16:9 windowed - 1920 1080 # 16:9 windowed - 1920 1080
# 21:9 windowed - 2560 1080 # 21:9 windowed - 2560 1080
# 32:9 windowed - 3200 900 # 32:9 windowed - 3200 900
# theoretical mix - 3200 1100 # theoretical mix - 3200 1100
# alternative - 2660 1140 # alternative - 2660 1140
# runelite # runelite
@ -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
@ -303,9 +303,9 @@ bind = $mainMod, S, exec, pkill -x rofi || rofi -show drun
# generic audio control # generic audio control
binde = , XF86AudioPlay, exec, playerctl play-pause binde = , XF86AudioPlay, exec, playerctl play-pause
binde = , XF86AudioStop, exec, playerctl stop binde = , XF86AudioStop, exec, playerctl stop
binde = , XF86AudioPrev, exec, playerctl previous 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 = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
binde = , XF86AudioRaiseVolume, 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 # custom audio control
binde = $mainMod, F1, exec, playerctl play-pause binde = $mainMod, F1, exec, playerctl play-pause
binde = $mainMod, F2, exec, playerctl previous 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, h, movefocus, l
bind = $mainMod, l, movefocus, r bind = $mainMod, l, movefocus, r
bind = $mainMod, k, movefocus, u bind = $mainMod, k, movefocus, u

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 >