Chat client for https://twitch.tv
Go to file
Sam Heybey 716b846f4e
Add StartupWMClass property to desktop file (#2587)
This adds the StartupWMClass property to the desktop file, which window managers can use to determine when chatterino has opened and which window belongs to it.

GNOME uses this property, so this will fix #1863. You can test this by applying this patch to the desktop file of an existing install.

Relevant FreeDesktop docs: specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html#key-startupwmclass

Fixes #1863
2021-04-03 16:10:42 +02:00
.CI Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
.docker remove check-format dockerfile 2019-11-02 12:13:01 +01:00
.github Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
cmake Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
docs Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
lib Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
resources Add StartupWMClass property to desktop file (#2587) 2021-04-03 16:10:42 +02:00
src Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
tests Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
tools Add CI workflow to check line endings of all source files (#2082) 2020-10-18 15:54:48 +02:00
.cirrus.yml use packaged qtkeychain on FreeBSD (#1929) 2020-09-01 21:58:23 +02:00
.gitattributes Add .gitattributes file to normalize line endings 2019-09-08 22:01:12 +02:00
.gitignore Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
.gitmodules Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
.prettierignore Add lint github action (#2473) 2021-02-21 14:45:42 +01:00
.prettierrc.toml Add lint github action (#2473) 2021-02-21 14:45:42 +01:00
_.travis.yml Removed obsolete macOS builds workaround (#2395) 2021-01-23 15:53:39 +01:00
appveyor.yml Don't automatically build appveyor 2021-01-02 14:33:15 +01:00
BUILDING_ON_FREEBSD.md Add lint github action (#2473) 2021-02-21 14:45:42 +01:00
BUILDING_ON_LINUX.md Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
BUILDING_ON_MAC.md Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
BUILDING_ON_WINDOWS.md Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
CHANGELOG.md Add StartupWMClass property to desktop file (#2587) 2021-04-03 16:10:42 +02:00
chatterino.pro added limit to cached username colors (#2515) 2021-03-13 15:34:11 +01:00
CMakeLists.txt Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
conanfile.txt Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
CONTRIBUTING.md Add lint github action (#2473) 2021-02-21 14:45:42 +01:00
ISSUE_TEMPLATE.md Create ISSUE_TEMPLATE.md 2018-01-07 00:16:26 +01:00
Jenkinsfile run distclean before making 2018-08-11 14:16:59 +02:00
LICENSE Add LICENSE file (#130) 2017-10-13 21:57:43 +02:00
README.md Fix broken contribution link (#2541) 2021-03-21 14:59:41 +01:00
update_filelist.py Sort file list before writing to project file 2019-09-23 13:24:24 +02:00

alt text Chatterino 2 GitHub Actions Build (Windows, Ubuntu, MacOS) Cirrus CI Build (FreeBSD only) Chocolatey Package

Chatterino 2 is a chat client for Twitch.tv. The Chatterino 2 wiki can be found here. Contribution guidelines can be found here.

Download

Current releases are available at https://chatterino.com. Windows users can also install Chatterino from Chocolatey.

Nightly build

You can download the latest Chatterino 2 build over here

You might also need to install the VC++ 2017 Redistributable from Microsoft if you do not have it installed already.
If you still receive an error about MSVCR120.dll missing, then you should install the VC++ 2013 Restributable.

Building

To get source code with required submodules run:

git clone --recurse-submodules https://github.com/Chatterino/chatterino2.git

or

git clone https://github.com/Chatterino/chatterino2.git
cd chatterino2
git submodule update --init --recursive

Building on Windows

Building on Linux

Building on Mac

Building on FreeBSD

Code style

The code is formatted using clang format in Qt Creator. .clang-format contains the style file for clang format.

Get it automated with QT Creator + Beautifier + Clang Format

  1. Download LLVM: https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/LLVM-11.0.0-win64.exe
  2. During the installation, make sure to add it to your path
  3. In QT Creator, select Help > About Plugins > C++ > Beautifier to enable the plugin
  4. Restart QT Creator
  5. Select Tools > Options > Beautifier
  6. Under General select Tool: ClangFormat and enable Automatic Formatting on File Save
  7. Under Clang Format select Use predefined style: File and Fallback style: None

Qt creator should now format the documents when saving it.

Doxygen

Doxygen is used to generate project information daily and is available here.