From 5c38fe8396db1f1b589c15706f5a4a2858e630a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20=C3=87olako=C4=9Flu?= Date: Thu, 1 Apr 2021 00:27:02 +0300 Subject: [PATCH] Packages updated --- install.sh | 5 +++-- local/bin/convertToHtmlMultipart | 2 +- local/bin/dmenu-refresh | 2 +- local/bin/kbmap_toggle | 2 +- local/bin/lock | 8 ++++---- local/bin/nm_sendmail.sh | 4 ++-- local/bin/status-bar/bluetooth | 2 +- local/bin/status-bar/dunst | 2 +- local/bin/status-bar/keyboard | 2 +- local/bin/status-bar/mail | 2 +- local/bin/status-bar/network | 2 +- local/bin/status-bar/screensaver | 2 +- local/bin/status-bar/time | 2 +- profile | 4 ++-- 14 files changed, 21 insertions(+), 20 deletions(-) diff --git a/install.sh b/install.sh index 91256fb4..93f42a52 100755 --- a/install.sh +++ b/install.sh @@ -118,8 +118,8 @@ mkdir -p "$JUPYTER_CONFIG_DIR" mkdir -p "$PYLINTHOME" touch "$_Z_DATA" -echo "*/8 * * * * /home/$username/.local/bin/mailsync" >> /var/spool/cron/$username -echo "*/15 * * * * /home/$username/.local/bin/scripts/nextcloud-sync" >> /var/spool/cron/$username +echo "*/8 * * * * /home/$username/.local/share/bin/mailsync" >> /var/spool/cron/$username +echo "*/15 * * * * /home/$username/.local/share/bin/scripts/nextcloud-sync" >> /var/spool/cron/$username echo "*/30 * * * * calcurse-caldav" >> /var/spool/cron/$username echo "*/30 * * * * vdirsyncer sync" >> /var/spool/cron/$username @@ -178,3 +178,4 @@ sudo make install cd $prev sudo rm -rf /etc/sudoers.d/nopwd +rm -rf ~/.bash_profile diff --git a/local/bin/convertToHtmlMultipart b/local/bin/convertToHtmlMultipart index 74073e12..68c3ebe9 100755 --- a/local/bin/convertToHtmlMultipart +++ b/local/bin/convertToHtmlMultipart @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Original Source: https://github.com/oblitum/dotfiles/blob/ArchLinux/.local/bin/MIMEmbellish +# Original Source: https://github.com/oblitum/dotfiles/blob/ArchLinux/.local/share/bin/MIMEmbellish import re import sys diff --git a/local/bin/dmenu-refresh b/local/bin/dmenu-refresh index e9ca0650..05751b31 100755 --- a/local/bin/dmenu-refresh +++ b/local/bin/dmenu-refresh @@ -58,7 +58,7 @@ case $selection in ;; devmon) pkill -f devmon - ~/.local/bin/devmon --exec-on-drive "/sbin/notify-send '禍 drive mounted' '%l (%f) at %d '" \ + ~/.local/share/bin/devmon --exec-on-drive "/sbin/notify-send '禍 drive mounted' '%l (%f) at %d '" \ --exec-on-remove "/sbin/notify-send '禍 drive removed' '%l (%f) from %d '" \ --exec-on-unmount "/sbin/notify-send '禍 drive unmounted' '%l (%f) from %d '" \ --no-unmount --no-gui & diff --git a/local/bin/kbmap_toggle b/local/bin/kbmap_toggle index 3671d07a..ebfebf8f 100755 --- a/local/bin/kbmap_toggle +++ b/local/bin/kbmap_toggle @@ -5,7 +5,7 @@ layout=$(xkb-switch -p) layouts=$(xkb-switch -l | xargs) if [ ! "$layouts" = "us tr" ]; then - ~/.local/bin/keyboard + ~/.local/share/bin/keyboard fi diff --git a/local/bin/lock b/local/bin/lock index 2d5936c3..53443150 100755 --- a/local/bin/lock +++ b/local/bin/lock @@ -1,8 +1,8 @@ #!/bin/sh curl 'http://yeetclock/setcolor?R=2000&G=10&B=000&O=0' & -/home/yigit/.local/bin/pacontrol.sh open-mute -/home/yigit/.local/bin/dunst_toggle.sh -s +/home/yigit/.local/share/bin/pacontrol.sh open-mute +/home/yigit/.local/share/bin/dunst_toggle.sh -s slock -/home/yigit/.local/bin/dunst_toggle.sh -e -/home/yigit/.local/bin/pacontrol.sh toggle-mute +/home/yigit/.local/share/bin/dunst_toggle.sh -e +/home/yigit/.local/share/bin/pacontrol.sh toggle-mute curl 'http://yeetclock/setcolor?R=136&G=192&B=208' & diff --git a/local/bin/nm_sendmail.sh b/local/bin/nm_sendmail.sh index 343a8bbd..5b6300b2 100755 --- a/local/bin/nm_sendmail.sh +++ b/local/bin/nm_sendmail.sh @@ -4,7 +4,7 @@ m="$(cat -)" m64="$(echo -e "$m" | base64)" echo "$m64" > /tmp/test2 -tracking_url=$(/home/yigit/.local/bin/gen_tracking_url "$m64" 2> /tmp/testerr) +tracking_url=$(/home/yigit/.local/share/bin/gen_tracking_url "$m64" 2> /tmp/testerr) echo $tracking_url > /tmp/test3 # Look at the first argument, # Use it to determine the account to use @@ -22,7 +22,7 @@ echo "$@" echo "$message" | cleanHeaders > /tmp/headers echo "msmtp -a $account $@" echo "$message" | sed '/^$/q' | grep -q -i 'markdown: true' \ - && msg=$(echo "$message \n$tracking_url" | cleanHeaders | /home/yigit/.local/bin/convertToHtmlMultipart && echo 1 >> /tmp/state) || msg=$(echo "$message" | cleanHeaders) + && msg=$(echo "$message \n$tracking_url" | cleanHeaders | /home/yigit/.local/share/bin/convertToHtmlMultipart && echo 1 >> /tmp/state) || msg=$(echo "$message" | cleanHeaders) echo "$msg" > /tmp/test echo "$msg" | notmuch insert --folder="$account/sent" +sent -inbox echo "$msg" | msmtp -a $account $@ diff --git a/local/bin/status-bar/bluetooth b/local/bin/status-bar/bluetooth index 96d1d4c3..dc7ad64b 100755 --- a/local/bin/status-bar/bluetooth +++ b/local/bin/status-bar/bluetooth @@ -16,5 +16,5 @@ else fi case $BLOCK_BUTTON in - 1) ~/.local/bin/dmenu-bluetooth;; + 1) ~/.local/share/bin/dmenu-bluetooth;; esac diff --git a/local/bin/status-bar/dunst b/local/bin/status-bar/dunst index 3a500935..7cf56b05 100755 --- a/local/bin/status-bar/dunst +++ b/local/bin/status-bar/dunst @@ -9,5 +9,5 @@ else fi case $BLOCK_BUTTON in - 1) ~/.local/bin/dunst_toggle.sh -t;; + 1) ~/.local/share/bin/dunst_toggle.sh -t;; esac diff --git a/local/bin/status-bar/keyboard b/local/bin/status-bar/keyboard index 6182f0c0..98b096f0 100755 --- a/local/bin/status-bar/keyboard +++ b/local/bin/status-bar/keyboard @@ -6,5 +6,5 @@ echo -n "^c#a3be8c^ ^d^$layout" case $BLOCK_BUTTON in - 1) ~/.local/bin/kbmap_toggle;; + 1) ~/.local/share/bin/kbmap_toggle;; esac diff --git a/local/bin/status-bar/mail b/local/bin/status-bar/mail index df18f62f..9fde5e57 100755 --- a/local/bin/status-bar/mail +++ b/local/bin/status-bar/mail @@ -8,5 +8,5 @@ echo -n "^c#81a1c1^ ^d^ $mcount" case $BLOCK_BUTTON in 1) setsid -f st -c center -n center -e neomutt;; - 1) ~/.local/bin/mailsync;; + 1) ~/.local/share/bin/mailsync;; esac diff --git a/local/bin/status-bar/network b/local/bin/status-bar/network index f9266a42..6ec6df17 100755 --- a/local/bin/status-bar/network +++ b/local/bin/status-bar/network @@ -18,5 +18,5 @@ fi echo -n $icon case $BLOCK_BUTTON in - 1) ~/.local/bin/networkmanager_dmenu;; + 1) ~/.local/share/bin/networkmanager_dmenu;; esac diff --git a/local/bin/status-bar/screensaver b/local/bin/status-bar/screensaver index b26672f2..1747d4ae 100755 --- a/local/bin/status-bar/screensaver +++ b/local/bin/status-bar/screensaver @@ -10,5 +10,5 @@ fi case $BLOCK_BUTTON in - 1) ~/.local/bin/screensaver_toggle -t;; + 1) ~/.local/share/bin/screensaver_toggle -t;; esac diff --git a/local/bin/status-bar/time b/local/bin/status-bar/time index 9eb2450c..046171e4 100755 --- a/local/bin/status-bar/time +++ b/local/bin/status-bar/time @@ -8,4 +8,4 @@ cmd=$(date +"%R") #echo "$ifg $icon $tfg$cmd" echo -n "^c#0f111a^^b#bf616a^ $icon $cmd ^d^" -~/.local/bin/daily-update & # update wallpaper as well +~/.local/share/bin/daily-update & # update wallpaper as well diff --git a/profile b/profile index 2b8eca68..ca7c57fd 100755 --- a/profile +++ b/profile @@ -8,7 +8,7 @@ export SHELL=/bin/zsh export TERMINAL=/usr/local/bin/st export TMUX_PLUGIN_MANAGER_PATH=~/.tmux/plugins export BORG_KEYS_DIR=~/.keys/borg -export BROWSER="/home/yigit/.local/bin/brave-start" +export BROWSER="/home/yigit/.local/share/bin/brave-start" export EDITOR=vim export OPENER=xdg-open export ANDROID_HOME=/home/yigit/Android @@ -18,7 +18,7 @@ export DEFAULT_RECIPIENT="yigitcolakoglu@hotmail.com" export PATH=$ANDROID_HOME/tools:$PATH export PATH=$ANDROID_HOME/platform-tools:$PATH export PATH=$FLUTTER_HOME/bin:$PATH -export PATH="$PATH:$HOME/.local/bin:$HOME/.gem/ruby/2.7.0/bin:$GOPATH/bin:$GOPATH/binexport" +export PATH="$PATH:$HOME/.local/share/bin:$HOME/.gem/ruby/2.7.0/bin:$GOPATH/bin:$GOPATH/binexport" export CPATH=/usr/include/opencv4 # Set XDG Directories