Skip to content

Commit

Permalink
[RELEASE v0.1.2] Release Spirit v0.1.2 (bugfix/extra support)
Browse files Browse the repository at this point in the history
  • Loading branch information
antony-jr committed May 18, 2021
1 parent 5af1129 commit af8f67c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@
A C++ program which can attach a gif or any graphic image attach to a X11 application.
**But using with a terminal emulator is recommended.**


**SUPPORTS KDE,GNOME AND PANTHEON(ELEMENTARY OS). BUT PLEASE NOTE ONLY X11 Desktop Environments are supported, no Wayland support.**

**This application is supported on all major desktop environments based on X11.**

**IMPORTANT NOTE**: The pre-built binaries (AppImages) only supports gif and png files to be rendered. So please don't
use webp or other formats with pre-built binaries, this will result in spirit not rendering the image.


**NOTE FOR CINNAMON USERS:** Please add this argument to your init, ``` -y 80 ```.


**NOTE FOR ELEMENTARY OS USERS:** Please execute this command(```$ echo "export QT_STYLE_OVERRIDE=Fusion" >> ~/.bashrc```) once before doing anything. You only have to do this once.



See the demo at https://www.youtube.com/watch?v=KC_MwRyo0js


Expand All @@ -20,7 +25,7 @@ See the demo at https://www.youtube.com/watch?v=KC_MwRyo0js
# Quick Start

```
$ wget "https://github.com/antony-jr/spirit/releases/download/v0.1.1/spirit"
$ wget "https://github.com/antony-jr/spirit/releases/download/v0.1.2/spirit"
$ chmod +x spirit
$ ./spirit init
$ # Now only the focused terminal will have the overlay.
Expand Down Expand Up @@ -50,7 +55,7 @@ Somewhat considered as stable. These builds are usually older than the developme


```
$ wget "https://github.com/antony-jr/spirit/releases/download/v0.1.1/spirit"
$ wget "https://github.com/antony-jr/spirit/releases/download/v0.1.2/spirit"
$ chmod +x spirit
$ ./spirit # Use it now, or move it to /usr/bin/ to install
```
Expand Down
4 changes: 4 additions & 0 deletions release_notes/v0.1.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Spirit v0.1.2

* Avoid invalid code written to .bashrc
* Added support for more DEs.
5 changes: 4 additions & 1 deletion src/windowinfo_p.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ WindowInfoPrivate::WindowInfoPrivate(QObject *parent)
m_ProgramSigns << "konsole"
<< "gnome-terminal"
<< "io.elementary.terminal"
<< "mate-terminal";
<< "mate-terminal"
<< "xfce4-terminal";
}

WindowInfoPrivate::~WindowInfoPrivate() {
Expand Down Expand Up @@ -118,6 +119,8 @@ void WindowInfoPrivate::loop() {
emit yOffHint(-40);
} else if(program == "mate-terminal") {
emit yOffHint(80);
} else if(program == "xfce4-terminal") {
emit yOffHint(70);
}
show = true;
break;
Expand Down

0 comments on commit af8f67c

Please sign in to comment.