So I have Tasker and I’m a total novice with it.

I’d like to create a simple task that shows the auto-rotate icon in my status bar when auto-rotate is on. Then when it’s turned back off, make the icon disappear.

Any help would be greatly appreciated!

  • Wistful@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    I think the only way to show the icon on the status bar with tasker is using the notification (notify task) and giving it an icon.

         Profile: Detect Auto-rotation setting change
        	Event: Custom Setting [ Type:System Name:accelerometer_rotation Value:* ]
        
        
        
        Enter Task: Un-notify if autorotate off
        
        A1: Custom Setting [
             Type: System
             Name: accelerometer_rotation
             Read Setting To: %arstat ]
        
        A2: Notify Cancel [
             Title: ar ]
            If  [ %arstat ~ 0 ]
        
        A3: Notify [
             Title: ar
             Icon: mw_device_screen_rotation
             Number: 0
             Priority: 3
             LED Colour: Red
             LED Rate: 0 ]
            If  [ %arstat ~ 1 ]
        
           
    

    You can set the notification to silent.