diff --git a/system/.config/polybar/scripts/update-count b/system/.config/polybar/scripts/update-count index b078687..35d5dde 100755 --- a/system/.config/polybar/scripts/update-count +++ b/system/.config/polybar/scripts/update-count @@ -11,7 +11,7 @@ # # USAGE: # ./update-count -UPDATES=$(yay -Qu | wc -l) +UPDATES=$(pacman -Qu | wc -l) AUR_UPDATES=$(yay -Qua --devel | wc -l) echo "${UPDATES} / ${AUR_UPDATES}" \ No newline at end of file diff --git a/system/.local/bin/resolution b/system/.local/bin/resolution index 6793745..ebfd927 100755 --- a/system/.local/bin/resolution +++ b/system/.local/bin/resolution @@ -13,6 +13,7 @@ # USAGE: # ./resolution xrandr \ +--dpi 96 \ --output HDMI-1 --mode 1280x1024 --pos 80x56 --rotate normal \ --output HDMI-1-1 --mode 1280x1024 --pos 80x56 --rotate normal \ --output eDP-1 --primary --mode 1920x1080 --pos 1360x0 --rotate normal \ diff --git a/system/.local/bin/utils b/system/.local/bin/utils index 57c3430..85b6ac5 100755 --- a/system/.local/bin/utils +++ b/system/.local/bin/utils @@ -27,6 +27,7 @@ GREEN='\033[32m' RED='\033[31m' BLUE='\033[34m' YELLOW='\033[33m' +BOLD="$(tput bold)" ####################################### # Helper functions @@ -48,7 +49,7 @@ function print_notify() { # Prints a section title. # USAGE: print_section TITLE function print_section() { - echo -e "${YELLOW}┌──────────────────────────────────────────────────────────────────────────────┐" + echo -e "${YELLOW}${BOLD}┌──────────────────────────────────────────────────────────────────────────────┐" echo -e "│ $(printf "%-77s" "${1}")│" echo -e "└──────────────────────────────────────────────────────────────────────────────┘${RESET}" } diff --git a/system/etc/sudoers.d/severin b/system/etc/sudoers.d/severin index 7433be0..1069673 100644 --- a/system/etc/sudoers.d/severin +++ b/system/etc/sudoers.d/severin @@ -1,2 +1,5 @@ # Privilege specification for user severin severin ALL=(ALL:ALL) NOPASSWD:/home/severin/.local/bin/sync-packages + +# Remove password timeout +Defaults passwd_timeout=0