-
Notifications
You must be signed in to change notification settings - Fork 22
Themes
The default appearance of the application can be modified by:
- Specifying the theme file (--set-theme)
- Specifying the theme configuration (--set-theme-config)
Both these options can be set in the config file (~/.config/bluetuith/config) as follows:
set-theme=<theme>
or
set-theme-config=[modifier1=element1,modifier2=element2,...]
It is not recommended to use both of the options at the same time.
A theme configuration is a comma separated list of modifier-color pairs. For example:
Adapter=blue,Device=pink,Background=transparent,Border=white,Menu=green,MenuItem=purple
This theme configuration can be set via the command-line as follows:
bluetuith --set-theme-config='Adapter=blue,Device=pink,Background=transparent,Border=white,Menu=green,MenuItem=purple'
or, in the config file as:
set-theme-config='Adapter=blue,Device=pink,Background=transparent,Border=white,Menu=green,MenuItem=purple'
To see the list of available modifiers and colors, type bluetuith --help
.
Set the adapter name's color on the menubar as well as the adapter selector popup.
Sets the device name's color in the device list.
Sets the device name's color when it is connected.
Sets the device name's color when it has been discovered during a scan.
Sets the device type's color in the device list.
Sets the device property's color in the device list.
Sets the device property's color when it is connected.
Sets the device property's color when it has been discovered during a scan.
Sets the color for the menubar.
Sets the color for the menu buttons.
Sets the color for the menu options.
Sets the color for the progress bar during a file transfer.
Sets the color for the progress bar's description.
Sets the color for the info messages in the statusbar.
Sets the color for the error messages in the statusbar.
Sets the color for the:
- Help popup
- The input field's text
- The progress view's title
- The file picker's title, and file names
Sets the background color.
Sets the border color for the the menu option list, adapter selector and help popups.
A theme file contains a theme configuration, where each modifier-color pair are separated by a newline. Single line comments are allowed.
A theme file is usually stored in ~/.config/bluetuith/themes.
The following is an example of a valid theme file:
# Light theme
# Adapter color
Adapter=black
# Device colors
Device=black
DeviceConnected=black
DeviceDiscovered=orange
# Menu colors
MenuBar=white
Menu=black
MenuItem=black
# Progress colors
ProgressText=black
ProgressBar=black
# Extra colors
Text=black
Border=black
Background=white
StatusInfo=black
This configuration is stored in ~/.config/bluetuith/themes/light-theme, and is set via the commandline as follows:
bluetuith --set-theme='light-theme'