92 Commits

Author SHA1 Message Date
gaschz
819e502a8c
Merge branch 'ben-grande:main' into aliases 2025-08-02 18:56:13 +02:00
Ben Grande
c534002253
fix: remove extraneous parentheses
Fixes: https://github.com/ben-grande/qusal/issues/134
2025-06-18 19:17:49 +02:00
Ben Grande
e7cebe4551
fix: load alias variable once 2025-06-18 19:17:20 +02:00
3np
d6a423d41a
fix: reference local sls imports by slsdotpath
Behavior of dot includes changed between salt 3006 and 3007. Work
consistently across Salt versions.

For: https://github.com/ben-grande/qusal/pull/119
2025-04-14 11:25:09 +02:00
Ben Grande
efe660b3b1
fix: remove duplicate pager call 2025-04-14 10:44:02 +02:00
Ben Grande
45a0acb222
feat: support truecolor
- Standardize capability usage with the terminfo database for
  portability. POSIX tput does declare only the basic options such as
  'init', 'reset' and 'clear', leaving the rest unspecified, that is not
  ideal but hard coding escape sequences is way worse.
- Set colorization options based on number of colors the terminal
  supports and not the TERM variable when possible. This is incomplete,
  terminal emulators may support or adapt more than it is advertised,
  but involves using DECRQSS queries and delays, as an example, 'resize'
  utility from XTerm uses 3 seconds as delay, this is worrisome.
- Term with only '-direct' variants without ending with 256 means it
  only supports direct-color indexing, therefore 'tmux-direct' cannot be
  used, but the non-multiplexer terminal 'xterm-direct256' can.
2025-03-27 11:42:50 +01:00
seven-beep
0bae3d94b2
feat: allow exclusion of dotfiles with pillars
The dotfiles provides hardened configuration as well as usability
settings, but it has downsides:

- Even though some programs allowing including extra files, not all of
  them do;
- Experienced users wants their own configuration that can conflict in
  file path;
- Adds a lot of lines to review that is not strictly necessary for Qusal
  to work.

With this change, users can set pillar values to disable specific
components or all components.

For: https://github.com/ben-grande/dotfiles/pull/1
For: https://github.com/ben-grande/qusal/issues/17
Co-authored-by: Ben Grande <ben.grande.b@gmail.com>
2025-03-03 16:25:23 +01:00
Ben Grande
11bc58a4dd
fix: unset local variables exported to environment 2025-02-27 15:25:16 +01:00
Ben Grande
6e0fe495cf
fix: move Xfce configuration to qusal
It is a dotfile but I use the same file manager the window manager
provides, when it provides one, so adding fallback terminal is not
necessary for Thunar outside of Qubes, as it normally comes with sane
defaults.

For: https://github.com/ben-grande/dotfiles/pull/1
2025-02-27 11:15:14 +01:00
002e0354ab
add custom aliases 2025-02-08 16:53:08 +01:00
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