Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Set an Espanso global variable for the system "HOME" directory, regardless of OS
- # to avoid the need to use `filter_os:`, as Espanso can only use ONE app-specific
- # configuration at a time.
- # Requires Python
- global_vars:
- - name: home
- type: script
- params:
- args: [python, -c, print(__import__('os').path.expanduser('~'))]
- - trigger: :home
- replace: "{{home}}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement