Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to Crosh #18

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions Smyck.URxvt.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Smyck URxvt Theme
=================

URxvt's theme configuration is through X Resources, so make sure xrdb will load your ``~/.Xdefaults`` during start up. Add the following into your ``~/.Xdefaults``. ::

URxvt.color0: #000000
URxvt.color1: #C75646
URxvt.color2: #8EB33B
URxvt.color3: #D0B03C
URxvt.color4: #72B3CC
URxvt.color5: #C8A0D1
URxvt.color6: #218693
URxvt.color7: #B0B0B0
URxvt.color8: #5D5D5D
URxvt.color9: #E09690
URxvt.color10: #CDEE69
URxvt.color11: #FFE377
URxvt.color12: #9CD9F0
URxvt.color13: #FBB1F9
URxvt.color14: #77DFD8
URxvt.color15: #F7F7F7

Background and foreground is not part of color configuration in URxvt. Use the following to change the colors in URxvt. ::

URxvt.foreground: #FFFFFF
URxvt.background: rgba:2400/2400/2400/dcdc

14 changes: 14 additions & 0 deletions Smyck.crosh.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Smyck Color Theme on Crosh
==========================

Open your 'Secure Shell' App. Enter ``user`` for username, and ``>crosh`` for hostname, this will get you to crosh shell. Now, in the terminal window, open ``Control-Shift-J``, this will show the Javascript Console. To change the color theme, just evaluate the following code. ::

term_.prefs_.set('color-palette-overrides',
['#000000', '#C75646', '#8EB33B', '#D0B03C', '#72B3CC', '#C8A0D1', '#218693', '#B0B0B0', '#5D5D5D', '#E09690', '#CDEE69', '#FFE377', '#9CD9F0', '#FBB1F9', '#77DFD8', '#F7F7F7']);

To set the foreground/background of the terminal. ::

term_.prefs_.set('background-color', '#1C1C1C')
term_.prefs_.set('foreground-color', '#FFFFFF')

Crosh will automatically save this color theme setting under your current profile.