fix lock being broken
This commit is contained in:
		
							parent
							
								
									baa0fdbc1a
								
							
						
					
					
						commit
						105984b012
					
				|  | @ -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 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue