diff --git a/README.md b/README.md index 854767c..c8690c8 100644 --- a/README.md +++ b/README.md @@ -7,16 +7,17 @@ Either only download `rofi-yubikey.sh`, or clone the entire repository (`git clo Once you have the script on your computer, move it to wherever you desire. I personally use, and recommend `~/.local/bin/rofi-yubikey.sh`. -After that, simply execute the script. For example, if you placed the script in `~/.local/bin/rofi-yubikey.sh`, you could run any of the below commands: +After that, simply execute the script. For example, if you placed the script in `~/.local/bin/rofi-yubikey.sh`, you could run any of the following commands: - `sh ~/.local/bin/rofi-yubikey.sh` - `bash ~/.local/bin/rofi-yubikey.sh` - `~/.local/bin/rofi-yubikey.sh` + (only pick one!) # Integration with Window Managers **Note: I will only be documenting XMonad, because I cannot guarantee the validity of my advice regarding different window managers.** -If you are using XMonad, you likely already know how to set custom keybinds. Simply make a keybind run the script. +If you are using XMonad, you likely already know how to set custom keybindings. Simply make a keybinding run the script. However, if you are unfamiliar, this is how I do it: 1. Import `EZConfig`: @@ -33,9 +34,10 @@ defaults = def { ``` 2.a. Make sure `defaults` is being used -Add `defaults` to `main = ...` -For example: +Add `defaults` to `main = ...` + +For example: ``` haskell main :: IO() main = xmonad . $ defaults