From 76e8a68c34dcbce613255dc4e6c4a7e5b643ce53 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 16 Dec 2019 09:51:21 -0600 Subject: [PATCH] Preparing for weechat stuf --- bin/image-viewer | 2 ++ bin/lib/arch-linux/provisioning/3-extras.bash | 1 + bin/lib/arch-linux/provisioning/4-comms.bash | 11 +++++++++++ bin/setbg | 1 + 4 files changed, 15 insertions(+) create mode 100755 bin/image-viewer create mode 100755 bin/lib/arch-linux/provisioning/4-comms.bash diff --git a/bin/image-viewer b/bin/image-viewer new file mode 100755 index 0000000..aaccf0f --- /dev/null +++ b/bin/image-viewer @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +feh -C /usr/share/fonts/ttf-iosevka-type -e "iosevka-type-regular/12" -d -., "$@" diff --git a/bin/lib/arch-linux/provisioning/3-extras.bash b/bin/lib/arch-linux/provisioning/3-extras.bash index 163456d..258e354 100755 --- a/bin/lib/arch-linux/provisioning/3-extras.bash +++ b/bin/lib/arch-linux/provisioning/3-extras.bash @@ -47,6 +47,7 @@ pacaur --needed -S \ scrot `# Screenshot Tool` \ libinput libinput-gestures `# Trackpad Control` \ xcape `# Escape Better` \ + dunst `# Desktop Notifications` \ --noconfirm --noedit # TODO: recommend systemd services? diff --git a/bin/lib/arch-linux/provisioning/4-comms.bash b/bin/lib/arch-linux/provisioning/4-comms.bash new file mode 100755 index 0000000..b6e81c3 --- /dev/null +++ b/bin/lib/arch-linux/provisioning/4-comms.bash @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +pacaur --needed -S --noconfirm --noedit \ + weechat-poljar-matrix-git weechat-discord-git + +ln -s /usr/lib/weechat/python/matrix/ ~/.weechat/python/ +ln -s /usr/lib/weechat/python/matrix.py ~/.weechat/python/ + +ln -s /usr/lib/weechat/python/matrix.py ~/.weechat/python/autoload/ + +# Scripts are in /usr/lib/weechat/python/matrix/contrib/ diff --git a/bin/setbg b/bin/setbg index 55c155f..0541dd6 100755 --- a/bin/setbg +++ b/bin/setbg @@ -3,5 +3,6 @@ index="${2}" wp_file="${HOME}/.wallpaper${index}" rm -f "${wp_file}" +echo "Setting ${1} as ${wp_file}" ln -s "$(realpath "${1}")" "${wp_file}" "${HOME}/.fehbg"