Restart plasmashell on a schedule: Cron? Systemd timer? Edit system file?

See systemd/User - ArchWiki and systemd/Timers - ArchWiki a timer is just a type of systemd-unit specially for timed executions.

  • See the link i gave in previous reply to the man page of timers.
  • To make a bash script executable you need to modify it’s file permissions plus add a shebang, im sure there are plenty of pages on the internet dealing with that topic. (its super easy)
#!/bin/env bash

PS: You can split that command into 2 commands that get executed in sequence by the service file you will need to create, which will be triggered by the timer.

1 Like