import { execAsync } from 'astal'; import { Astal } from 'astal/gtk3'; import { hyprMessage } from '../../lib'; import PopupWindow from '../misc/popup-window'; const PowermenuWidget = () => ( execAsync(['systemctl', 'poweroff']).catch(print)} > execAsync(['systemctl', 'reboot']).catch(print)} > hyprMessage('dispatch exit').catch(print)} > ); export default () => ( );