Skip to content

Instantly share code, notes, and snippets.

@HusseinElMotayam
HusseinElMotayam / random-wallpaper.sh
Last active January 26, 2024 19:50
Bash script to fetch random wallpapers from Unsplash and set it on Ubuntu.
#!/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
@saitoha
saitoha / tmux-SIXEL.patch
Created July 14, 2015 16:21
tmux: SIXEL integration (for mlterm / RLogin, not works on XTerm)
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;
@pascalpoitras
pascalpoitras / config.md
Last active April 8, 2024 18:58
My WeeChat configuration

WeeChat Screenshot

Mouse


enable