This commit is contained in:
Daniel Flanagan 2020-01-07 10:59:22 -06:00
parent 2456dad7de
commit b1709d1e94
5 changed files with 14 additions and 4 deletions

View File

@ -5,7 +5,7 @@ set $down j
set $up k
set $right l
set $term termite
set $term kitty
set $menu app-launcher
output * bg /home/daniel/usr/.wallpaper fill

View File

@ -2,8 +2,10 @@ font_family Iosevka Term
bold_font Iosevka Term Bold
italic_font Iosevka Term Italic
bold_italic_font Iosevka Term Bold Italic
font_size 11.0
adjust_line_height 0
window_padding_width 18.0
window_margin_width 0.0
enable_audio_bell no

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
archive_name="${1}.tar.zstd"; shift
tar --zstd -cvf "${archive_name}" ${@}
echo "Archive created at: ${archive_name}"
archive_name="$(basename "${1}").tar.zstd"
tar --zstd -cvf "${archive_name}" "${@}"
echo "Archive created at: ${archive_name} "

5
bin/archive.moon Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env moon
archive_name = "#{string.gsub arg[1], "(.*/)(.*)", "%2"}.tar.zstd"
os.execute "tar --zstd -cvf '#{archive_name}' '#{table.concat arg, "' '"}'"
print "Archive created at: #{archive_name}"

3
bin/script-opts Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
# TODO: helper for taking a data structure and building bash args?