Skip to content

Commit

Permalink
[fix] Indentation in swhkd.5.scd
Browse files Browse the repository at this point in the history
  • Loading branch information
newtoallofthis123 committed Oct 10, 2024
1 parent 1b5af79 commit 1b53294
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions docs/swhkd.5.scd
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ swhkd - Hotkey daemon inspired by sxhkd written in Rust

# CONFIG FILE

- A global config can be defined in *~/.config/swhkd/swhkdrc*, with a
fallback to */etc/swhkd/swhkdrc*. Swhkd attempts to look in your *$XDG_CONFIG_HOME*, failing which it defaults to *~/.config*.
- A local config overrides the global one. Local configs should be placed in the root of the project.
- The config file can also be specified with the *-c* flag.
- A global config can be defined in *~/.config/swhkd/swhkdrc*, with a
fallback to */etc/swhkd/swhkdrc*. Swhkd attempts to look in your *$XDG_CONFIG_HOME*, failing which it defaults to *~/.config*.
- A local config overrides the global one. Local configs should be placed in the root of the project.
- The config file can also be specified with the *-c* flag.

# ENVIRONMENT

- The environment variables are now sourced using the SWHKS binary, running in the background.
- The environment variables are then supplemented to the command that is to be run, thus emulating the
environment variables in the default shell.
- The commands are executed via *SHELL -c 'command'*, hence the environment is sourced from the default shell.
- If the user wants to use a different set of environment variables, they can set the environment variables
in the default shell or export the environment variables within a logged in instance of their shell before
running the SWHKS binary.
- The environment variables are now sourced using the SWHKS binary, running in the background.
- The environment variables are then supplemented to the command that is to be run, thus emulating the
environment variables in the default shell.
- The commands are executed via *SHELL -c 'command'*, hence the environment is sourced from the default shell.
- If the user wants to use a different set of environment variables, they can set the environment variables
in the default shell or export the environment variables within a logged in instance of their shell before
running the SWHKS binary.

# SYNTAX

Expand Down

0 comments on commit 1b53294

Please sign in to comment.