82 Commits

Author SHA1 Message Date
Ben Grande
ebe96406fb
fix: qubes statistics table
- CPU sum converted to average;
- Table is redrawed on terminal resize;
- Screen is saved before being drawn to;
- Works without sensors package; and
- Queries all relevant sensors.
2025-01-27 15:56:32 +01:00
Ben Grande
8a6cdd5096
fix: unset global variables 2025-01-24 16:22:36 +01:00
Ben Grande
a7d2876bb4
fix: standardize shell escape character to octal
URxvt requires octal for keysym while others do not and querying a
single one is easier.
2025-01-22 17:42:01 +01:00
Ben Grande
7928a352be
fix: disable use of prepare-commit-msg hook
Causing issues when doing an amend and also is not desired as it doesn't
allow including many scripts to be run in a hook stage.
2025-01-09 17:40:12 +01:00
Ben Grande
9c1d9c68b9
feat: add parameter directory to backup in dom0 2025-01-09 17:38:11 +01:00
Ben Grande
fab9bfb320
fix: move split-gpg2 server config to qusal
Avoid exclusion of pgp dotfiles to break qusal.
Customize the qusal configuration with files in conf.d.

For: https://github.com/ben-grande/dotfiles/pull/1
2025-01-09 17:15:24 +01:00
Ben Grande
58e820764f
fix: states not adding executable bit to scripts 2025-01-09 16:27:00 +01:00
Ben Grande
a76215014f
fix: mutt spoolfile set after other folder options
- Fix mutt-sorcerer printing an invalid glob
- Encrypt postponed messages
- Set different folders based on folder regexp
- Use mailboxes when offline
2025-01-09 16:25:55 +01:00
Ben Grande
b7d290de79
fix: stricter command-line parsing 2025-01-08 16:59:13 +01:00
Ben Grande
d9c45c652c
fix: remove tmux word from tmux shell 2025-01-08 16:58:37 +01:00
Ben Grande
4a8aa80c2e
fix: remove timestamp from Zsh history
When HISTFILE is shared with Bash, the shell doesn't know how to
interpret timestamp.
2024-12-03 11:32:09 +01:00
Ben Grande
b025ea0fea
fix: escape newline characters in git aliases
When 'git config --get "alias.*"' is run, it expands especial characters
breaking the retrieval of aliases and assignment for shell aliases
starting the g for git.
2024-12-03 11:29:37 +01:00
Ben Grande
7659897283
fix: skip edit of files owned by system packages
Fix: https://github.com/ben-grande/qusal/issues/101
2024-10-14 17:03:57 +02:00
Ben Grande
f9457092ea
fix: remove end of options from compinit 2024-08-12 16:47:52 +02:00
Ben Grande
d13a21a734
fix: avoid echo usage
Echo can interpret operand as an option and checking every variable to
be echoed is troublesome while with printf, if the format specifier is
present before the operand, printing as string can be enforced.
2024-08-06 18:12:46 +02:00
Ben Grande
b38834d66b
fix: avoid operand evaluation as argument
Explicit end option parsing as the shell can be quite dangerous without
it.
2024-08-06 17:13:11 +02:00
Ben Grande
7e2502b70a
fix: option to disable resize of dumb consoles
Relevant when using "xl console".
2024-07-16 16:57:14 +02:00
Ben Grande
f705616ed4
feat: encrypt mail headers 2024-07-16 16:56:33 +02:00
Ben Grande
8e5673e9c4
fix: set vim toc generator width option 2024-07-15 17:54:51 +02:00
Ben Grande
69c14a2429
feat: enable all optional shellcheck validations 2024-07-10 14:35:36 +02:00
Ben Grande
024e9c469d
fix: limit shellscript line length to 78 chars 2024-07-09 17:39:25 +02:00
Ben Grande
a8129e053a
feat: set json format for editorconfig-checker 2024-07-08 20:10:15 +02:00
Ben Grande
5936b2059c
chore: editorconfig check 2024-07-08 19:59:27 +02:00
Ben Grande
f94876f0f0
doc: spell check 2024-07-08 11:27:21 +02:00
Ben Grande
56191dab6d
doc: lint markdown files 2024-07-04 17:08:52 +02:00
Ben Grande
46d0753329
fix: reusable dotfiles summary
Especially to avoid the dotfiles should be specific to one user, as it
can be easily customized.
2024-07-04 11:25:38 +02:00
Ben Grande
06a5db7cde
feat: add version for Qubes Builder check 2024-06-23 13:55:40 +02:00
Ben Grande
404d5d2598
fix: split-gpg2 doesn't accept empty values
Fixes: https://github.com/ben-grande/qusal/issues/64
2024-06-20 22:32:04 +02:00
Ben Grande
921820faaf
chore: add copyright notices 2024-06-17 21:45:45 +02:00
Ben Grande
5f55627e57
fix: function to target minions missing parameters 2024-06-17 21:42:29 +02:00
Ben Grande
39a4938fb6
feat: add split-gpg2 configuration
Users must migrated their keys from ~/.gnupg to the value of
isolated_gnupg_homedirs.
2024-06-17 14:17:13 +02:00
Ben Grande
e3c8ab8972
feat: add function to target minions easily 2024-06-17 13:50:52 +02:00
Ben Grande
09bb64f652
feat: SSH proxy in Qubes for offline clients 2024-06-13 15:45:37 +02:00
Ben Grande
87b196b3d4
fix: reuse reports duplicated header and .dep5 2024-06-13 14:11:12 +02:00
Ben Grande
0defc26586
chore: add missing license 2024-06-13 14:10:39 +02:00
Ben Grande
dfc548e567
fix: avoid multiple ssh-agent spawns
#
The SSH_AUTH_SOCK is unset when executing user shell through Qrexec,
spawning multiple agents. Using a constant path avoids this problem.
2024-06-02 20:32:33 +02:00
Ben Grande
ab355f9abf
feat: alias to target DomUs with qubesctl 2024-05-25 20:26:15 +02:00
Ben Grande
c9544bdc5c
feat: add git alias to amend commits 2024-05-23 11:49:49 +02:00
Ben Grande
3c7d828fb5
fix: remove vim copy typo from tmux configuration 2024-05-23 11:49:02 +02:00
Ben Grande
23f4e79587
fix: zsh history share 2024-05-21 11:04:42 +02:00
Ben Grande
b44fbb6d98
fix: line break on git alias breaks zsh completion
Only happens if line breaks occurs on the first line of the completion,
the other lines are ignored.
2024-05-21 11:02:09 +02:00
Ben Grande
0dd49bcab4
doc: nested list indentation 2024-05-14 18:42:06 +02:00
Ben Grande
84bae87dc5
fix: discover non-root username at runtime
Useful when Dom0 has the non-default username, less useful for DomUs.

