This file contains 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 | |
wget -O /tmp/wallpaper.jpg https://source.unsplash.com/3840x2160/?wallpapers | |
gsettings set org.gnome.desktop.background picture-uri file:///tmp/wallpaper.jpg | |
gsettings set org.gnome.desktop.screensaver picture-uri file:///tmp/wallpaper.jpg | |
# Don't forget to make it executable via: chmod +x random-wallpaper.sh | |
# To schedule every 10 minutes: | |
# Run: crontab -e |
This file contains 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
diff --git a/input.c b/input.c | |
index d1ff17f..33fad13 100644 | |
--- a/input.c | |
+++ b/input.c | |
@@ -1805,6 +1805,7 @@ input_dcs_dispatch(struct input_ctx *ictx) | |
{ | |
const char prefix[] = "tmux;"; | |
const u_int prefix_len = (sizeof prefix) - 1; | |
+ u_char *p; | |