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! # You get a wayland, and you get a wayland. Everybody get's a wayland!
# set -x MOZ_ENABLE_WAYLAND 1 # set -x MOZ_ENABLE_WAYLAND 1
set -x CLUTTER_BACKEND wayland # set -x CLUTTER_BACKEND wayland
set -x QT_QPA_PLATFORM wayland-egl # set -x QT_QPA_PLATFORM wayland-egl
set -x ECORE_EVAS_ENGINE wayland-egl # set -x ECORE_EVAS_ENGINE wayland-egl
set -x ELM_ENGINE wayland_egl # set -x ELM_ENGINE wayland_egl
set -x SDL_VIDEODRIVER wayland # set -x SDL_VIDEODRIVER wayland
set -x _JAVA_AWT_WM_NONREPARENTING 1 # set -x _JAVA_AWT_WM_NONREPARENTING 1
set -x NO_AT_BRIDGE 1 # set -x NO_AT_BRIDGE 1
# Hardware acceleration # Hardware acceleration
set -x MOZ_DISABLE_RDD_SANDBOX 1 set -x MOZ_DISABLE_RDD_SANDBOX 1

View File

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

View File

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