Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinted-nwg-dock

This repo provides templates for using Base16 color schemes with:

a GTK3-based dock for Sway and Hyperland.

All files in themes directory generated by tinted-builder-rust.

Examples

base16-onedark

Example nwg-dock with base16-onedark colorscheme

base16-google-light

Example nwg-dock with base16-google-light colorscheme

Usage

For any type of installation, you are expected to use the CSS @import directive to import the color scheme that tinty generates by default into ~/.local/share/tinted-theming/tinty/ folder.

For example:

/* Color scheme */
@import "/home/blueingreen68/.local/share/tinted-theming/tinty/tinted-nwg-dock-themes-file.css";

window {
  border-width: 3px;
  border-style: solid;
  border-radius: 10px;
  transition: all 200ms ease, opacity 200ms ease;
}

#box {
  /* Define attributes of the box surrounding icons here */
  padding: 5px;
}

button,
image {
  background: none;
  border-style: none;
  box-shadow: none;
}

button {
  padding: 4px;
  margin: 0 4px;
  font-size: 12px;
}

button:hover {
  border-radius: 2px;
}

button:focus {
  box-shadow: 0 0 2px;
}

Note

transition property support only: nwg-dock-hypreland, nwg-dock-drawer written in Rust.

Manual

You can find an example config in examples/style.css.

Place this file in the directory depending on what you are using:

App Path
nwg-dock $XDG_CONFIG_HOME/nwg-dock/
nwg-dock-hyperland $XDG_CONFIG_HOME/nwg-dock-hyperland/
nwg-drawer $XDG_CONFIG_HOME/nwg-drawer/

Tinty

  1. Add the following to ~/.config/tinted-theming/tinty/config.toml:
[[items]]
name = "tinted-nwg-dock"
path = "https://github.com/tinted-theming/tinted-nwg-dock"
themes-dir = "themes"
supported-systems = ["base16"]
  1. Add @import directive to your ~/.config/nwg-dock/style.css with path to ~/.local/share/tinted-theming/tinty/tinted-nwg-dock-themes-file.css, as in the usage section.

  2. tinty apply base16-google-light to change the theme to base16-google-light.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages