add manual accent color arg to launcher cmd (#534)

This commit is contained in:
end-4
2024-05-25 07:55:00 +07:00
parent f251554043
commit d6b6f79f03
2 changed files with 8 additions and 3 deletions
@@ -9,6 +9,8 @@ STATE_DIR="$XDG_STATE_HOME/ags"
if [ "$1" == "--pick" ]; then
color=$(hyprpicker --no-fancy)
elif [[ "$1" = "#"* ]]; then # this is a color
color=$1
else
color=$(cut -f1 "$STATE_DIR/user/color.txt")
fi