fix vesktop stuff

This commit is contained in:
askiiart 2024-03-06 20:18:13 -06:00
parent 93a12833fa
commit 5ae229da31
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
52 changed files with 148 additions and 82 deletions

View file

@ -18,7 +18,7 @@ set $term kitty
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $menu j4-dmenu-desktop | xargs swaymsg exec --
set $menu rofi -show drun | xargs swaymsg exec --
##### Custom stuff #####
for_window [window_role="pop-up"] floating enable

View file

@ -42,7 +42,8 @@ for_window [title="^Steam Keyboard$"] floating enable
for_window [class="Minecraft.*"] floating enable
# other execs
exec --no-startup-id swaync
exec /home/askiiart/.config/sway/dbus-sway-environment.sh
exec swaync
# polkit
exec --no-startup-id lxqt-policykit-agent

4
sway/dbus-sway-environment.sh Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env sh
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
systemctl --user stop pipewire pipewire-media-session xdg-desktop-portal xdg-desktop-portal-wlr
systemctl --user start pipewire pipewire-media-session xdg-desktop-portal xdg-desktop-portal-wlr