summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/common/mpd/mpd.conf8
-rw-r--r--config/essentials/zsh/aliases.zsh1
-rw-r--r--config/essentials/zsh/functions.zsh12
-rw-r--r--config/hyprland/waybar/config.jsonc2
4 files changed, 20 insertions, 3 deletions
diff --git a/config/common/mpd/mpd.conf b/config/common/mpd/mpd.conf
index 4e047ba..7ea7137 100644
--- a/config/common/mpd/mpd.conf
+++ b/config/common/mpd/mpd.conf
@@ -10,3 +10,11 @@ audio_output {
type "pulse"
name "pulse audio"
}
+
+audio_output {
+ type "httpd"
+ name "My HTTP Stream"
+ port "8000"
+ always_on "yes" # prevent MPD from disconnecting all listeners when playback is stopped.
+ tags "yes" # httpd supports sending tags to listening streams.
+}
diff --git a/config/essentials/zsh/aliases.zsh b/config/essentials/zsh/aliases.zsh
index a9d3181..8b2da5c 100644
--- a/config/essentials/zsh/aliases.zsh
+++ b/config/essentials/zsh/aliases.zsh
@@ -107,6 +107,7 @@ alias fid='find . -type "d" | grep'
alias sxt='sxiv -t'
alias wgsh='wget --quiet --show-progress'
alias ss4='ss -tln4p | cut -f1 -d,'
+alias mdbw='mariadb -h 0.0.0.0 -P 4033 -u padmin -pbulbizarre padmindb'
# ssh
alias sha='ssh-add'
diff --git a/config/essentials/zsh/functions.zsh b/config/essentials/zsh/functions.zsh
index aa1d640..3243750 100644
--- a/config/essentials/zsh/functions.zsh
+++ b/config/essentials/zsh/functions.zsh
@@ -103,10 +103,10 @@ esc () {
}
delfile () {
- curl ${2:-"https://up.kallipso.be/delete/$1"}
+ curl "${2:-https://up.kallipso.be/delete/$1}"
}
upfile () {
- curl -F "file=@\"$1\"" ${2:-"https://up.kallipso.be"}
+ curl -F "file=@\"$1\"" ${2:-http://0x0.st}
}
sgd () {
@@ -242,3 +242,11 @@ addedkeys () {
fi
done | sed "s,$HOME/.ssh/,,"
}
+
+fpass () {
+ find $HOME/.password-store -type f -not -path ".git" |
+ grep "\.gpg$" |
+ sed "s,$HOME/.password-store/,,;s,\.gpg$,," |
+ fzf |
+ xargs pass show -c
+}
diff --git a/config/hyprland/waybar/config.jsonc b/config/hyprland/waybar/config.jsonc
index 2314fab..816a851 100644
--- a/config/hyprland/waybar/config.jsonc
+++ b/config/hyprland/waybar/config.jsonc
@@ -45,7 +45,7 @@
},
},
"network": {
- "format-wifi": "",
+ "format-wifi": " ",
"tooltip-format-wifi": "{ifname} {essid}",
"format-ethernet": "",
"tooltip-format-ethernet": "{ifname} {ipaddr}",