Skip to content

Commit

Permalink
fx: allow args and use the real default profile
Browse files Browse the repository at this point in the history
  • Loading branch information
trapd00r committed Mar 28, 2023
1 parent 3e2c2c5 commit a191271
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fx
Expand Up @@ -37,12 +37,12 @@ for my $screen(@screens) {
if($active_status) {
print "using fx profile $monitors{$monitor}\n";
# use the default profile for the middle monitor
$firefox_profile = $monitors{$monitor} eq 'middle' ? 'default' : $monitors{$monitor};
$firefox_profile = $monitors{$monitor} eq 'middle' ? 'default-release' : $monitors{$monitor};
last;
}
}

run(
command => "firefox -P $firefox_profile",
command => "firefox -P $firefox_profile @ARGV",
verbose => 0,
);

0 comments on commit a191271

Please sign in to comment.