powermenu logout
This commit is contained in:
parent
32bd6551e9
commit
0a4f785a04
1 changed files with 2 additions and 0 deletions
|
|
@ -78,6 +78,8 @@ run_cmd() {
|
||||||
i3-msg exit
|
i3-msg exit
|
||||||
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
|
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
|
||||||
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
|
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
|
||||||
|
elif [[ "$DESKTOP_SESSION" == 'hyprland' ]]; then
|
||||||
|
hyprctl dispatch exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue