anufrievroman / waypaper

GUI wallpaper manager for Wayland and Xorg Linux systems
https://anufrievroman.gitbook.io/waypaper
GNU General Public License v3.0
399 stars 29 forks source link

Mutiple command on post command ? #67

Closed kito30 closed 3 months ago

kito30 commented 4 months ago

I am curious about is it a possible way to execute 2 command in the post command. For instance wal -i $wallpaper and wpg -s $wallpaper

anufrievroman commented 4 months ago

In principle, all instances of $wallpaper should be replaced with the path, so there should be no problem with writing wal -i $wallpaper && wpg -s $wallpaper, but I didn't test.

In general, if you are looking to implement complex behavior, it's more practical to write a separate small script and execute it via post_command.

anufrievroman commented 3 months ago

I will assume this is resolved then