xdotool is required

This commit is contained in:
BarbUk 2022-04-26 09:27:59 +02:00
parent 40f18ab1fa
commit e96740b277
No known key found for this signature in database
GPG Key ID: DB301C759539E9FE

2
snippy
View File

@ -145,7 +145,7 @@ move_cursor() {
init() { init() {
# Check basic dependency # Check basic dependency
local all_needed_programs_installed=true local all_needed_programs_installed=true
local needed_programs=( rofi fzf xsel xclip jq ) local needed_programs=( rofi fzf xsel xclip jq xdotool )
for program in "${needed_programs[@]}"; do for program in "${needed_programs[@]}"; do
if ! command -v "$program" >/dev/null 2>&1; then if ! command -v "$program" >/dev/null 2>&1; then
all_needed_programs_installed=false all_needed_programs_installed=false