openbox之类用的即时更改壁纸的脚本(rox)

sh/bash/dash/ksh/zsh等Shell脚本
回复
xeoc
帖子: 1994
注册时间: 2007-05-06 10:12

openbox之类用的即时更改壁纸的脚本(rox)

#1

帖子 xeoc » 2008-12-26 23:35

我用openbox,设置壁纸很不方便,之前只是建个图片的链接到~/下 然后xinitrc里写hsetroot -fill ~/.Wallpaper

这样即时调整还是麻烦,写了个rox的sendto脚本,方便多了,很简单的

代码: 全选

#!/bin/sh

ln -sf "$@" ~/.Wallpaper
hsetroot -fill ~/.Wallpaper
回复