mirror of
https://github.com/ben-grande/qusal.git
synced 2025-08-02 11:16:24 -04:00
feat: allow absent dotfiles
Some files had a small impact such as Xft.dpi definition, thus removed. Files with bigger impact were moved to root directories such as /etc or were specified with full path such as ~/.local/bin. In case the dotfiles configuration does extra things, such as verifying merge commits, it was changed to code or comment when appropriate. For: https://github.com/ben-grande/dotfiles/pull/1
This commit is contained in:
parent
8609815f4e
commit
0e72ff8716
6 changed files with 13 additions and 34 deletions
|
@ -1,12 +0,0 @@
|
|||
#!/bin/sh
|
||||
## SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
##
|
||||
## SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
current_dpi="$(xrdb -get Xft.dpi)"
|
||||
wanted_dpi="144"
|
||||
|
||||
if test -z "${current_dpi}" || test "${current_dpi}" -lt "${wanted_dpi}"
|
||||
then
|
||||
printf '%s\n' "Xft.dpi: ${wanted_dpi}" | xrdb -override -
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue