Code Monkey home page Code Monkey logo

spotlight's Introduction

spotlight

Windows 10 Spotlight Background images for Gnome

Installation

System-wide

  • /usr/bin/spotlight.sh
  • /usr/lib/systemd/user/spotlight.service
  • /usr/lib/systemd/user/spotlight.timer
  • /usr/share/applications/spotlight.desktop

Local

  • ~/.local/bin/spotlight.sh
  • ~/.local/share/systemd/user/spotlight.service
  • ~/.local/share/systemd/user/spotlight.timer
  • ~/.local/share/applications/spotlight.desktop

Dependencies

  • wget
  • jq
  • sed
  • glib2 (gnome)
  • systemd

Usage

Run systemctl --user enable spotlight.timer to get a new picture every day.

To fetch a new background manually you can either use the desktop entry by looking for spotlight in your gnome application menu ([SUPER] spot... [ENTER]) or trigger the service from command line with systemctl --user start spotlight.service.

Use the system log to get the past image descriptions, e.g. for the the current background journalctl -t spotlight -n 1.

Configuration

Spotlight does not require particular configuration.

The default behavior of spotlight is to discard the previous image when it fetches a new one. This behavior can be alter from the command line:

  • -h shows a help message
  • -k keeps the previous image
  • -d stores the image into the given destination. Defaults to "$HOME/.local/share/backgrounds".

Service

In order to modify the behavior of the service systemctl edit --user spotlight.service can be used to overwrite the program invocation:

[Service]
ExecStart=
ExecStart=/usr/bin/env bash spotlight.sh -k -d %h/Pictures/Spotlight

Notifications

Notifications can be controlled via the Gnome Control Center.

Packages

Arch Linux

aur/spotlight

spotlight's People

Contributors

mariusknaust avatar dpellegr avatar gwario avatar faizal3199 avatar pluehne avatar sgarnica avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.