Commit Graph

231 Commits

Author SHA1 Message Date
Érico Rolim a41e3a5d71 utils: create otp client.
It opens an encrypted file, gets otp information from it, and generates
a token. Depends on quite a few things.
2020-09-01 01:02:08 -03:00
Érico Rolim 57da889f82 sourcecode: add AES file encoder/decoder.
Uses CBC with 8 char password.
2020-09-01 01:02:08 -03:00
Érico Rolim 18cbf06cd4 enter-chroot: use strlcat instead of strncat.
This assumes running environment is musl. Mistake pointed out by duncaen.
2020-09-01 01:01:51 -03:00
Érico Rolim 937e1b8e82 sourcecode: simplify makefiles. 2020-09-01 00:20:19 -03:00
Érico Rolim fe79487522 Move a lot of stuff to execline.
Also change spt to a symlink.
2020-08-13 02:41:44 -03:00
Érico Rolim 5e952f0692 wayland-services: move to execline.
Remove exec-if-exists.
2020-08-13 01:10:12 -03:00
Érico Rolim d5490a3d7c wayland-services: use symlinks to binaries. 2020-08-13 00:51:00 -03:00
Érico Rolim 6db3959e2d README.md: update. 2020-08-13 00:47:28 -03:00
Érico Rolim a5b436a609 Update several configs.
- alacritty: just fix for new version
- mpv: force sndio
2020-08-13 00:39:30 -03:00
Érico Rolim 35d6d99703 void: Update a whole lot of stuff. 2020-08-13 00:38:18 -03:00
Érico Rolim 17d1b606af void.sh: do it smarter. 2020-08-12 23:52:15 -03:00
Érico Rolim 7a6e5b8130 void.sh: update some apps. 2020-08-12 23:27:20 -03:00
Érico Rolim c74dd73645 Update scripts.
- Create rgps as script instead of alias
- Add lots of new stuff
- Stop reloading spotifyd in start-tmux-music
2020-08-12 23:17:15 -03:00
Érico Rolim ab86f2612d Add zdykstra's fuzzypkg. 2020-08-12 23:12:01 -03:00
Érico Rolim 62077c2a16 chroot-mnt: add --make-rslave to commands. 2020-07-25 01:38:53 -03:00
Érico Rolim 98a15fa859 sourcecode: create enter-chroot.
Written in C, is a setid program and does the job of launch-chroot,
which is being retired.
2020-07-25 01:35:52 -03:00
Érico Rolim 57cee8fd64 launch-chroot: add D-Bus. 2020-07-25 01:33:36 -03:00
Érico Rolim 60d3c5a2ba Add stow-linux.sh.
Avoid accidents by stowing all folders.
2020-07-17 01:15:06 -03:00
Érico Rolim e62f5aa8a9 Move Linux only utils to linux-utils. 2020-07-17 01:14:01 -03:00
Érico Rolim 1cf3f25554 Update license for 2020. 2020-07-17 01:04:04 -03:00
Érico Rolim eb07550bd6 Update GDB init.
Fix errors: "def" could be either "define" or "define-prefix".
2020-07-17 01:02:52 -03:00
Érico Rolim 6151c7ef81 Wayfire customization. 2020-07-17 01:01:58 -03:00
Érico Rolim b1b32b8ec8 Initial wayfire config. 2020-07-17 01:01:30 -03:00
Érico Rolim ff22dceb83 Move wayland-vars to compositor launch time.
Add wayfire start.
2020-07-17 00:59:57 -03:00
É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 ec039ba853 doom: update config. 2020-07-07 19:03:03 -03:00
Érico Rolim 064c9b09bb Add scripts for chrooting into a glibc boot env.
- fish_prompt: to indicate that one is inside the chrooted fs

- launch-chroot: chroots into the folder, can be turned into C program
at some point to become setuid

- mount-zvol: commmand to mount zvols that have mountpoint= set

- chroot-mnt service: starts up the mounts, kills them with `sv down`.
service-and-tz.sh script was updated to install it
2020-07-07 18:51:31 -03:00
Érico Rolim 19786cf9bc utils: update and add new pastes.
All of them now use wl-copy conditionally.

- purr: uses bsd.ac
- meow: uses bsd.ac with key
2020-07-07 18:38:37 -03:00
Érico Rolim 6cc2aacd8b Wayland: update startup files.
- source wayland-vars before launching
- export EGL vendor stuff to avoid issues with nvidia drivers in musl
- catch core files
2020-07-07 18:33:48 -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 7ee3b51e5a Bootstrap: add bootstrapping scripts. 2020-06-25 04:50:47 -03:00
Érico Rolim d0444f28f9 void.sh: update.
Add current_system target, support bootstrapping installation.
2020-06-25 04:17:00 -03:00
Érico Rolim a29a58b46e Add depgraph command.
Visualize program dependencies with PNGs generated by dot.
2020-06-24 03:43:47 -03:00
Érico Rolim 8089adf276 Wayland: clean up services.
Complete Void migration, fix exec-if-exist.
2020-06-24 03:42:48 -03:00
Érico Rolim 75c97ebf62 Update Wayland stuff.
- Add logging to wayland launch script.
- Fix launcher.
- Remove FORCE_DPI for wayland, was screwing with qutebrowser.
2020-06-22 02:23:22 -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 15dc7f68f0 wayland: move waybar and swayidle to services 2020-06-09 18:50:09 -03:00
Érico Rolim 4c5fa61376 wayland: modify service setup
- sway config launches runsvdir:
 - has a mechanism for verifying if it's already running
 - doesn't have a mechanism for killing the runsvdir only when adequate
2020-06-09 18:48:21 -03:00
Érico Rolim 7d4d0e1ae7 Update info: sway config and IRC channels. 2020-06-09 18:44:27 -03:00
Érico Rolim 248bfc4233 Add 0x0 pastebin service script 2020-06-04 02:02:57 -03:00
Érico Rolim ca97e8abe0 README: update information about sourcecode/ 2020-06-04 02:02:27 -03:00
Érico Rolim b7c9997ab0 Update doom-emacs
- Theme
- Features
2020-06-04 02:01:49 -03:00
Érico Rolim dd5a54e6cd Add playerctld daemon and usage 2020-06-04 02:00:58 -03:00
Érico Rolim 8fe4be8f19 Re-organize installation scripts 2020-06-04 02:00:30 -03:00
Érico Rolim e2002df0ce Clean up scripts and use sh instead of bash
Deleted: mpv, makepkg, openlink
2020-06-04 01:10:31 -03:00
Érico Rolim 08e21a0649 void.sh: use dash instead of bash
- change how functions are declared
- use _ instead of - for function names
- use eval instead of ${!var}
2020-06-04 00:36:32 -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