diff --git a/apps/de/sway/sway_config b/apps/de/sway/sway_config index 35fbd09..a0adb46 100644 --- a/apps/de/sway/sway_config +++ b/apps/de/sway/sway_config @@ -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 diff --git a/apps/kitty/kitty.conf b/apps/kitty/kitty.conf index da73dd9..c53bb36 100644 --- a/apps/kitty/kitty.conf +++ b/apps/kitty/kitty.conf @@ -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 diff --git a/bin/archive b/bin/archive index dba3675..0b478e6 100755 --- a/bin/archive +++ b/bin/archive @@ -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} " diff --git a/bin/archive.moon b/bin/archive.moon new file mode 100755 index 0000000..c8a7a57 --- /dev/null +++ b/bin/archive.moon @@ -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}" diff --git a/bin/script-opts b/bin/script-opts new file mode 100755 index 0000000..54cf829 --- /dev/null +++ b/bin/script-opts @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +# TODO: helper for taking a data structure and building bash args?