home/.config/concession/tasks/20_nitrogen.sh
Salt 58c4011067 Concession: Reenable Nitrogen
Whoops, that was an accident
2018-11-04 18:15:35 -06:00

20 lines
324 B
Bash
Executable File

#! /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 $@