summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2018-03-10 19:13:23 +0100
committerRasmus Steinke <rasi@xssn.at>2018-03-10 19:13:23 +0100
commit017f5de35f823a6e75d104c44fb0c39a5683fa1e (patch)
tree548f6420f65181cf59ee6040d82c9a1a1e2e3a52
parentcdbeca447b29feeb114d6726bcd01665910a32a2 (diff)
downloadclerk-017f5de35f823a6e75d104c44fb0c39a5683fa1e.tar.gz
clerk-017f5de35f823a6e75d104c44fb0c39a5683fa1e.tar.bz2
add default values for rofi options. should fix #38
-rwxr-xr-xclerk.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/clerk.pl b/clerk.pl
index 45318ed..db56b53 100755
--- a/clerk.pl
+++ b/clerk.pl
@@ -113,8 +113,8 @@ sub parse_config {
tagging => $g->{tagging},
randomartist => $g->{randomartist},
jump_queue => $g->{jump_queue},
- rofi_width => $r->{width},
- rofi_theme => $r->{theme}
+ rofi_width => $r->{width} // default,
+ rofi_theme => $r->{theme} // default
);
my $c = $cfg->param(-block=>'Columns');