diff --git a/users/profiles/desktop/bin/powermenu b/users/profiles/desktop/bin/powermenu index 001c14a4..5846b2a2 100755 --- a/users/profiles/desktop/bin/powermenu +++ b/users/profiles/desktop/bin/powermenu @@ -11,7 +11,7 @@ log_out="\tLogout" # Variable passed to rofi options="$power_off\n$reboot\n$lock\n$suspend\n$log_out" -case "$(echo -e "$options" | $rofi_command -dmenu -selected-row 2)" in +case "$(echo -e "$options" | $rofi_command -dmenu)" in " Shutdown") systemctl poweroff ;; @@ -19,7 +19,7 @@ case "$(echo -e "$options" | $rofi_command -dmenu -selected-row 2)" in systemctl reboot ;; " Lock") - zzz # TODO doesn't do anything + dm-tool lock ;; "鈴 Sleep") dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause