Browse Source

bash: aliases: qr

master
Maxim Likhachev 7 years ago
parent
commit
0af91b1d67
  1. 13
      etc/shell/bash/aliases
  2. 44
      etc/soft/dunst/dunstrc

13
etc/shell/bash/aliases

@ -390,6 +390,16 @@ restart() { su -c "sh /etc/init.d/$1 restart"; }
#{{{ \033[00m\n\b------<Прочее>\n #{{{ \033[00m\n\b------<Прочее>\n
################################################################################ ################################################################################
#- Прогноз погоды
weather() {
curl -H "Accept-Language: ${LANG%_*}" wttr.in/${@}
}
#- Фаза Луны
moon() {
weather "moon?${@}"
}
#- Консольный калькулятор #- Консольный калькулятор
=() { echo "$*" | bc -l; } =() { echo "$*" | bc -l; }
@ -460,6 +470,9 @@ alias ,m="vim -c MRU" #noindex
#- Загрузка текста на ix.io #- Загрузка текста на ix.io
alias ix="curl -F 'f:1=<-' ix.io" alias ix="curl -F 'f:1=<-' ix.io"
#- Создание QR-кода
alias qr="curl -F-=\\<- qrenco.de"
#- Преобразование списка в строку #- Преобразование списка в строку
alias flat="tr '\n' ' '; echo" alias flat="tr '\n' ' '; echo"

44
etc/soft/dunst/dunstrc

@ -162,7 +162,6 @@
foreground = "#ffffff" foreground = "#ffffff"
timeout = 0 timeout = 0
# Every section that isn't one of the above is interpreted as a rules # Every section that isn't one of the above is interpreted as a rules
# to override settings for certain messages. # to override settings for certain messages.
# Messages can be matched by 'appname', 'summary', 'body' or 'icon' # Messages can be matched by 'appname', 'summary', 'body' or 'icon'
@ -181,42 +180,17 @@
# NOTE: It might be helpful to run dunst -print in a terminal in order to find # NOTE: It might be helpful to run dunst -print in a terminal in order to find
# fitting options for rules. # fitting options for rules.
#[espeak] ##########################################################
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore] #[ignore]
## This notification will not be displayed ## This notification will not be displayed
# summary = "foobar" # summary = "foobar"
# format = "" # format = ""
[signed_on] [electron]
appname = Pidgin appname = Electron
summary = "*signed on*" urgency = normal
urgency = low #format = "<b>%a:</b> %s"
format = "<b>%a:</b> %s\n%b"
[signed_off]
appname = Pidgin ##########################################################
summary = *signed off*
urgency = low
[says]
appname = Pidgin
summary = *says*
urgency = critical
format = "%s "%b""
[music]
appname = Amarok
summary = "Now playing"
urgency = low
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#

Loading…
Cancel
Save