Fixes: https://github.com/ben-grande/qusal/issues/43
2024-04-30 16:02:49 +02:00
Ben Grande
9954972df3
fix: POSIX does not support head byte count
Test done on OpenBSD for compatibility with the POSIX specification,
also becoming a new supported system.
2024-04-23 18:34:10 +02:00
Ben Grande
a179b8c878
fix: remove brackets from awk variable 2024-04-16 18:26:02 +02:00
Ben Grande
4d63820f64
fix: hide command check output 2024-03-23 21:43:07 +01:00
Ben Grande
d3222aab71
feat: alias to sign arbitrary tags 2024-03-19 19:55:21 +01:00
Ben Grande
1afa166f3e
feat: support diff highlight for inline patch diff 2024-03-19 19:26:55 +01:00
Ben Grande
99f184d1fd
Fix: compile lesskey for old versions at runtime
- Support less versions that have a dot: 581.2;
- Avoids having binary files in the repository;
- Lesskey automatically compiled depending on user's less version;
2024-03-14 10:14:59 +01:00
Ben Grande
50e80029b3
feat: add tool to resize terminal size
Inspired by the Archlinux Wiki. The Arch Wiki does not provide a
copyrights page, it is therefore hard to credit the contributors

Recent commit c6de5e8046d4965fde910ee3b0c9c0709899609c is 7 years old,
with reference to $wgRightsPage. Individual contributors can't be
referenced but there is credit to the specific page in the Arch wiki.

https://gitlab.archlinux.org/archlinux/infrastructure/-/blob/master/roles/archwiki/templates/LocalSettings.php.j2
2024-03-07 17:38:45 +01:00