Created
November 14, 2025 13:12
-
-
Save szeyu/16274ff46687684a5cfb344f6b58fd48 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| !/bin/bash | |
| # Check if feh is running | |
| if pgrep -x "feh" > /dev/null; then | |
| pkill -x feh # Kill feh if running | |
| else | |
| feh -x --scale-down /home/ssyok/Desktop/y2s2_timetable.jpeg & # Open image | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment