Skip to content

Commit

Permalink
fix title capitalization
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
M. Fatih Cırıt committed Sep 3, 2024
1 parent 3afa594 commit 0717c98
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions ansible/roles/qt5ct_setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The `qt5ct_setup` Ansible role automates the configuration of the `qt5ct` environment for Autoware. It ensures `qt5ct` is installed, configures the `qt5ct` settings, updates the QSS file paths, and ensures the correct Autoware directory is used.

## Role Variables
## Role variables

This role does not require any external variables. It dynamically determines the Autoware directory within the user's home directory.

Expand All @@ -14,39 +14,39 @@ This role does not require any external variables. It dynamically determines the

Installs the `qt5ct` package if it is not already present on the system.

### 2. Find Autoware Directory
### 2. Find Autoware directory

Searches for directories named `autoware` within the user's home directory and verifies they contain the `ansible` folder to ensure it's the correct Autoware directory.

### 3. Comment Out `QT_QPA_PLATFORMTHEME` Export Line
### 3. Comment out `QT_QPA_PLATFORMTHEME` export line

Finds and comments out any `QT_QPA_PLATFORMTHEME=qt5ct` export lines in the `/etc/X11/Xsession.d` directory to prevent conflicts with other qt applications.

### 4. Ensure qt5ct Configuration Directory Exists
### 4. Ensure qt5ct configuration directory exists

Creates the `qt5ct` configuration directory (`~/.config/qt5ct`) if it does not exist.

### 5. Copy Base `qt5ct.conf`
### 5. Copy base `qt5ct.conf`

Copies a base `qt5ct.conf` configuration file if it does not already exist in the `~/.config/qt5ct` directory.

### 6. Append New Stylesheet
### 6. Append new stylesheet

Appends the new stylesheet path to the `qt5ct.conf` file, ensuring it does not overwrite existing stylesheets.

### 7. Set Color Scheme and Style
### 7. Set color scheme and style

Ensures the color scheme is set to `darker.conf` and the style is set to `Fusion` in the `qt5ct.conf` file.

### 8. Update QSS File Paths
### 8. Update QSS file paths

Updates the paths in the `autoware.qss` file to use absolute paths for icons.

## Usage

Include the `qt5ct_setup` role in your playbook. Ensure your playbook includes the `autoware` directory and the required files (`base-qt5ct.conf` and `autoware.qss`) in the appropriate locations.

### Example Playbook
### Example playbook

```yaml
- name: Setup qt5ct for Autoware
Expand All @@ -55,7 +55,7 @@ Include the `qt5ct_setup` role in your playbook. Ensure your playbook includes t
- qt5ct_setup
```
## File Structure
## File structure
```
qt5ct_setup/
Expand Down

0 comments on commit 0717c98

Please sign in to comment.