Skip to content

Commit

Permalink
rename example shell configurations (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
BZ committed Jun 19, 2020
1 parent 0910985 commit e23060e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 151 deletions.
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,22 @@ icon_customizer for awesomewm

Features:
------------
- Define your own icons
- Set custom icons for terminal applications
- Define your own icons for applications
- Set custom icons for terminal applications by using regular expressions

Prerequisite:
------------
You need to configure your shell and terminal to support dynamic titles.
Verify your setup by typing `sleep 5` in your terminal. If the title (`WM_NAME`) of the terminal changes while sleep is running, you are good to go.
Otherwise your shell is most likely not configured to show dynamic titles.

Minimal configurations are provided for `bash` and `zsh`:

```
echo "source ~/.config/awesome/icon_customizer/dynamictitles.bash" >> ~/.bashrc
echo "source ~/.config/awesome/icon_customizer/dynamictitles.zsh" >> ~/.zshrc
```


Installation:
------------
Expand All @@ -22,6 +32,14 @@ Clone the repo and import the module:
1. `git clone https://github.com/intrntbrn/icon_customizer ~/.config/awesome/icon_customizer`
1. `echo "require('icon_customizer'){}" >> ~/.config/awesome/rc.lua`

Customization:
------------

| name | default | description |
|---|---|---|
| `positions` | { "left", "right", "top", "bottom" } | border positions
| `button_positions` | { "top" } | button positions |

Example Configuration:
------------
Define your custom icons in `theme.lua`:
Expand Down Expand Up @@ -56,3 +74,6 @@ theme.ic_dynamic_icons = {
```

Limitations:
------------
It is not possible to set custom icons for applications that are constantly updating the icon themselves (e.g. `Gimp`).
10 changes: 0 additions & 10 deletions minimal_bashrc

This file was deleted.

139 changes: 0 additions & 139 deletions minimal_zshrc

This file was deleted.

0 comments on commit e23060e

Please sign in to comment.