Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.02 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.02 KB

CS:GO-like crosshair overlay for awesomewm

Customization:

name default description
screen screen.primary the monitor
visible false visibility on startup
color "#00FF00FF" crosshair color
size 12 crosshair size
thickness 6 crosshair thickness
gap 4 crosshair gap
outline 0 crosshair outline (border)
dot 0 crosshair dot radius
apps nil automatically enable crosshair for applications (e.g. apps = {"Apex Legends", "Counter-Strike.*"})

Installation:

Clone the repo and import the module:

  1. git clone https://github.com/intrntbrn/crosshair ~/.config/awesome/crosshair
  2. echo "require('crosshair')({ visible = true, color = '#00FFFF' })" >> ~/.config/awesome/rc.lua

Toggle:

echo "awesome.emit_signal('crosshair::toggle')" | awesome-client