home/.config/concession/tasks/20_nitrogen.sh

20 lines
324 B
Bash
Raw Normal View History

2018-10-21 02:33:31 -05:00
#! /bin/sh
#
# 20_nitrogen.sh
# Copyright (C) 2018 salt <salt@lap-th-e560-0>
#
# Distributed under terms of the MIT license.
#
main() {
if ! which nitrogen > /dev/null 2>&1; then
tsk_log "Nitrogen is not installed"
return 1
fi
tsk_log "Restoring Nitrogen background"
nitrogen --restore > /dev/null 2>&1
}
main $@