diff options
| -rw-r--r-- | X11/openbox/rc.xml | 4 | ||||
| -rw-r--r-- | alias | 9 | ||||
| -rwxr-xr-x | mutt/mutt.desktop | 12 |
3 files changed, 14 insertions, 11 deletions
diff --git a/X11/openbox/rc.xml b/X11/openbox/rc.xml index c4d1ddf..e106e89 100644 --- a/X11/openbox/rc.xml +++ b/X11/openbox/rc.xml | |||
| @@ -651,9 +651,7 @@ | |||
| 651 | xdotool search --name "@Mutt" windowactivate || \ | 651 | xdotool search --name "@Mutt" windowactivate || \ |
| 652 | alacritty --title @Mutt \ | 652 | alacritty --title @Mutt \ |
| 653 | --working-directory=/home/pham/Downloads \ | 653 | --working-directory=/home/pham/Downloads \ |
| 654 | -o "window.dimensions.lines=30" \ | 654 | -e ssh -t vps -- mutt |
| 655 | -o "window.dimensions.columns=110" \ | ||
| 656 | -e mutt | ||
| 657 | ' | 655 | ' |
| 658 | </command> | 656 | </command> |
| 659 | </action> | 657 | </action> |
| @@ -5,7 +5,9 @@ alias al="$EDITOR $SETTING_DIR/alias && source $SETTING_DIR/alias" | |||
| 5 | # SHELL {{{ | 5 | # SHELL {{{ |
| 6 | 6 | ||
| 7 | alias eof='IGNOREEOF=10' | 7 | alias eof='IGNOREEOF=10' |
| 8 | path() { echo $PATH | tr : '\n' } # Should not use alias, because $PATH is not initialized | 8 | path() { |
| 9 | echo $PATH | tr : '\n' | ||
| 10 | } | ||
| 9 | eval "${shell}rc(){ | 11 | eval "${shell}rc(){ |
| 10 | local RCFILE=$XDG_CONFIG_HOME/${shell}/.${shell}rc | 12 | local RCFILE=$XDG_CONFIG_HOME/${shell}/.${shell}rc |
| 11 | vim \$RCFILE && source \$RCFILE | 13 | vim \$RCFILE && source \$RCFILE |
| @@ -321,6 +323,9 @@ alias cdV='cd ~/Videos' | |||
| 321 | alias cdM='cd ~/Music' | 323 | alias cdM='cd ~/Music' |
| 322 | alias x='xdg-open' | 324 | alias x='xdg-open' |
| 323 | alias ob.rc='vim ~/.config/openbox/rc.xml' | 325 | alias ob.rc='vim ~/.config/openbox/rc.xml' |
| 326 | desktop() { | ||
| 327 | $EDITOR ~/.local/share/applications/${1}.desktop | ||
| 328 | } | ||
| 324 | # }}} | 329 | # }}} |
| 325 | # EDITOR: VIM {{{ | 330 | # EDITOR: VIM {{{ |
| 326 | alias editor='select-editor' | 331 | alias editor='select-editor' |
| @@ -342,7 +347,7 @@ vll() { vim -c 'Telescope oldfiles'; } | |||
| 342 | alias vS="vim -S /tmp/vim.session" | 347 | alias vS="vim -S /tmp/vim.session" |
| 343 | alias cdv='cd ~/.config/nvim' | 348 | alias cdv='cd ~/.config/nvim' |
| 344 | vs() { which $1 && vim $(which $1); } | 349 | vs() { which $1 && vim $(which $1); } |
| 345 | [ "$shell" = zsh ] && compdef vs=which | 350 | [ ${0##*/} = 'zsh' ] && compdef vs=which |
| 346 | alias vim.dos2unix="vim '+set ff=unix' '+x'" | 351 | alias vim.dos2unix="vim '+set ff=unix' '+x'" |
| 347 | vvv() { | 352 | vvv() { |
| 348 | while true; do | 353 | while true; do |
diff --git a/mutt/mutt.desktop b/mutt/mutt.desktop index 7eb47d2..c6f7556 100755 --- a/mutt/mutt.desktop +++ b/mutt/mutt.desktop | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | [Desktop Entry] | 1 | [Desktop Entry] |
| 2 | Name=Mutt | ||
| 3 | Comment=My beloved mail client | ||
| 4 | Exec=alacritty -e mutt %u | ||
| 5 | MimeType=x-scheme-handler/mailto | ||
| 6 | Terminal=true | ||
| 7 | Type=Application | 2 | Type=Application |
| 8 | Categories=Email;Office;Network; | 3 | Name=Mutt Email Client |
| 4 | Exec=alacritty --title Mutt -e mutt %u | ||
| 5 | Terminal=false | ||
| 6 | MimeType=message/rfc822;application/mbox;application/pgp-encrypted;application/pkcs7-mime;application/x-pkcs7-mime;application/vnd.ms-outlook;application/pdf;image/*;text/html;text/plain;application/octet-stream; | ||
| 7 | Icon=mutt # Replace with the actual icon path if you have one | ||
| 8 | Categories=Network;Email; | ||