Commit Graph
2 Commits
Author SHA1 Message Date
Kipras MelnikovasandGitHub cd5b32c591 fix the "tap-to-click" enabler
1. We need them quotes (`"`) where they are specified in the `40-libinput.conf` file, but if you use `echo` and echo surround the output string itself with the double quotes (`"`), the ones inside it will get removed. fixed.

pretty lucky that I just happened to be a part of the convo in https://github.com/LukeSmithxyz/LARBS/issues/118 to get a notification & thus notice & try out https://github.com/LukeSmithxyz/LARBS/commit/1d8b03595abbff088d79c0dc22d3e43b128dcb97 - Xorg reported an error and couldn't launch i3, so here we are:D

2. (misc since it doesn't matter as much here but anyhow) `echo` shouldn't be used in any scripts anyway because it's unpredictable, and `printf` should be preferred (imo, anyway. Just mind that you there's no extra newline so if you need one/expected one from echo - add it yourself):

```sh
# unpredictable echo (with newline by default, though not always)
$ echo "omg larbs so kewl"
omg larbs so kewl
$
```

```sh
# predictable printf without a newline by default
$ printf "omg larbs so kewl"
omg larbs so kewl $
```

```sh
# predictable printf with a newline because you said so
$ printf "omg larbs so kewl\n"
omg larbs so kewl
$
```

take care!
2020-10-12 19:35:19 +03:00
Kipras Melnikovas 40c3a5bdd0 Make git ignore deleted LICENSE & README.md files
Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
2020-04-25 15:19:34 +00:00