From b26c19ba5cdaa503e6ca2ed374356595fb69f248 Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Mon, 21 Jul 2025 18:20:14 +0530 Subject: [PATCH] chore: update sway stuff --- .winitrc | 4 +++- sway/config | 20 ++++++++++++-------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.winitrc b/.winitrc index 9a31ecc..ebf02ea 100755 --- a/.winitrc +++ b/.winitrc @@ -28,7 +28,7 @@ export XDG_SESSION_DESKTOP=Sway export WLR_NO_HARDWARE_CURSORS=1 # for electron apps -export ELECTRON_OZONE_PLATFORM_HINT=wayland +#export ELECTRON_OZONE_PLATFORM_HINT=wayland # fix for slow loads on igpu-only mode # @@ -58,3 +58,5 @@ export SSH_AUTH_SOCK #export WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0 #export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json:/usr/share/glvnd/egl_vendor.d/50_mesa.json sway --unsupported-gpu + +systemctl --user stop sunshine diff --git a/sway/config b/sway/config index 2b20ef6..ea584cf 100644 --- a/sway/config +++ b/sway/config @@ -4,7 +4,7 @@ output eDP-1 { mode 1920x1080@144.003Hz #scale 1.0 adaptive_sync on - #pos 0 0 + pos 0 0 } output DP-1 { @@ -30,13 +30,14 @@ output HDMI-A-2 { disable } -#virtual output -output HEADLESS-1 { - disable - pos 0 1440 - mode 2560x1600 - scale 1.5 -} +# virtual output, disabled by default +#exec swaymsg create_output +#output HEADLESS-1 { +# mode 1920x1200 +# pos 1920 0 +#} +# +#exec systemctl --user start sunshine # set mouse input type:pointer { @@ -73,6 +74,9 @@ exec_always { # polkit exec /usr/bin/lxpolkit +# easy-effects for speakers +exec /usr/bin/flatpak run --command=easyeffects com.github.wwmm.easyeffects --gapplication-service + # set mod to super set $mod Mod4