From 7cda582e5ce7348908d4cfd69e53ed39d45700ee Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Tue, 20 Jun 2023 14:51:19 -0400 Subject: [PATCH] qbprof: move qutebrowser profile logic to a single script --- src/.config/fish/aliases.fish | 5 ++--- src/.local/bin/qbprof | 4 ++++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100755 src/.local/bin/qbprof diff --git a/src/.config/fish/aliases.fish b/src/.config/fish/aliases.fish index f71aec6..1e6d4c5 100644 --- a/src/.config/fish/aliases.fish +++ b/src/.config/fish/aliases.fish @@ -54,10 +54,9 @@ end # # qutebrowser profiles # -function discord; qutebrowser --basedir ~/.config/qbprof/dsc; end # listenbrainz -function lstb; qutebrowser --basedir ~/.config/qbprof/lstb; end -function work; qutebrowser --basedir ~/.config/qbprof/work; end +function lstb; qbprof lstb; end +function work; qbprof work; end # git stuff abbr -a -- gs git status diff --git a/src/.local/bin/qbprof b/src/.local/bin/qbprof new file mode 100755 index 0000000..d560d13 --- /dev/null +++ b/src/.local/bin/qbprof @@ -0,0 +1,4 @@ +#!/bin/sh +# runs a qutebrowser profile + +qutebrowser --basedir ~/.config/qbprof/"$1"