From 5ce219d998e4b1ea55e0d2f39fd04fb231f0bbf0 Mon Sep 17 00:00:00 2001 From: assada Date: Wed, 15 May 2024 00:09:23 +0300 Subject: [PATCH] fix screensharing --- README.md | 4 +--- sway/autostart | 12 ++++++------ sway/config | 4 ++-- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index ed315cd..46f9246 100644 --- a/README.md +++ b/README.md @@ -29,12 +29,10 @@ Debian 12 (stable) + Wayland 1.20 + Gnome - nvim (Astro) - btop - mc +- dex (autostart) ## Screenshots ![image](https://github.com/assada/dotfiles/assets/1472664/673370c5-1ae3-4424-a751-cb2ff1b96f34) ![image](https://github.com/assada/dotfiles/assets/1472664/0b312383-6b25-46c4-a8b6-6db7c22634b0) ![image](https://github.com/assada/dotfiles/assets/1472664/ee48f685-d143-4b82-a5b6-214ea698a82b) - -- swayidle -- swaylock diff --git a/sway/autostart b/sway/autostart index 4d471ba..3a594b1 100644 --- a/sway/autostart +++ b/sway/autostart @@ -1,13 +1,15 @@ # Notifications exec mako -exec systemctl --user import-environment -#exec systemctl --user import-environment PATH DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP +exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK + exec dbus-update-activation-environment 2>/dev/null && \ - dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway + dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway -exec_always dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway +# Autostart +#exec dex -a -s /etc/xdg/autostart/:~/.config/autostart/ +exec_always /usr/libexec/xdg-desktop-portal exec_always systemctl --user start xdg-desktop-portal-wlr.service exec --no-startup-id ~/.config/sway/scripts/start_keyring @@ -21,8 +23,6 @@ exec tail -f $SWAYSOCK.wob | wob # Network Manager Applet exec nm-applet --indicator -exec /usr/libexec/xdg-desktop-portal - exec_always swayrd exec_always ~/.config/sway/scripts/statusbar diff --git a/sway/config b/sway/config index 4c987b2..63ab79c 100644 --- a/sway/config +++ b/sway/config @@ -1,8 +1,8 @@ ## UT3USW Sway Configuration based on Hypr exec_always { - gsettings set org.gnome.desktop.interface text-scaling-factor 1.33 - gsettings set org.gnome.desktop.interface cursor-size 32 + gsettings set org.gnome.desktop.interface text-scaling-factor 1.1 + gsettings set org.gnome.desktop.interface cursor-size 24 } set $foot ~/.config/hypr/scripts/terminal