Kevin Mok
2 years ago
15 changed files with 110 additions and 93 deletions
-
48aliases/key_aliases.tmpl
-
39aliases/key_dirs.tmpl
-
5aliases/key_files.tmpl
-
11dot_config/fish/config.fish.tmpl
-
4dot_config/fish/functions/video-to-gif.fish
-
3dot_config/fish/functions/wget-name.fish
-
3dot_config/i3/config.tmpl
-
36dot_config/i3blocks/i3blocks.conf.tmpl
-
5dot_config/i3blocks/scripts/executable_kraken
-
12dot_config/mpv/input.conf
-
16dot_config/spotify/Users/polarbier-user/prefs.tmpl
-
2dot_gitconfig.tmpl
-
2dot_vimrc.tmpl
-
8scripts/executable_kraken
-
9scripts/executable_ticker
@ -0,0 +1,4 @@ |
|||
function video-to-gif |
|||
# ffmpeg -i $argv[1] -filter_complex "[0:v]setpts=0.5*PTS,fps=24,split [a][b];[a] palettegen [p];[b][p] paletteuse" $argv[2] |
|||
ffmpeg -i $argv[1] -filter_complex "[0:v]fps=24,split [a][b];[a] palettegen [p];[b][p] paletteuse" $argv[2] |
|||
end |
@ -0,0 +1,3 @@ |
|||
function wget-name |
|||
wget $argv[1] -O $argv[2] |
|||
end |
@ -0,0 +1,5 @@ |
|||
#!/bin/bash |
|||
|
|||
. "/home/kevin/.cache/wal/colors.sh" |
|||
ticker=$(~/scripts/kraken $TICKER) |
|||
printf "%s\n\n%s\n" "$ticker" "$color7" |
@ -1,16 +0,0 @@ |
|||
audio.play_bitrate_non_metered_migrated=true |
|||
audio.sync_bitrate_enumeration=4 |
|||
audio.crossfade_v2=true |
|||
gaia.attached_device_id="6ca6cdc7bc677d43534460982c3a13959dd1939c" |
|||
audio.play_bitrate_enumeration=4 |
|||
ui.hide_hpto=true |
|||
ui.track_notifications_enabled=false |
|||
audio.play_bitrate_non_metered_enumeration=4 |
|||
audio.normalize_v2=false |
|||
ui.show_friend_feed=false |
|||
app.player.volume=40000 |
|||
{{ if eq .chezmoi.hostname "x1-carbon" }} |
|||
app.browser.zoom-level=300 |
|||
{{ else }} |
|||
app.browser.zoom-level=75 |
|||
{{ end }} |
@ -0,0 +1,8 @@ |
|||
price=$(curl -s "https://api.kraken.com/0/public/Ticker?pair=$1" | jq -r ".result.$1.b[0]") |
|||
# echo $price |
|||
if (( $(echo "$price < 10" | bc -l) )); then |
|||
printf "%0.3f\n" "$price" | cut -c 3- |
|||
# printf "%0.3f\n" "$price" |
|||
elif (( $(echo "$price < 10000" | bc -l) )); then |
|||
printf "%'0.0f\n" "$price" | sed 's/,//' |
|||
fi |
Write
Preview
Loading…
Cancel
Save
Reference in new issue