Update nvidia-xrun support

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-03-20 13:40:15 +01:00
parent 79de524ab1
commit 738f83183f
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
4 changed files with 7 additions and 2 deletions

View file

@ -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}"

View file

@ -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 \

View file

@ -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}"
}

View file

@ -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