dwt1--dotfiles/.config/leftwm/themes
Derek Taylor aea0c13069 Adding new starship prompt. 2022-11-14 11:50:31 -06:00
..
basic_xmobar Adding new starship prompt. 2022-11-14 11:50:31 -06:00
controlling_leftwm Adding leftwm with xmobar. 2022-10-19 17:44:02 -05:00
README.md Adding leftwm with xmobar. 2022-10-19 17:44:02 -05:00
current Cleaning up new leftwm configs. 2022-10-28 12:26:35 -05:00

README.md

Why have themes

With LeftWM, there are two types of configs:

  • LeftWM Configuration files: LeftWM configurations are specific to you and dont change for different themes. These are settings like keybindings, workspace locations, and names of desktops/tags. These settings can be found in ~/.config/leftwm/config.toml.

  • Theme Configuration files: The appearance of your desktop is different. Its fun to try new looks and feels. Its fun to tweak and customize the appearance (AKA: ricing). Its fun to share so others can experience your awesome desktop! LeftWM is built around this concept. By pulling all these settings out into themes, you can now easily tweak, switch, and share your experiences. This configuration is spread between theme.toml and related files contained within a theme's folder.

We want your themes

We are looking to expand the list of available themes for an upcoming release. If you enjoy making desktops look good please consider sharing by making a pull request on the community themes repository.

Requirements for a theme

A theme has only two requirements. An “up” and a “down” executable/script. They can be written in whatever makes you happy. The up script you guessed it starts up all the things that make your script unique and awesome. The down script restores the environment to an un-themes state. A theme should be self contained if possible so that it can be shared and doesnt interfere with other themes. For example when booting an application with a config file, put the config file in the theme folder instead of ~/.config. This way other themes can use the same application

Setup / selection of theme

There are two ways to setup a theme: you can use leftwm-theme or you can set a symlink yourself.

Using LeftWM-theme

Install LeftWM-theme, as per the directions on its Github.

Update your list of themes:

leftwm-theme update

Install the theme you like:

leftwm-theme install "THEME NAME GOES HERE"

Apply the theme you like as the current theme:

leftwm-theme apply "THEME NAME GOES HERE"

To select a theme all that is required is that its located at: ~/.config/leftwm/themes/current It is strongly recommended that you do this with a symlink rather than creating a folder. Using a symlink makes it easy to save all your themes in the folder ~/.config/leftwm/themes and switch between them using a symlink easily.

The following command would set the included basic_polybar to the current theme:

ln -s ~/.config/leftwm/themes/basic_polybar ~/.config/leftwm/themes/current