# ____ ____ _____ _ # / ___| _ \| ___| __ ___(_)_ __ ___ # | | _| |_) | |_ | '__/ _ \ | '__/ _ \ Guilherme Rugai Freire # | |_| | _ <| _|| | | __/ | | | __/ https://grfreire.com # \____|_| \_\_| |_| \___|_|_| \___| https://github.com/GRFreire # matches: # Simple text replacement - trigger: ":espanso" replace: "Hi there!" # Dates - trigger: ":date" replace: "{{date}}" vars: - name: date type: date params: format: "%m/%d/%Y" - trigger: ":routerip" replace: "{{output}}" vars: - name: output type: shell params: cmd: "ip route | awk '/default/{print $3; exit}'"