hyprland: update armory config with latest

This commit is contained in:
Trianta 2024-09-14 00:04:26 -05:00
parent 6ba930348c
commit 6f79b3b714

View File

@ -3,18 +3,8 @@ source = ~/.config/hypr/mocha.conf # Catppuccin colorscheme
# < Start Section > # < Start Section >
# monitors # monitors
# nvidia monitor=DP-1, 3440x1440@160, 1920x0, 1, vrr, 1
# Single monitor=DP-2, 1920x1080@144, 0x180, 1, vrr, 1
#monitor=DP-3, 3440x1440@160, 0x0, 1, vrr, 1, bitdepth, 8
# intel
# Single
monitor=DP-1, 3440x1440@160, 0x0, 1, vrr, 1, bitdepth, 8
#monitor=DP-2, disable
# Double
#monitor=DP-1, 3440x1440@160, 1920x0, 1, vrr, 1, bitdepth, 8
#monitor=DP-2, 1920x1080@120, 0x180, 1, vrr, 0
# < End Section > # < End Section >
@ -30,19 +20,6 @@ env = MOZ_ENABLE_WAYLAND,1
env = HYPRCURSOR_THEME, rose-pine-hyprcursor env = HYPRCURSOR_THEME, rose-pine-hyprcursor
env = HYPRCURSOR_SIZE, 24 env = HYPRCURSOR_SIZE, 24
# nvidia
#env = LIBVA_DRIVER_NAME,nvidia
#env = XDG_SESSION_TYPE,wayland
#env = GDM_BACKEND,nvidia-drm
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
# possible fnv fix?
#env = intel_btimr, false
# aquamarine
#env = AQ_TRACE, 1
#env = HYPRLAND_TRACE, 1
# < End Section > # < End Section >
@ -62,9 +39,6 @@ exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
# xrandr settings # xrandr settings
exec-once = ~/.config/hypr/scripts/xrandr.sh exec-once = ~/.config/hypr/scripts/xrandr.sh
# wayland to xwayland copy fix (text only)
#exec-once = wl-paste -t text -w xclip -selection clipboard
# background applications # background applications
exec-once = waybar -c ~/.config/waybar/config exec-once = waybar -c ~/.config/waybar/config
exec-once = dunst exec-once = dunst
@ -73,14 +47,14 @@ exec-once = syncthing --no-browser
exec-once = xwaylandvideobridge exec-once = xwaylandvideobridge
# main applications # main applications
exec-once = discord exec-once = vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland
#exec-once = dopamine exec-once = spotify
exec-once = spotify --disable-gpu exec-once = alacritty
exec-once = cool-retro-term
exec-once = firefox exec-once = firefox
#exec-once = taskset -c 1-7 steam exec-once = taskset -c 1-7 steam
#exec-once = taskset -c 1-7 gamescope -W 3200 -H 1100 -b -- steam
#exec-once = bolt # completion alert
exec-once = sleep 5 && pw-play --volume=2.0 ~/.alert/finished.mp3
# < End Section > # < End Section >
@ -91,14 +65,13 @@ exec-once = firefox
# gaps numbers (top, right, bottom, left) # gaps numbers (top, right, bottom, left)
workspace = 1, monitor:DP-1, persistent:true, default:true workspace = 1, monitor:DP-1, persistent:true, default:true
#workspace = 1, monitor:DP-1, persistent:true, gapsout:0 440 0 440, default:true workspace = 2, monitor:DP-1, persistent:true, gapsout:70 597 54 597
workspace = 2, monitor:DP-1, persistent:true, gapsout:160 756 146 756
workspace = 3, monitor:DP-1, persistent:true, gapsout:50 440 50 440 workspace = 3, monitor:DP-1, persistent:true, gapsout:50 440 50 440
workspace = 4, monitor:DP-1, persistent:true, gapsout:45 0 0 0 workspace = 4, monitor:DP-1, persistent:true
# Workspaces swapped for ease of use # Workspaces swapped for ease of use
workspace = 6, monitor:DP-1, persistent:true workspace = 6, monitor:DP-1, persistent:true
workspace = 5, monitor:DP-1, persistent:true workspace = 5, monitor:DP-2, persistent:true
# < End Section > # < End Section >
@ -109,10 +82,9 @@ workspace = 5, monitor:DP-1, persistent:true
general { general {
gaps_in = 0 gaps_in = 0
gaps_out = 8 gaps_out = 4
border_size = 3 border_size = 4
col.active_border = $peach col.active_border = $peach
#col.inactive_border = $peach
layout = dwindle layout = dwindle
resize_on_border = false resize_on_border = false
} }
@ -152,12 +124,9 @@ animations {
input { input {
kb_layout = us kb_layout = us
kb_options = caps:swapescape kb_options = caps:escape
follow_mouse = 2 follow_mouse = 2
#follow_mouse = 3
mouse_refocus = false; mouse_refocus = false;
sensitivity = -.75 # -1.0 - 1.0, 0 means no modification.
force_no_accel = 1 force_no_accel = 1
} }
@ -174,14 +143,11 @@ misc {
force_default_wallpaper = 0 force_default_wallpaper = 0
vrr = 1 vrr = 1
vfr = true vfr = true
no_direct_scanout = true middle_click_paste = false
} }
xwayland { xwayland {
# latest configuration enabled = true
# use_nearset_neighbor = true
# force_zero_scaling = true
# current configuration
use_nearest_neighbor = true use_nearest_neighbor = true
force_zero_scaling = false force_zero_scaling = false
} }
@ -195,16 +161,12 @@ cursor {
debug { debug {
disable_logs = true disable_logs = true
#disable_logs = false
} }
#device { render {
# name = opentabletdriver-virtual-tablet explicit_sync = 1
# enabled = yes explicit_sync_kms = 1
#} direct_scanout = true
experimental {
explicit_sync = true
} }
# < End Section > # < End Section >
@ -238,6 +200,8 @@ master {
# window rules # window rules
# core # core
windowrulev2 = suppressevent maximize, 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)$
@ -248,31 +212,37 @@ windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$
# main # main
windowrulev2 = workspace 1 silent, class:^(discord)$ windowrulev2 = workspace 1 silent, class:^(discord)$
windowrulev2 = workspace 1 silent, class:^(vesktop)$
windowrulev2 = workspace 1 silent, class:^(Dopamine)$ windowrulev2 = workspace 1 silent, class:^(Dopamine)$
windowrulev2 = workspace 1 silent, class:^(Spotify)$ windowrulev2 = workspace 5 silent, initialTitle:^(Spotify Premium)$
windowrulev2 = workspace 2 silent, class:^(cool-retro-term.cool-retro-term)$ windowrulev2 = workspace 2 silent, class:^(Alacritty)$
windowrulev2 = workspace 3 silent, class:^(firefox)$ windowrulev2 = workspace 3 silent, class:^(firefox)$
windowrulev2 = workspace 3 silent, class:^(firefox-nightly)$
windowrulev2 = workspace 4 silent, class:^(steam)$ windowrulev2 = workspace 4 silent, class:^(steam)$
windowrulev2 = workspace 4 silent, class:^(org.prismlauncher.PrismLauncher)$
windowrulev2 = workspace 4 silent, title:^(Minecraft.*)$ windowrulev2 = workspace 4 silent, title:^(Minecraft.*)$
windowrulev2 = workspace 4 silent, class:^(steam_app_.*)$ windowrulev2 = workspace 4 silent, class:^(steam_app_.*)$
windowrulev2 = workspace 4 silent, class:^(steam_proton)$ windowrulev2 = workspace 4 silent, class:^(steam_proton)$
windowrulev2 = workspace 4 silent, class:^(hl2_linux)$ windowrulev2 = workspace 4 silent, class:^(hl2_linux)$
windowrulev2 = workspace 4 silent, class:^(gamescope)$ windowrulev2 = workspace 4 silent, class:^(gamescope)$
windowrulev2 = workspace 5 silent, class:^(steam)$ windowrulev2 = workspace 5 silent, class:^(Bolt.*)$
windowrulev2 = workspace 6 silent, class:^(Bolt.*)$ windowrulev2 = workspace 6 silent, class:^(steam)$
# development # development
windowrulev2 = pseudo, 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 = 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
# runelite # runelite
windowrulev2 = opacity 1.00 override 1.00 override, class:^(net-runelite-client-RuneLite)$ windowrulev2 = opacity 1.00 override 1.00 override, class:^(net-runelite-client-RuneLite)$
windowrulev2 = pseudo, class:^(net-runelite-client-RuneLite)$ windowrulev2 = pseudo, class:^(net-runelite-client-RuneLite)$
@ -284,11 +254,9 @@ windowrulev2 = size 3200 1100, title:^(Minecraft.*)$
# native # native
windowrulev2 = opacity 1.00 override 1.00 override, class:^(steam_app_.*)$ windowrulev2 = opacity 1.00 override 1.00 override, class:^(steam_app_.*)$
windowrulev2 = pseudo, class:^(steam_app_.*)$ windowrulev2 = pseudo, class:^(steam_app_.*)$
#windowrulev2 = size 3200 900, class:^(steam_app_.*)$
# proton # proton
windowrulev2 = opacity 1.00 override 1.00 override, class:^(steam_proton)$ windowrulev2 = opacity 1.00 override 1.00 override, class:^(steam_proton)$
windowrulev2 = pseudo, class:^(steam_proton)$ windowrulev2 = pseudo, class:^(steam_proton)$
#windowrulev2 = size 3200 900, class:^(steam_proton)$
# hl2 (css, etc) # hl2 (css, etc)
windowrulev2 = opacity 1.00 override 1.00 override, class:^(hl2_linux)$ windowrulev2 = opacity 1.00 override 1.00 override, class:^(hl2_linux)$
# gamescope # gamescope
@ -318,13 +286,15 @@ windowrulev2 = noblur,class:^(xwaylandvideobridge)$
$mainMod = SUPER $mainMod = SUPER
# passthrough # passthrough
bind = , mouse:275, pass, ^(discord)$ #bind = , mouse:275, pass, class:^(discord)$
bind = SHIFT, mouse:275, pass, ^(discord)$ #bind = , 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, 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
@ -332,7 +302,7 @@ bind = $mainMod SHIFT, J, togglesplit, # dwindle
bind = $mainMod SHIFT, SPACE, pseudo, # dwindle bind = $mainMod SHIFT, SPACE, pseudo, # dwindle
# main application shortcuts # main application shortcuts
bind = $mainMod, RETURN, exec, cool-retro-term bind = $mainMod, RETURN, exec, alacritty
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
bind = $mainMod SHIFT, 7, exec, taskset -c 1-7 prismlauncher bind = $mainMod SHIFT, 7, exec, taskset -c 1-7 prismlauncher
bind = $mainMod, S, exec, pkill -x rofi || rofi -show drun bind = $mainMod, S, exec, pkill -x rofi || rofi -show drun