Skip to content

Commit

Permalink
Merge pull request #408 from b-/master
Browse files Browse the repository at this point in the history
feat(linux_vt): automatically apply theme
  • Loading branch information
Mgldvd authored Dec 11, 2023
2 parents 6f36e2a + cda928a commit 6d4088a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apply-colors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,10 @@ apply_linux_vt () {
local color=COLOR_${c}
echo "${!color}" >> "${file_name}"
done
# apply the theme if setvtrgb exists
if command -v setvtrgb >/dev/null &2>&1; then
setvtrgb "${file_name}"
fi
fi

if command -v update-alternatives >/dev/null &2>&1 && [[ "${USER}" = "root" ]]; then
Expand Down

0 comments on commit 6d4088a

Please sign in to comment.