mirror of
https://github.com/captn3m0/Scripts.git
synced 2024-09-27 22:22:53 +00:00
Add a setup.test file
This commit is contained in:
parent
cf09f66b60
commit
5aeae79061
27
setup.test
Executable file
27
setup.test
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# This script tests my current local setup
|
||||||
|
# and ensures everything is correctly configured
|
||||||
|
|
||||||
|
function validate_command() {
|
||||||
|
if ! command -v "$1" &> /dev/null
|
||||||
|
then
|
||||||
|
echo "[missing] $1: $2"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pidof xss-lock >/dev/null || echo "[E] xss-lock is not running"
|
||||||
|
validate_command multilockscreen
|
||||||
|
validate_command yubikey-touch-detector
|
||||||
|
validate_command yubikey-touch-detector
|
||||||
|
validate_command redshift-gtk
|
||||||
|
validate_command xfsettingsd
|
||||||
|
validate_command ibus-daemon
|
||||||
|
validate_command goldendict
|
||||||
|
validate_command autorandr
|
||||||
|
validate_command alacritty
|
||||||
|
validate_command dunst
|
||||||
|
validate_command flameshot
|
||||||
|
validate_command passmenu
|
||||||
|
validate_command dmenu_run
|
||||||
|
validate_command connman-gtk "Optional"
|
Loading…
Reference in New Issue
Block a user