First you need the 'xsel' package.
$> pacman -S xsel
Then create aliases.
alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
| # ~/.config/starship.toml | |
| [battery] | |
| full_symbol = "🔋" | |
| charging_symbol = "🔌" | |
| discharging_symbol = "⚡" | |
| [[battery.display]] | |
| threshold = 30 | |
| style = "bold red" |
| # Configuration for Alacritty, the GPU enhanced terminal emulator. | |
| # Any items in the `env` entry below will be added as | |
| # environment variables. Some entries may override variables | |
| # set by alacritty itself. | |
| #env: | |
| # TERM variable | |
| # | |
| # This value is used to set the `$TERM` environment variable for | |
| # each instance of Alacritty. If it is not present, alacritty will |
| [ | |
| { | |
| "key": "ctrl+shift+tab", | |
| "command": "workbench.action.previousEditor" | |
| }, | |
| { | |
| "key": "ctrl+tab", | |
| "command": "workbench.action.nextEditor" | |
| } | |
| ] |
| const romanNumerals = [ | |
| [1000, "M"], [500, "D"], [100, "C"], | |
| [50, "L"], [10, "X"], [5, "V"], [1, "I"] | |
| ]; | |
| const toRomeRecursion = (function convert(index, number) { | |
| if (number === 0) return ''; | |
| let [romanNumber, romanLiteral] = romanNumerals[index]; | |
| if (number < romanNumber) return convert(index+1, number); |