From 5aeae7906182087d3e1f4b2b3a8e982016131ac7 Mon Sep 17 00:00:00 2001 From: Nemo Date: Wed, 9 Jun 2021 23:18:06 +0530 Subject: [PATCH] Add a setup.test file --- setup.test | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 setup.test diff --git a/setup.test b/setup.test new file mode 100755 index 0000000..6fda9d4 --- /dev/null +++ b/setup.test @@ -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" \ No newline at end of file