import QtQuick
import Quickshell

ShellRoot {
	WLogout {
		LogoutButton {
			command: Quickshell.env("HOME") + "/.config/quickshell/modules/wlogout/scripts/lock.sh"
			keybind: Qt.Key_L
			text: "Lock"
			icon: "lock"
			icon_text: ""
		}

		LogoutButton {
			command: Quickshell.env("HOME") + "/.config/quickshell/modules/wlogout/scripts/logout.sh"
			keybind: Qt.Key_E
			text: "Logout"
			icon: "logout"
			icon_text: "󰗽"
		}

		LogoutButton {
			command: Quickshell.env("HOME") + "/.config/quickshell/modules/wlogout/scripts/suspend.sh"
			keybind: Qt.Key_U
			text: "Suspend"
			icon: "suspend"
			icon_text: ""
		}

		LogoutButton {
			command: Quickshell.env("HOME") + "/.config/quickshell/modules/wlogout/scripts/hibernate.sh"
			keybind: Qt.Key_H
			text: "Hibernate"
			icon: "hibernate"
			icon_text: "󰰂"
		}

		LogoutButton {
			command: Quickshell.env("HOME") + "/.config/quickshell/modules/wlogout/scripts/shutdown.sh"
			keybind: Qt.Key_K
			text: "Shutdown"
			icon: "shutdown"
			icon_text: "⏻"
		}

		LogoutButton {
			command: Quickshell.env("HOME") + "/.config/quickshell/modules/wlogout/scripts/reboot.sh"
			keybind: Qt.Key_R
			text: "Reboot"
			icon: "reboot"
			icon_text: "󰜉 "
		}
	}
}
