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 | |
# Re-Audio/Sub for MKV files | |
# Run this script from the directory you want to work in | |
# Dependency: mkvtoolnix-cli | |
# Audio and subtitle tracks can be checked in a video player like mpv in its audio track selection or in a program like mkvtoolnix-gui | |
main() { | |
command="find . -name \"*.mkv\" -exec mkvpropedit {} "$commandAudioPart" "$commandSubtitlePart" \;" | |
echo "$command" | |
eval "$command" |
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
let t:is_transparent = 0 | |
function! Toggle_transparent() | |
if t:is_transparent == 0 | |
hi Normal guibg=NONE ctermbg=NONE | |
let t:is_transparent = 1 | |
else | |
set background=dark | |
let t:is_tranparent = 0 | |
endif | |
endfunction |
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
#!/usr/bin/bash | |
# | |
# checkupdates: Safely print a list of pending updates. | |
# | |
# Copyright (c) 2013 Kyle Keen <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. |
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
# make sxhkd reload its configuration files: | |
super + Escape | |
pkill -USR1 -x sxhkd && notify-send -t 1500 "sxhkdrc reloaded" | |
# Media keys | |
XF86AudioPlay | |
mpc toggle | |
XF86AudioNext | |
mpc next |
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
#~/cow; echo | |
function fish_prompt | |
set_color normal | |
echo -n '┌─ ' | |
set_color brred | |
echo -n (whoami) | |
set_color white | |
echo -n '@' | |
set_color brblue |
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
#~/cow; echo | |
fortune | cowsay -d; echo | |
function fish_prompt | |
set_color normal | |
echo -n '┌─ ' | |
set_color FFA500 | |
echo -n (whoami) | |
set_color white | |
echo -n '@' |
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
black = u'\u001b[30m' | |
red = u'\u001b[31m' | |
green = u'\u001b[32m' | |
yellow = u'\u001b[33m' | |
blue = u'\u001b[34m' | |
magenta = u'\u001b[35m' | |
cyan = u'\u001b[36m' | |
white = u'\u001b[37m' | |
normal = u'\u001b[0m' |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |