This file contains hidden or 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
#!/bin/bash | |
# Apply custom color theme for Pantheon Terminal ver 5.3+ | |
# 1) preview and choose a color theme from http://mayccoll.github.io/Gogh/ | |
# 2) open the equivalent bash file containing the color values at https://github.com/Mayccoll/Gogh/tree/master/themes | |
# 3) concatenate all 16 colors at the top with colon ":", then replace it at the palette variable below | |
# 4) replace color for foreground, background, and cursor; choose whether your theme is light or dark | |
# 5) sudo apt-get install dconf-tools | |
# 6) execute this script |
This file contains hidden or 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
/** | |
* Note: I have forked this gist from @getify to rewrite it with variable naming with closer association with hook and state | |
* and added some comments of my own so that it is easier to follow | |
* A demo is live at: https://codepen.io/trongthanh/pen/WaqqoJ?editors=0012 | |
*/ | |
'use strict'; | |
[foo, bar] = enableHooks(foo, bar); | |
function foo(origX, origY) { |
This file contains hidden or 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
// stylelint-disable | |
.highlight pre { color:#cdd3de; background-color: #142026; } | |
.highlight .hll { background-color: #142026; } | |
.highlight .c { color: #65737e; font-style: italic; } /* Comment */ | |
.highlight .err { color: #ec5f67; background-color: #1e0010 } /* Error */ | |
.highlight .k { color: #c594c5 } /* Keyword */ | |
.highlight .l { color: #f99157 } /* Literal */ | |
.highlight .n { color: #f07178 } /* Name */ | |
.highlight .o { color: #5fb3b3 } /* Operator */ | |
.highlight .p { color: #6699cc } /* Punctuation */ |
This file contains hidden or 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
# For Ubuntu MATE, save this config file at ~/.config/marco-compton.conf | |
################################# | |
# | |
# Backend | |
# | |
################################# | |
# Backend to use: "xrender" or "glx". | |
# GLX backend is typically much faster but depends on a sane driver. |
OlderNewer