diff --git a/etc/shell/bash/aliases b/etc/shell/bash/aliases index 7945f17..a453072 100755 --- a/etc/shell/bash/aliases +++ b/etc/shell/bash/aliases @@ -390,6 +390,16 @@ restart() { su -c "sh /etc/init.d/$1 restart"; } #{{{ \033[00m\n\b------<Прочее>\n ################################################################################ +#- Прогноз погоды +weather() { + curl -H "Accept-Language: ${LANG%_*}" wttr.in/${@} +} + +#- Фаза Луны +moon() { + weather "moon?${@}" +} + #- Консольный калькулятор =() { echo "$*" | bc -l; } @@ -460,6 +470,9 @@ alias ,m="vim -c MRU" #noindex #- Загрузка текста на ix.io alias ix="curl -F 'f:1=<-' ix.io" +#- Создание QR-кода +alias qr="curl -F-=\\<- qrenco.de" + #- Преобразование списка в строку alias flat="tr '\n' ' '; echo" diff --git a/etc/soft/dunst/dunstrc b/etc/soft/dunst/dunstrc index 6b27b5a..3edb478 100644 --- a/etc/soft/dunst/dunstrc +++ b/etc/soft/dunst/dunstrc @@ -162,7 +162,6 @@ foreground = "#ffffff" timeout = 0 - # Every section that isn't one of the above is interpreted as a rules # to override settings for certain messages. # 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 # fitting options for rules. -#[espeak] -# summary = "*" -# script = dunst_espeak.sh - -#[script-test] -# summary = "*script*" -# script = dunst_test.sh - +########################################################## #[ignore] ## This notification will not be displayed # summary = "foobar" # format = "" -[signed_on] - appname = Pidgin - summary = "*signed on*" - urgency = low - -[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 -# +[electron] + appname = Electron + urgency = normal + #format = "%a: %s" + format = "%a: %s\n%b" + +########################################################## +