summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-12-21 12:19:42 +0100
committerGravatar Tom Willemsen2011-12-21 12:19:42 +0100
commit1111b7d5af8ac2c612e357337d9f0e61421bed48 (patch)
treedb625324db8879ac142dbdeb5c7ae1fd41e92ab8
parent2ca89c32f57dd7e2389a52926521a3593e7d6948 (diff)
downloaddotfiles-1111b7d5af8ac2c612e357337d9f0e61421bed48.tar.gz
dotfiles-1111b7d5af8ac2c612e357337d9f0e61421bed48.zip
FISH: Add 2 commands, engage and lscompmod
engage: Plays a star trek-like starship noise lscompmod: Show which kernel modules are being used
-rwxr-xr-x.config/fish/config.fish8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 17a8e2d..2dbfa0d 100755
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -72,5 +72,13 @@ function reboot
org.freedesktop.ConsoleKit.Manager.Restart
end
+function engage
+ play -n -c1 synth whitenoise band -n 100 20 band -n 50 20 gain +25 fade h 1 864000 1
+end
+
+function lscompmod -d "List kernel modules used by hardware"
+ lspci -mvk | awk '/^Module/ {print $2}' | sort -u
+end
+
set -x PAGER 'less -FXRS'
set -x BROWSER firefox