Skip to content

lvsl123/shell-script-group

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bash scripts to brighten the day in linux

What the files above do

adjustallv2

  • How to use - ./adjustallv2 <value from 0.18 to 1.1>
  • adjust screen brightness and also color temperature
  • requires gammastep to work
  • xcalib in the code will work only on X11
  • works on wlroots wayland and my current Xfce 4.20 with X11 instead of wayland

adjustall:

  • How to use - ./adjustall <value from 0.24 to 1.1>
  • adjust the screen brightness and also other color problems
  • requires xcalib and xrandr. Having bc (calculator in command line) is highly recommended. If you don't want to have autocheck for brightness value errors then you can hardcode the variable brightnessValue or remove all the checks. Do it in your own risk, as setting the wrong brightness especially via command line can make you unable to view the contents of the screen
  • does not work on wayland but works on xfce 4.18 and 4.20

isinvert:

  • holds either true or false as reference of the screen inversion
  • both adjustall and invert will read this file
  • only the shell script invert will change this file

invert:

  • invert/uninvert the screen and save the change to isinvert

bashrc:

  • straight from ubuntu with change in ls and command prompt (user@archlinux) colors
  • put it in your home directory and change filename to .bashrc to use the script. It might occur that you already have the same file in your home directory. Backup that file up first before using this bashrc. For more info please refer to your linux distribution.

Ways to use the files:

  • adjustall: put the file along with a list of scripts that will run once you login the gui so it will do all the adjustment autonatically
  • the command is /home/js/adjustall 1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages