-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add customizable statusbar (#31)
* feat: define dark and light color palettes * feat: add customization of status-right & status-left sections * feat: rename to gruvbox_dark256 and implement alpha option * fix: transparency for tabs in left status bar * fix: shellcheck errors * fix: files according to shfmt * feat: remove unnecessary modeline * feat: save palettes as 256 color * feat: update information about dark256 & light256 themes * chore: add changelog entry
- Loading branch information
Showing
10 changed files
with
478 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# simply print passed array | ||
# | ||
# example | ||
# | ||
# myarray=() | ||
# print_array myarray | ||
# | ||
print_array() { | ||
local -n arr # -n available over bash 4.3 | ||
arr=$1 | ||
|
||
echo "" | ||
echo "begin >>>" | ||
printf "%s\n" "${arr[@]}" | ||
echo "<<< end" | ||
echo "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/bin/bash | ||
|
||
########################## | ||
# gruvbox dark pallete | ||
########################## | ||
|
||
#### | ||
# When using 'colour124' you are using the color default in terminal pallete. | ||
# This could be important for people which terminals support only 256 colors | ||
# and does not support HEX values. | ||
# | ||
# The names of colors used from https://github.com/morhetz/gruvbox | ||
|
||
# shellcheck disable=2034 # ignored as this file only contains var definitions | ||
col_bg=colour235 | ||
col_bg0_h=colour234 | ||
col_bg0=colour235 | ||
col_bg1=colour237 | ||
col_bg2=colour239 | ||
col_bg3=colour241 | ||
col_bg4=colour243 | ||
col_gray0=colour246 | ||
col_gray1=colour245 | ||
col_gray2=colour245 | ||
col_bg0_s=colour236 | ||
col_fg=colour223 | ||
col_fg4=colour246 | ||
col_fg3=colour248 | ||
col_fg2=colour250 | ||
col_fg1=colour223 | ||
col_fg0=colour229 | ||
|
||
col_red=colour124 | ||
col_red2=colour167 | ||
col_green=colour106 | ||
col_green2=colour142 | ||
col_yellow=colour172 | ||
col_yellow2=colour214 | ||
col_blue=colour66 | ||
col_blue2=colour109 | ||
col_purple=colour132 | ||
col_purple2=colour175 | ||
col_aqua=colour72 | ||
col_aqua2=colour108 | ||
col_orange=colour166 | ||
col_orange2=colour208 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/bin/bash | ||
|
||
########################## | ||
# gruvbox dark pallete | ||
########################## | ||
|
||
#### | ||
# When using 'colour124' you are using the color default in terminal pallete. | ||
# This could be important for people which terminals support only 256 colors | ||
# and does not support HEX values. | ||
# | ||
# The names of colors used from https://github.com/morhetz/gruvbox | ||
|
||
# shellcheck disable=2034 # ignored as this file only contains var definitions | ||
col_bg=colour229 | ||
col_bg0_h=colour230 | ||
col_bg0=colour229 | ||
col_bg1=colour223 | ||
col_bg2=colour250 | ||
col_bg3=colour248 | ||
col_bg4=colour246 | ||
col_gray0=colour246 | ||
col_gray1=colour245 | ||
col_gray2=colour244 | ||
col_bg0_s=colour228 | ||
col_fg=colour223 | ||
col_fg4=colour243 | ||
col_fg3=colour241 | ||
col_fg2=colour239 | ||
col_fg1=colour237 | ||
col_fg0=colour235 | ||
|
||
col_red=colour124 | ||
col_red2=colour88 | ||
col_green=colour106 | ||
col_green2=colour100 | ||
col_yellow=colour172 | ||
col_yellow2=colour136 | ||
col_blue=colour66 | ||
col_blue2=colour24 | ||
col_purple=colour132 | ||
col_purple2=colour96 | ||
col_aqua=colour72 | ||
col_aqua2=colour66 | ||
col_orange=colour166 | ||
col_orange2=colour130 |
Oops, something went wrong.