Skip to content

Commit

Permalink
fixed a color mismatch and made the urxvt stuff not fail so loudly if…
Browse files Browse the repository at this point in the history
… required files aren't present
  • Loading branch information
mattrixman committed Dec 23, 2019
1 parent 2f61c55 commit 04e7088
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions darken.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export CONSOLE_THEME="dark"
echo "$this_file_parent_dir/darken.sh" > ~/.config/colorshift/target_file.txt

# modify gnome-terminal default profile
#"$this_file_parent_dir/set_gnome_default" Dark
"$this_file_parent_dir/set_gnome_default" Dark

# apply dircolors
source "$this_file_parent_dir/dircolors.sh"
Expand All @@ -18,8 +18,11 @@ dircolors_file ~/.config/dircolors/dircolors-solarized/dircolors.ansi-dark
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=60'

# zsh easy motion
EASY_MOTION_DIM="fg=180,bold"
EASY_MOTION_DIM="fg=60,bold"

# urxvt
cp ~/.config/xresources/Xresources.dark ~/.Xresources
xrdb -load ~/.Xresources
if [ -f ~/.config/xresources/Xresources.dark ]
then
cp ~/.config/xresources/Xresources.dark ~/.Xresources
xrdb -load ~/.Xresources
fi
11 changes: 7 additions & 4 deletions lighten.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export CONSOLE_THEME="light"
echo "$this_file_parent_dir/lighten.sh" > ~/.config/colorshift/target_file.txt

# modify gnome-terminal default profile
#"$this_file_parent_dir/set_gnome_default" Light
"$this_file_parent_dir/set_gnome_default" Light

# apply dircolors
source "$this_file_parent_dir/dircolors.sh"
Expand All @@ -18,8 +18,11 @@ dircolors_file ~/.config/dircolors/dircolors-solarized/dircolors.ansi-dark
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=180'

# zsh easy motion
EASY_MOTION_DIM="fg=60,bold"
EASY_MOTION_DIM="fg=180,bold"

# urxvt
cp ~/.config/xresources/Xresources.light ~/.Xresources
xrdb -load ~/.Xresources
if [ -f ~/.config/xresources/Xresources.light]
then
cp ~/.config/xresources/Xresources.light ~/.Xresources
xrdb -load ~/.Xresources
fi

0 comments on commit 04e7088

Please sign in to comment.