- i3 -- A tiling window manager
https://i3wm.org/
https://github.com/i3/i3
https://github.com/Airblader/i3 - Sway -- i3-compatible Wayland compositor
https://swaywm.org/
https://github.com/swaywm/sway
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
user="$1" | |
if ! [[ `id "$user" 2> /dev/null` ]]; then | |
echo "Not a valid user" 1>&2 && exit 1 | |
fi | |
if [[ `echo "$user" | grep "|"` ]]; then | |
echo "Username cannot have '|'" 1>&2 && exit 1 | |
fi |