diff options
author | Rasmus Steinke <rasi@xssn.at> | 2017-09-10 17:12:56 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2017-09-10 17:12:56 +0200 |
commit | a404d5eeb20dd23126a21fa6aeb4aa357a63ddc6 (patch) | |
tree | 6b90f285260c8772b3ec19a06c12c5df70254163 | |
parent | 83b1bcf206ebfcd8f31826aa36aabbd5609f1975 (diff) | |
download | perl-app-clerk-a404d5eeb20dd23126a21fa6aeb4aa357a63ddc6.tar.gz perl-app-clerk-a404d5eeb20dd23126a21fa6aeb4aa357a63ddc6.tar.xz |
add missing config option
-rwxr-xr-x | clerk | 3 | ||||
-rw-r--r-- | clerk.conf | 4 | ||||
-rw-r--r-- | clerk.tmux | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -42,7 +42,6 @@ my $general_cfg = $cfg->param(-block=>"General"); my $mpd_host = $general_cfg->{mpd_host}; my $tmux_config = $general_cfg->{tmux_config}; my $db_file = $general_cfg->{database}; -my $rofi_theme = $general_cfg->{rofi_theme}; my $songs = $general_cfg->{songs}; my $chunksize = $general_cfg->{chunksize}; my $player = $general_cfg->{player}; @@ -198,7 +197,7 @@ sub backend_call { "--bind=esc:$random,alt-a:toggle-all,alt-n:deselect-all", "--with-nth=$fields" ], - rofi => [ "rofi", "-width", "1300", "-matching", "regex", "-dmenu", "-kb-row-tab", "", "-kb-move-word-forward", "", "-kb-accept-alt", "Tab", "-multi-select", "-no-levensthein-sort", "-i", "-p", "> " ] + rofi => [ "rofi", "-width", "1300", "-matching", "regex", "-dmenu", "-kb-row-tab", "", "-kb-move-word-forward", "", "-kb-accept-alt", "Tab", "-multi-select", "-no-levensthein-sort", "-i", "-p", "> " ] ); my $handle = start $backends{$backend} // die('backend not found'), \$input, \$out; $input = join "", (@{$in}); @@ -15,6 +15,9 @@ songs=20 # if mpd drops the connection while updating, reduce this. chunksize=30000 +# rofi theme to use for clerk +rofi_theme=clerk + [Columns] # width of columns albumartist_l=50 @@ -23,3 +26,4 @@ artist_l=66 date_l=6 title_l=50 track_l=2 +rating_l=4 @@ -12,6 +12,8 @@ bind-key -n C-F8 run-shell 'mpc next --quiet' # next song bind-key -n F10 run-shell 'clerk -f -x' # play random album/songs bind-key -n C-F1 run-shell 'clerk -f -y' # show help bind-key -n C-q kill-session -t music # quit clerk + + # Status bar set-option -g status-position top set -g status-interval 30 |