Skip to content

skni-umcs/swiatelka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swiatelka

  • swiatelka - change lights in UMCS windows.

Prerequisites

Installation

  • user in group dialout
  • python3 -m venv venv (optional)
  • source venv/bin/activate (optional)
  • pip install -r requirements.txt

Usage

  • ./swiatelka.py [-h] [-f FILENAME | -c COLOR | -b] [-p]
  • python3 swiatelka.py [-h] [-f FILENAME | -c COLOR | -b] [-p]

Description

Change lights in UMCS windows.

Options
-h, --help Show help message and exit
-f [FILENAME], --filename [FILENAME] Bitmap file to display (you can use your own 5x28px .bmp files or pre-existing templates from the "Grafiki" folder)
-c [COLOR], --color [COLOR] Display solid color on the windows (observe the values corresponding to the color option)
-b, --blackout Turns off all the lights on the windows - changes color to black
-p [PATTERN], --preview [PATTERN] Preview pattern on terminal instead of displaying on the windows
-pa, --preview-all Preview all patterns on terminal from folder "Grafiki"

Pre-existing templates from the "Grafiki" folder :


Values corresponding to the color option :

  • black
  • white
  • light_gray
  • gray
  • dark_gray
  • red
  • pink
  • purple
  • light_blue
  • blue
  • yellow_green
  • green
  • yellow
  • orange
  • brown
  • pale_pink

Mirrors:


Made by SKNI

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages