diff --git a/chat/profanity.md b/chat/profanity.md index c35c0db..9b1e534 100644 --- a/chat/profanity.md +++ b/chat/profanity.md @@ -2,12 +2,13 @@ title: "profanity" tags: [ "chat", "omemo" ] --- + # Setup (Commands) Sign up to an account somewhere. ``` -/connect bob@bobserver.org +/connect ${name}@${host} ``` Check if someone wants to be your friend: @@ -19,13 +20,13 @@ Check if someone wants to be your friend: Accept a friend's subscription request: ``` -/sub add alice@aliceserver.org +/sub add ${name}@${host} ``` Join a room: ``` -/join room1@bobserver.org +/join ${room}@${host} ``` Save your configuration so you don't have to do this again: @@ -41,11 +42,11 @@ Check your `~/.config/profanity/profrc` for how to data's saved. To automatically sign in, add your password to [pass](../data/pass.md). ``` -/account set *malin@oosm.org* eval_password pass *xmpp* +/account set ${name}@${host} eval_password pass *xmpp* ``` ``` -/autoconnect set *malin@oosm.org* +/autoconnect set ${name}@${host}} ``` ``` @@ -59,7 +60,7 @@ Remember to save the config for other commands too. ## Messages ``` -/msg alice@aliceserver.org +/msg ${name}@${host}} ``` This opens in a new tab. @@ -96,7 +97,7 @@ Tell it how to save files: Then get the file with: ``` -/urlsave ** +/urlsave ``` Same for `/urlopen` @@ -140,5 +141,3 @@ You can ensure omemo automatcally turns on: ``` /omemo policy automatic ``` ---- - diff --git a/chat/profanity_automation.md b/chat/profanity_automation.md new file mode 100644 index 0000000..d587b59 --- /dev/null +++ b/chat/profanity_automation.md @@ -0,0 +1,12 @@ +--- +title: "profanity automation" +tags: [ "chat", "omemo" ] +requires: [ "profanity" ] +--- + +Automate profanity with `--cmd`. + + +```sh +profanity --cmd /foo --cmd "/sleep 10" --cmd /quit +```