aboutsummaryrefslogtreecommitdiff
path: root/fish
diff options
context:
space:
mode:
authorAdrian Kummerlaender2017-02-04 22:08:28 +0100
committerAdrian Kummerlaender2017-02-04 22:08:28 +0100
commit27c3cb4d500606871c92e451f3b766d88763148f (patch)
tree8a6cc7dba5584475c7e748faad9697f5ac73e9a2 /fish
parentb5f7eef7ee6a428ad1709b9291f9ed6655d48da0 (diff)
downloaddotfiles-27c3cb4d500606871c92e451f3b766d88763148f.tar
dotfiles-27c3cb4d500606871c92e451f3b766d88763148f.tar.gz
dotfiles-27c3cb4d500606871c92e451f3b766d88763148f.tar.bz2
dotfiles-27c3cb4d500606871c92e451f3b766d88763148f.tar.lz
dotfiles-27c3cb4d500606871c92e451f3b766d88763148f.tar.xz
dotfiles-27c3cb4d500606871c92e451f3b766d88763148f.tar.zst
dotfiles-27c3cb4d500606871c92e451f3b766d88763148f.zip
Add random bookmark command, mpd/client launcher script
Diffstat (limited to 'fish')
-rw-r--r--fish/.config/fish/config.fish1
-rw-r--r--fish/.config/fish/functions/music.fish9
2 files changed, 9 insertions, 1 deletions
diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish
index f47ea1a..3f16244 100644
--- a/fish/.config/fish/config.fish
+++ b/fish/.config/fish/config.fish
@@ -26,5 +26,4 @@ if [ (hostname) = "obelix" ]
set PATH $PATH /usr/local/bin/ /usr/local/texlive/2014/bin/x86_64-linux ~/.cabal/bin/ ~/.local/bin/ ~/.gem/ruby/2.4.0/bin/
alias i='sxiv'
- alias orb='open ~/webarchive/data/(ls ~/webarchive/data/ | sort -R | head -n 1)/index.html'
end
diff --git a/fish/.config/fish/functions/music.fish b/fish/.config/fish/functions/music.fish
new file mode 100644
index 0000000..0f54f0f
--- /dev/null
+++ b/fish/.config/fish/functions/music.fish
@@ -0,0 +1,9 @@
+function music --description "ncmpcpp launcher"
+ ps -e | grep mpd > /dev/null
+
+ if test $status -eq 1
+ mpd ~/.config/mpd/mpd.conf
+ end
+
+ ncmpcpp
+end