sway: fix suspending

This commit is contained in:
lelgenio 2022-02-16 20:38:58 -03:00
parent bfcd21e3b4
commit 2ce3948a15
3 changed files with 13 additions and 11 deletions

View File

@ -12,13 +12,13 @@ function esway
# You get a wayland, and you get a wayland. Everybody get's a wayland!
# set -x MOZ_ENABLE_WAYLAND 1
set -x CLUTTER_BACKEND wayland
set -x QT_QPA_PLATFORM wayland-egl
set -x ECORE_EVAS_ENGINE wayland-egl
set -x ELM_ENGINE wayland_egl
set -x SDL_VIDEODRIVER wayland
set -x _JAVA_AWT_WM_NONREPARENTING 1
set -x NO_AT_BRIDGE 1
# set -x CLUTTER_BACKEND wayland
# set -x QT_QPA_PLATFORM wayland-egl
# set -x ECORE_EVAS_ENGINE wayland-egl
# set -x ELM_ENGINE wayland_egl
# set -x SDL_VIDEODRIVER wayland
# set -x _JAVA_AWT_WM_NONREPARENTING 1
# set -x NO_AT_BRIDGE 1
# Hardware acceleration
set -x MOZ_DISABLE_RDD_SANDBOX 1

View File

@ -1,7 +1,7 @@
#!/bin/sh
swaylock
swaylock -f
loginctl suspend
systemctl suspend
sudo -A zzz
loginctl suspend &
systemctl suspend &
sudo -A zzz &

View File

@ -87,6 +87,7 @@
"format-icons": ["", "", "", "", "", ""]
},
"network": {
"interval": 5,
"tooltip":false,
"on-click": "terminal iwd",
"format-wifi": "{icon}",
@ -107,6 +108,7 @@
"tooltip-format": "{}"
},
"pulseaudio": {
"interval": 5,
"tooltip":false,
"scroll-step": 10,
"format": "{icon}",