Add wlogout and wlsunset.

This commit is contained in:
Tom Alexander 2022-11-29 03:03:18 -05:00
parent 64ed4c42b9
commit 971e4b54ec
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
5 changed files with 7 additions and 1 deletions

View File

@ -9,3 +9,5 @@ default_sway_conf_files:
- notifications - notifications
- disable_focus_follows_mouse - disable_focus_follows_mouse
- lockscreen - lockscreen
- logout
- screen_tint

View File

@ -14,7 +14,7 @@ fi
# Enable wayland support for firefox # Enable wayland support for firefox
export MOZ_ENABLE_WAYLAND=1 export MOZ_ENABLE_WAYLAND=1
# Wayland seems enabled by default for qt5 with qt5-wayland installed # Wayland seems enabled by default for qt5 with qt5-wayland installed but if a proprietary program bundles their own qt then I may have to set QT_QPA_PLATFORM="wayland;xcb"
# Wayland does not seem enabled for gtk apps and setting GDK_BACKEND=wayland did not change that. # Wayland does not seem enabled for gtk apps and setting GDK_BACKEND=wayland did not change that.
exec dbus-launch sway -d &> $HOME/.config/swaylog exec dbus-launch sway -d &> $HOME/.config/swaylog

View File

@ -0,0 +1 @@
bindsym $mod+Backspace exec wlogout

View File

@ -0,0 +1 @@
exec wlsunset -l 40.6 -L 73.9

View File

@ -24,6 +24,8 @@
- lumina-fm - lumina-fm
- jq - jq
- wev # For debugging input - wev # For debugging input
- wlogout # Log out prompt
- wlsunset # Change screen color at night
state: present state: present
- name: Install service configuration - name: Install service configuration