GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - webdevred/wpc: wpc

BranchesTags
Open more actions menu

Latest commit

 

History

145 Commits
145 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
include/wpc
include/wpc
 
 
src
src
 
 
.clang-format
.clang-format
 
 
.gitignore
.gitignore
 
 
BG_MODES.org
BG_MODES.org
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
nob.c
nob.c
 
 
nob.h
nob.h
 
 
wpc_demo.gif
wpc_demo.gif
 
 

Repository files navigation

WPC - Desktop and lock screen wallpaper setter

Formatting Building

  • WPC - Desktop and lock screen wallpaper setter
    • Introduction
    • Features
    • Planned features/todo list
    • Installation
    • Usage
    • System requirements
    • License

Introduction

WPC (wallpaper changer) is a program that allows the user to set wallpapers for both the desktop and lock screen. It is a simple and easy-to-use application that lets you personalize your computer and make it more visually appealing.

The program supports various image formats and makes it easy to change the wallpaper with a user-friendly interface.

Features

Demo

  • Set wallpapers for both the desktop and lock screen.
  • Store background source directory along with set backgrounds for monitors in a config file.
  • Ability to change the source directory directly from the GUI.
  • No need for sudo (previously required for manually editing /etc/lightdm/*).
  • Clean separation between desktop wallpaper handling and lock screen wallpaper handling.
  • Support for common image formats (JPEG, PNG, BMP, etc.).
  • Multiple wallpaper modes

Planned features/todo list

  • Add Wayland support
  • Migrate from JSON to toml for config
  • Improve security for desktop manager helper
  • Implement support for other desktop manager than LightDM + lightdm-gtk-greeter
  • Implement caching of thumbnails for wallpapers in the UI
  • Add -d flag which should behave like -b flag (which starts with no GUI and sets backgrounds and exits) but keep the software running and switch backgrounds according to algo on a configurable interval

Installation

To install WPC, follow these steps:

git clone https://github.com/webdevred/wpc
cd wpc
gcc nob.c -o nob
./nob

Alternatively, you can use the legacy Makefile:

git clone https://github.com/webdevred/wpc
cd wpc
make

Both build systems should work, but nob is the preferred method.

Usage

You can create this config file in ~/.config/wpc/settings.json before you start the program. If you do not create a config file then source directory will be set to your pictures directory in your home directory.

{
    "sourceDirectoryPath" : "/mnt/HDD/backgrounds/",
    "monitorsWithBackgrounds": []
}
  1. Set Desktop Wallpaper:

    • Open the program by running wpc in your terminal
    • Browse to select an image file from your computer
    • The image will now applied for the correct monitor
  2. Set Lock Screen Wallpaper:

    • Select the "Lock Screen" tab.
    • Follow the same process as the desktop wallpaper to select an image file.

System requirements

Requirements:

  • libxrandr-dev
  • libx11-dev
  • libgtk-4-dev
  • libmagic-dev
  • libcjson-dev
  • libmagickwand-dev
  • imagemagick

Install the requirements like this:

sudo apt update && sudo apt install -y libxrandr-dev libx11-dev libgtk4-dev libcjson-dev libmagickwand-dev

License

WPC is licensed under the MIT License. See the LICENSE file for more information.

About

wpc

Topics

gtk4tiling-window-manager

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.