Commit Graph

13 Commits

Author SHA1 Message Date
Érico Rolim e3f61dde74 Update utilities.
- spd: remove exec
- git-merge-pr: update commit
- depgraph: update supported flags
- lessg: add command
2020-07-07 19:03:26 -03:00
Érico Rolim fed9677104 sshfs-map: fix segfaults under musl.
- line and line_size should be reset each loop, otherwise getline() will
use a freed memory address. This worked under glibc, but broke under
musl for some reason. More specifically, it would segfault when running
setmntent for the second time.

- General clean-up: is_mounted checks shouldn't call continue, otherwise
they will skip the clean-up routines. This would be a memory leak, but
not a functionality issue. The calls to continue were probably the
reason that the program didn't segfault when running for a consecutive
time, after the first map had already been mounted.

- Move printf calls to outside fork block.
2020-07-07 17:35:21 -03:00
Érico Rolim 827ad9943c sourcecode: udpate building stuff.
- Remove `set -x` from install.sh
- Add cflags to Makefile
2020-07-07 17:34:18 -03:00
Érico Rolim 4814241720 Add small projects as submodules, revamp install.sh
- Add configuration vars and whatnot.
- Add submodules for hugo.el and git-merge-pr.
2020-06-22 02:08:46 -03:00
Érico Rolim 4f47661740 Create install.sh for sourcecode/ 2020-06-03 14:32:51 -03:00
Érico Rolim 9030040f41 Check if (un)mounted in sshfs-map. 2020-06-03 14:31:41 -03:00
Érico Rolim 4c7f8b18f6 Support empty lines and comments in sshfs-map. 2020-06-03 13:59:48 -03:00
Érico Rolim d2e04eccf4 Create sshfs-map. 2020-06-03 13:50:50 -03:00
Érico Rolim 2ef5ef25e5 Set up keyboard layout for all inputs, switch layout for all inputs in keyboard switcher.
Run go fmt on the source code.
2020-01-24 17:37:47 -03:00
Érico Rolim 491c2c7b0e Reorganize Go programs inside sourcecode/. 2019-12-08 22:07:59 -03:00
Érico Rolim 9d056e96aa Correct Makefile for proper bin path. Use better GOBIN directory. 2019-12-08 21:32:51 -03:00
Érico Rolim e335d0ad6d Add keyboard_layout_switcher program, use it for click action on waybar and as bindsym. 2019-09-09 13:42:13 -03:00
Érico Rolim 67b11726e3 Vendor the lnch executable, that makes the launcher possible. 2019-09-09 01:47:40 -03:00