mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
Added Gnu Privacy Assist / Merged callsign updaters
This commit is contained in:
@@ -15,6 +15,12 @@ if ! hash rpl 2>/dev/null; then
|
|||||||
sudo apt -y install rpl || { echo "The package rpl is needed for this script and failed to install. Try sudo apt install rpl."; exit 1; }
|
sudo apt -y install rpl || { echo "The package rpl is needed for this script and failed to install. Try sudo apt install rpl."; exit 1; }
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
### Check for yad installed and install if needed
|
||||||
|
|
||||||
|
if ! hash yad 2>/dev/null; then
|
||||||
|
sudo apt -y install yad || { echo "The package yad is needed for this script and failed to install. Try sudo apt install yad."; exit 1; }
|
||||||
|
fi
|
||||||
|
|
||||||
# Find the screen size. Will default to 800x480 if it can not be detected.
|
# Find the screen size. Will default to 800x480 if it can not be detected.
|
||||||
function set_screen_size() {
|
function set_screen_size() {
|
||||||
screen_size=$(xdpyinfo | grep dimensions | \
|
screen_size=$(xdpyinfo | grep dimensions | \
|
||||||
|
|||||||
Reference in New Issue
Block a user