Skip to content

andybrown668/strongdm-gnome-shell-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strongdm-gnome-shell-extension

Control existing StrongDM client (sdm).

  • see status of resources (scraped from sdm status)
  • disconnect all resources (sdm disconnect --all)
  • disconnect a single resource (sdm disconnect [resource])
  • open an ssh connection to a connected resource (sdm ssh [resource])
  • open a website resource with your default browser

Installation

Developing

  • clone this repo directly into ~/.local/share/gnome-shell/extensions/strongdm@andybrown668.github.com after deleting the contents of that folder
  • watch the gnome-shell logs - journalctl -f -o cat /usr/bin/gnome-shell
  • restart gnome shell to see your changes = alt-F2 r

Limitations:

  • extension assumes the sdm client is logged in, and provides no login/logout functionality
  • command line interactions with sdm are only detected once a minute - until then the menu can be inaccurate

Future:

  • use sdm status Tags to layout the menu structure
  • convince StrongDM to add an option - sdm status --json --watch - to return a json stream of status
  • get a fancy panel icon from StrongDM

StrongDM - https://www.strongdm.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published