Despite having fewer hours on the clock, I will still deliver the same software on the same timeframe. It’s the software I create that they are buying, therefore I should be paid the same.
That being said, yes. As long as the salary is enough to maintain my standard of living, I will accept a lower salary to work fewer hours.