moved to personal fennel config for awesome and added qutebrowser

This commit is contained in:
Chris Cochrun 2020-10-13 17:35:26 -05:00
parent 403cb92b7d
commit 688748f8a6
502 changed files with 8576 additions and 9597 deletions

35
awes2/binaries/profile-image Executable file
View file

@ -0,0 +1,35 @@
#!/usr/bin/env bash
# Depends: Mugshot
# Written by manilarome
awesome_dir="${HOME}/.config/awesome/"
user_profile_dir="${awesome_dir}/configuration/user-profile/"
accountsservice_user_icons="/var/lib/AccountsService/icons/${USER}"
# Check if user image exists
if [ -f "${user_profile_dir}${USER}.png" ];
then
if [ -f "${accountsservice_user_icons}" ];
then
if ! cmp --silent "${user_profile_dir}${USER}.png" "${accountsservice_user_icons}";
then
cp "${accountsservice_user_icons}" "${user_profile_dir}${USER}.png"
fi
printf "${user_profile_dir}${USER}.png"
else
printf "${user_profile_dir}${USER}.png"
fi
exit;
else
if [ -f "${accountsservice_user_icons}" ];
then
cp "${accountsservice_user_icons}" "${user_profile_dir}${USER}.png"
printf "${user_profile_dir}${USER}.png"
exit;
else
printf "default"
exit;
fi
fi