Documentation ¶
Index ¶
- func Calculate(i map[string]any) map[string]any
- func CliboardCopy(i map[string]any) map[string]any
- func CliboardCopySelfDestruct(i map[string]any) map[string]any
- func Empty(i map[string]any) map[string]any
- func FileOpen(i map[string]any) map[string]any
- func FolderCreate(i map[string]any) map[string]any
- func GetClipboard(i map[string]any) map[string]any
- func GetUserAndHost(i map[string]any) map[string]any
- func GetWifiState(i map[string]any) map[string]any
- func Notification(i map[string]any) map[string]any
- func QrEncode(i map[string]any) map[string]any
- func Stop(i map[string]any) map[string]any
- func Wifi(i map[string]any) map[string]any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Calculate ¶
Get current user and host name Arguments: - expression: string Returns: - result: string
func CliboardCopy ¶
Copy text to clipboard Arguments: - text: string - text to copy Returns: none
func CliboardCopySelfDestruct ¶
Copy text to clipboard and delete it again after certain amount of time. Arguments: - text: string - text to copy
- timeout: int - clear clipboard after so many seconds
Returns: none
func FileOpen ¶
Opens a file in the default application. Arguments: - file: string Returns: - file: string - file opened
func FolderCreate ¶
Creates a folder. Arguments: folder: string Returns: - folder: string
func GetClipboard ¶
Get data from clipboard. Arguments: none Returns: - text: string - text from clipboard
func GetUserAndHost ¶
Get current user and host name Arguments: none Returns: - username: string - hostname: string
func GetWifiState ¶
Get wifi state Arguments: none Returns: - wifi-on: string
func Notification ¶
Sends a desktop notification. Arguments: - [title: string] - [body: string] - [icon: string]
func QrEncode ¶
Generates a QR code from procided string. Arguments: - data: string Returns: - data: string - original data - file: string - file where the qr code was saved
Types ¶
This section is empty.