updated readme, cleaned up configs
This commit is contained in:
parent
8f2c202393
commit
df98e21e3c
|
@ -3,7 +3,8 @@ Cornea is a Python + Gtk application to take screenshots.
|
||||||
|
|
||||||
# Notes
|
# Notes
|
||||||
* Need python 2+
|
* Need python 2+
|
||||||
* ```sudo apt-get install python3```
|
* ```sudo apt-get install python3.8 python3-gi python3-setproctitle python-pyscreenshot```
|
||||||
|
|
||||||
|
|
||||||
# Images
|
# Images
|
||||||
![1 Cornera interface. ](images/pic1.png)
|
![1 Cornera interface. ](images/pic1.png)
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# . CONFIG.sh
|
||||||
|
|
||||||
|
# set -o xtrace ## To debug scripts
|
||||||
|
# set -o errexit ## To exit on error
|
||||||
|
# set -o errunset ## To exit if a variable is referenced but not set
|
||||||
|
|
||||||
|
|
||||||
|
function main() {
|
||||||
|
call_path=`pwd`
|
||||||
|
cd "${call_path}"
|
||||||
|
echo "Working Dir: " $(pwd)
|
||||||
|
|
||||||
|
python /opt/cornea.zip "$@"
|
||||||
|
}
|
||||||
|
main "$@";
|
|
@ -1,8 +1,8 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Cornea
|
Name=Cornea
|
||||||
GenericName=A python screenshot application.
|
GenericName=A Python and Gtk+ screenshot application.
|
||||||
Comment=Take screenshots of your desktop.
|
Comment=Take screenshots of your desktop.
|
||||||
Exec=<your_path>/screenshot
|
Exec=/bin/cornea
|
||||||
Icon=/usr/share/cornea/cornea.png
|
Icon=/usr/share/cornea/cornea.png
|
||||||
Type=Application
|
Type=Application
|
||||||
StartupNotify=true
|
StartupNotify=true
|
Loading…
Reference in New Issue