qbprof: move qutebrowser profile logic to a single script

This commit is contained in:
dogeystamp 2023-06-20 14:51:19 -04:00
parent c044ac6457
commit 7cda582e5c
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 6 additions and 3 deletions

View File

@ -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

4
src/.local/bin/qbprof Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
# runs a qutebrowser profile
qutebrowser --basedir ~/.config/qbprof/"$1"