Add desktop entries for power management

This commit is contained in:
Edgar P. Burkhart 2023-05-16 11:42:20 +02:00
parent 059606a01a
commit 9c26ec8a3d
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
4 changed files with 22 additions and 0 deletions

4
src/Desktop/README.md Normal file
View file

@ -0,0 +1,4 @@
# Desktop entries
<https://wiki.archlinux.org/title/Desktop_entries>
Install to `~/.local/share/applications/`.

View file

@ -0,0 +1,6 @@
[Desktop Entry]
Type=Application
Name=Reboot
Comment=Reboot the computer
Icon=system-reboot-symbolic
Exec=/usr/bin/reboot

View file

@ -0,0 +1,6 @@
[Desktop Entry]
Type=Application
Name=Shutdown
Comment=Shutdown the computer
Icon=system-shutdown-symbolic
Exec=/usr/bin/shutdown now

6
src/Desktop/uefi.desktop Normal file
View file

@ -0,0 +1,6 @@
[Desktop Entry]
Type=Application
Name=UEFI
Comment=Reboot to UEFI
Icon=system-run-symbolic
Exec=/usr/bin/systemctl reboot --firmware-setup