From 233bbbe8fb7a29d74c8bf7392c47671c824282c7 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 12 Jan 2023 06:20:13 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(latest):=20latest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../run_onchange_after_64-grub-settings.tmpl | 14 +++++++------- .../run_onchange_after_70-misc-bug-fixes.tmpl | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/home/.chezmoiscripts/universal/run_onchange_after_64-grub-settings.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_64-grub-settings.tmpl index a6b9ee02..ebe074f1 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_64-grub-settings.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_64-grub-settings.tmpl @@ -21,7 +21,7 @@ if [ -d /usr/local/share/grub/themes ]; then sudo cp -rf /usr/local/share/grub/themes /boot/grub2/ logg success 'Copied GRUB themes in /usr/local/share/grub/themes to /boot/grub2/themes' else - logg warn '`/usr/local/share/grub/themes` is missing' + logg warn '/usr/local/share/grub/themes is missing' fi ### Set default GRUB screen resolution variables @@ -37,10 +37,10 @@ if command -v xrandr > /dev/null && command -v uniq > /dev/null; then logg success "Screen detected as $SCREEN_WIDTH x $SCREEN_HEIGHT (ratio of $SCREEN_RATIO)" if (( $(echo "$SCREEN_RATIO $SCREEN_RATIO_ULTRAWIDE" | awk '{print ($1 > $2)}') )); then GRUB_RESOLUTION_TYPE="ultrawide" - logg info 'GRUB resolution registered as `ultrawide`' + logg info 'GRUB resolution registered as ultrawide' fi else - logg warn 'Missing either `xrandr` or `uniq` (required for calculating screen size ratio)' + logg warn 'Missing either xrandr or uniq (required for calculating screen size ratio)' fi ### Optimize the GRUB resolution @@ -126,16 +126,16 @@ if ! command -v grub2-mkconfig > /dev/null; then fi ### Apply GRUB2 theme -# Set `export DEBUG_MODE=true` to bypass GRUB2 / Plymouth application +# Set export DEBUG_MODE=true to bypass GRUB2 / Plymouth application if [ "$DEBUG_MODE" != 'true' ]; then if [ -d /sys/firmware/efi ]; then logg info 'Assuming system is UEFI-enabled since /sys/firmware/efi is present' if [ -f /boot/efi/EFI/qubes/grub.cfg ]; then - logg info 'Running `sudo grub2-mkconfig -o /boot/efi/EFI/qubes/grub.cfg`' + logg info 'Running sudo grub2-mkconfig -o /boot/efi/EFI/qubes/grub.cfg' sudo grub2-mkconfig -o /boot/efi/EFI/qubes/grub.cfg logg success 'Applied GRUB2 theme' elif [ -f /boot/efi/EFI/grub.cfg ]; then - logg info 'Running `sudo grub2-mkconfig -o /boot/efi/EFI/grub.cfg`' + logg info 'Running sudo grub2-mkconfig -o /boot/efi/EFI/grub.cfg' sudo grub2-mkconfig -o /boot/efi/EFI/grub.cfg logg success 'Applied GRUB2 theme' else @@ -143,7 +143,7 @@ if [ "$DEBUG_MODE" != 'true' ]; then fi else logg info 'Assuming system is non-UEFI since /sys/firmware/efi is not present' - logg info 'Running `sudo grub2-mkconfig -o /boot/grub2/grub.cfg`' + logg info 'Running sudo grub2-mkconfig -o /boot/grub2/grub.cfg' sudo grub2-mkconfig -o /boot/grub2/grub.cfg logg success 'Applied GRUB2 theme' fi diff --git a/home/.chezmoiscripts/universal/run_onchange_after_70-misc-bug-fixes.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_70-misc-bug-fixes.tmpl index cf5fe588..91499443 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_70-misc-bug-fixes.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_70-misc-bug-fixes.tmpl @@ -8,13 +8,13 @@ ### Fix for Ubuntu default extension conflicting with dash-to-dock if dconf read /org/gnome/shell/enabled-extensions | grep dash-to-dock > /dev/null; then - if [ -d "/usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com" ]; then + if [ -d '/usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com' ]; then if [ ! -d /usr/share/gnome-shell/extensions/disabled ] sudo mkdir /usr/share/gnome-shell/extensions/disabled logg info 'Created /usr/share/gnome-shell/extensions/disabled for GNOME extensions that have issues' fi - sudo mv /usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com /usr/share/gnome-shell/extensions/disabled/ubuntu-dock@ubuntu.com - logg info 'Moved `ubuntu-dock@ubuntu.com` to the disabled extension folder' + sudo mv '/usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com' '/usr/share/gnome-shell/extensions/disabled/ubuntu-dock@ubuntu.com' + logg info 'Moved ubuntu-dock@ubuntu.com to the disabled extension folder' fi fi