Relative Content

Tag Archive for linuxbashshellunix

Waybar Not Restarting – Script for Generating Waybar Colors with Pywal

I wrote a script to change Waybar’s colors using the colors automatically generated by pywal. This script successfully changes Waybar’s colors automatically. However, there is an issue with restarting Waybar, when using the ‘pkill waybar’ command, I get a ‘Terminated’ output in the terminal, and the subsequent operations do not occur.

Shell Bash Comparing expr result of IF

I am learning shell bash now, and tried to figure it out how to compare expr result on IF condition.
Basically want to return only odd natural numbers