mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-22 18:52:46 +01:00
bash/usr-local-bin/startsway: we are running sway, not Unity
Apparently this isn't necessary since 2020 https://github.com/Alexays/Waybar/issues/21#issuecomment-635283506
This commit is contained in:
parent
b5ad053a4c
commit
bca2fb3eb5
@ -5,6 +5,15 @@
|
||||
|
||||
set -x
|
||||
|
||||
# As this script is kind of login manager and upstream wants to externalize
|
||||
# the task of telling Sway is used to it, https://github.com/swaywm/sway/pull/4876#issuecomment-570790128
|
||||
# This seems to be required by Firefox and many others.
|
||||
# Don't listen to Wayber claiming this should be "Unity"
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
# https://github.com/flameshot-org/flameshot/blob/master/docs/Sway%20and%20wlroots%20support.md
|
||||
# mentions this
|
||||
export XDG_SESSION_DESKTOP=sway
|
||||
|
||||
# Using fcitx
|
||||
export XMODIFIERS=@im=fcitx
|
||||
export GTK_IM_MODULE="fcitx"
|
||||
@ -21,8 +30,5 @@ export SDL_VIDEODRIVER=wayland
|
||||
# Mozilla Products
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
|
||||
# Waybar states: [warning] For a functional tray you must have libappindicator-* installed and export XDG_CURRENT_DESKTOP=Unity
|
||||
export XDG_CURRENT_DESKTOP=Unity
|
||||
|
||||
dbus-launch --exit-with-session sway --unsupported-gpu $@
|
||||
set +x
|
||||
|
Loading…
Reference in New Issue
Block a user