Use Termite as default terminal and ranger for file browser
This commit is contained in:
		@@ -310,6 +310,26 @@ function mkd() {
 | 
			
		||||
  }
 | 
			
		||||
#+END_SRC
 | 
			
		||||
 | 
			
		||||
*** Send SMS
 | 
			
		||||
https://doronbehar.com/articles/using-kdeconnect-to-comfortably-send-sms-messages-from-the-shell/#kdeconnects-builtin-sms-interface
 | 
			
		||||
#+begin_src bash
 | 
			
		||||
  sms(){
 | 
			
		||||
      local args="$@"
 | 
			
		||||
      # local phone_number name phone_type
 | 
			
		||||
      # khard phone --parsable | sort -u | fzf | IFS=$'\t' read -r phone_number name phone_type
 | 
			
		||||
      local phone_number=$(khard phone --parsable | sort -u | fzf | cut -f1 -d$'\t')
 | 
			
		||||
      if [[ -z "${phone_number}" ]]; then
 | 
			
		||||
          echo No recipient was chosen >&2
 | 
			
		||||
          return
 | 
			
		||||
      else
 | 
			
		||||
          # echo "${name}"$'\t'"${phone_number}"$'\t'"${phone_type}" > ${_KDECONNECT_SMS_LAST_RECIPIENT}
 | 
			
		||||
          kdeconnect-cli --send-sms "${args}" --destination "${phone_number}" --device 4de3b5de2264a17c
 | 
			
		||||
          # kdeconnect-cli --device ${_KDECONNECT_DEFAULT_DEVICE} --send-sms "${args}" --destination "${phone_number}" && \
 | 
			
		||||
          # echo sent sms message to ${name} | fribidi
 | 
			
		||||
      fi
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
#+end_src
 | 
			
		||||
** Bash History
 | 
			
		||||
Undocumented feature which sets the size to "unlimited". http://stackoverflow.com/questions/9457233/unlimited-bash-history
 | 
			
		||||
 | 
			
		||||
@@ -362,10 +382,10 @@ Force prompt to write history after every command. http://superuser.com/question
 | 
			
		||||
** Default
 | 
			
		||||
#+BEGIN_SRC conf
 | 
			
		||||
  export EDITOR="nvim"
 | 
			
		||||
  export TERMINAL="st"
 | 
			
		||||
  export TERMINAL="termite"
 | 
			
		||||
  export BROWSER="qutebrowser"
 | 
			
		||||
  export READER="zathura"
 | 
			
		||||
  export FILE="vifm"
 | 
			
		||||
  export FILE="ranger"
 | 
			
		||||
#+END_SRC
 | 
			
		||||
 | 
			
		||||
** Exports
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user