Adds configuration support to nitrogen.

This commit is contained in:
Abhay Rana 2016-01-13 16:42:35 +05:30
parent 3cc86ecb61
commit e4be7ff15d
3 changed files with 8 additions and 1 deletions

View File

@ -366,6 +366,7 @@ function display() {
`cd ~/.screenlayout && sh $1.sh`
# Write the current layout
echo $1 > ~/.screenlayout/current
(cd ~/Pictures && cp "$1.jpg" "./xin_1.jpg")
nitrogen --restore
}

View File

@ -1,9 +1,14 @@
[:0.0]
file=/home/nemo/projects/personal/avatars/wallpaper/1920x1080.jpg
mode=4
bgcolor=#000000
[xin_0]
file=/home/nemo/projects/personal/avatars/wallpaper/1920x1080.jpg
mode=4
bgcolor=#000000
[xin_1]
file=/home/nemo/Pictures/korra-rotated.jpg
file=/home/nemo/Pictures/xin_1.jpg
mode=4
bgcolor=#000000

View File

@ -0,0 +1 @@
current