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!

  • SolidGrue@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    5 months ago

    I also mainly don’t use screen Auto Rotate, but I did make it a tile on the window shade. Rather than toggle it manually, I have Tasker enable rotation when an app that I want to auto-rotate is active on the screen, and disable it when that app is not active.

    It doesn’t put anything up on the status bar, but if you can live without it knowing only certain apps do it, maybe it doesn’t matter.

        Profile: Auto-rotate Apps
        Settings: Restore: yes
        	Application: Sky Map, Camera, Gallery...
        
        
        
        Enter Task: Enable Auto-rotate
        
        A1: Display AutoRotate [
             Set: On ]
            If  [ %ROTATE_APP_LOCK Set ]
        
        A2: Variable Clear [
             Name: %ROTATE_APP_LOCK ]
        
        
        
        Exit Task: Disable Auto-rotate
        
        A1: Variable Set [
             Name: %ROTATE_APP_LOCK
             To: 1 ]
            If  [ %ROTATE_APP_LOCK !Set ]
        
        A2: Display AutoRotate [ ]