Update nvidia-xrun support
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
79de524ab1
commit
738f83183f
4 changed files with 7 additions and 2 deletions
|
@ -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}"
|
|
@ -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 \
|
||||
|
|
|
@ -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}"
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue