tileos-settings-sway/etc/skel/.config/nwg-bar/bar.json
Alexander Oakman 2be7224e32 Improve the lock screen command
Running a screensaver is a very important security feature.
It is necessary that it always works and does not depend on the
state of the user's directories, so the screensaver run-script
should be placed in the system directory.
However, the locking process remains customizable because the user
script can be used too.
2024-08-23 21:59:49 +03:00

32 lines
574 B
JSON

[
{
"label": "Lock",
"exec": "swaymsg exec /usr/share/sway/scripts/lock.sh",
"icon": "system-lock-screen"
},
{
"label": "Logout",
"exec": "swaymsg exit",
"icon": "system-log-out"
},
{
"label": "Suspend",
"exec": "systemctl suspend",
"icon": "system-suspend"
},
{
"label": "Hibernate",
"exec": "systemctl hibernate",
"icon": "system-hibernate"
},
{
"label": "Reboot",
"exec": "systemctl reboot",
"icon": "system-reboot"
},
{
"label": "Shutdown",
"exec": "systemctl -i poweroff",
"icon": "system-shutdown"
}
]