Action | Shortcut |
---|---|
about | |
arrange-items-menu | |
back | Alt+Left |
back-alt | BackSpace |
bookmarks-menu | |
cancel-search | Escape |
clear-directory-specific-settings | |
close-all-windows | Ctrl+Shift+w |
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
-- change link into markdown link (e.g. url -> [](url)) and place cursor between brackets | |
vim.keymap.set("n", "<leader>ml", "viWda[](<esc>pa)<esc>F[a") |
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
console.clear() | |
const j = getVil() // JSON.parse(require('fs').readFileSync('./peterxjang-crkbd-3x5_3.vil')) | |
const getMaxLength = (acc, cur) => {if (cur.length > acc) return cur.length;return acc;} | |
const maxKcLength = j.layout.flat().flat().reduce(getMaxLength,0) | |
const nRows = 3 | |
const nCols = 6 | |
const nThumbKeys = 3 | |
const nThumbKeysStickingOut = 1 | |
const layers = j.layout |
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
" vertical bar as cursor in insert mode | |
let &t_SI = "\e[6 q" | |
let &t_EI = "\e[2 q" | |
" allow mouse | |
set mouse=a | |
" sync copy/paste with system clipboard (may need unnamedplus on Linux) | |
set clipboard+=unnamed |
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
// ==UserScript== | |
// @name Youtube Show Likes Percentage | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Show likes/views percentage in search results. | |
// @author Adam Q. | |
// @match https://www.youtube.com/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant GM_xmlhttpRequest | |
// ==/UserScript== |
First things first, the default font is not intended for the swaybar config that comes with Sericea.
Download a font (e.g. JetBrains Mono) from NerdFonts and extract to .local/share/fonts
.
The default terminal is foot, which can be customized by adding $HOME/.config/foot/foot.ini
.
Sample foot config:
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
#!/bin/bash | |
# this is an updated fork | |
# <xbar.title>Octoprint</xbar.title> | |
# <xbar.author>m0a</xbar.author> | |
# <xbar.author.github>m0a</xbar.author.github> | |
# <xbar.version>v1.1</xbar.version> | |
# <xbar.desc>3dprinter control with octoprint api</xbar.desc> | |
# <xbar.image>http://i.imgur.com/biN2ISe.png</xbar.image> | |
# <xbar.dependencies></xbar.dependencies> |
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
#!/bin/bash | |
INITIAL_COUNTER=0 | |
function init_counter() { | |
for file in *; do | |
if [ -f "$file" ]; then | |
pattern='([[:digit:]]+)' | |
[[ "$file" =~ $pattern ]] | |
if [ $((BASH_REMATCH[0])) -gt $((INITIAL_COUNTER)) ]; then |
Button | Hex |
---|---|
Power | BD807F |
Up-Cup | BD0AF5 |
Down-Cup | BD8A75 |
Previous | BD1AE5 |
Next | BDEA15 |
Play/pause | BDFA05 |
Source | BD20DF |
Up | BDD02F |
NewerOlder