Giter Site home page Giter Site logo

rodrigobdz / alfred-swap-user-workflow Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 0.0 140 KB

Alfred Workflow: Swaps Mac Users

Home Page: http://www.packal.org/workflow/swap-user

License: MIT License

Shell 100.00%
alfred alfred-workflow alfred3-workflow bash mac system user

alfred-swap-user-workflow's Introduction

Welcome 👋

  • 🔭 I'm a Computer Scientist specializing in enabling human-centered AI research.
  • 🌱 I'm into plants, mostly aeroids and hoyas, and natural languages.

💼 Experience:

📚 Education:

  • 🎓 M.Sc. in Computer Science (CogSys track), Technische Universität Berlin, Germany
  • Exchange Student, École polytechnique fédérale de Lausanne (EPFL), Switzerland
    • Awards: Swiss-European Mobility Programme Scholarship
  • 🎓 B.Sc. in Computer Science, Technische Universität Berlin, Germany

🔎 Find me on:

alfred-swap-user-workflow's People

Contributors

rodrigobdz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

alfred-swap-user-workflow's Issues

No such file or directory

Tested out the script included in the workflow and it gives a "no such file or directory error"

CURRENT_USER_ID="$(whoami | id -u)"
USERS="$(dscacheutil -q user | grep -e 5'[0-9][0-2'])"
USER_IDS="$(echo "$USERS" | awk '{print $2}')"
NEXT_USER_ID="$(echo "$USER_IDS" | grep -v $CURRENT_USER_ID)"

/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -switchToUserID $NEXT_USER_ID
zsh: no such file or directory: /System/Library/CoreServices/Menu Extras/User.menu/Contents/Resources/CGSession

System Version: macOS 11.6 (20G165)
Kernel Version: Darwin 20.6.0

Alfred Version: 4.6[1266]

I followed the directory structure and get up to Menu Extras. User.menu does not exist on my system.

No longer functioning in Big Sur

Great utility - just what I was looking for :)

Some things appear to have moved around with Big Sur. The "User.menu" part of the path on the last line does not exist any more.

Any idea where this is located now?

Many thanks,
Steve

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.