Skip to content

Commit

Permalink
updated ncmpcpp bindings and polybar layout
Browse files Browse the repository at this point in the history
  • Loading branch information
kpa28-git committed Mar 22, 2020
1 parent dcb9095 commit 7bd0851
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .config/ncmpcpp/bindings
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,15 @@ def_key "n"
def_key "N"
previous_found_item

def_key "A"
add_selected_items

def_key "space"
pause

def_key "a"
add_item_to_playlist

# not used but bound
def_key "J"
move_sort_order_down
Expand Down Expand Up @@ -630,5 +639,7 @@ def_key "f"
change_browse_mode
def_key "x"
delete_playlist_items
def_key "p"
show_playlist
def_key "P"
show_playlist
13 changes: 11 additions & 2 deletions .config/polybar/config
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ font-8 = Noto Sans Mono CJK JP:size=18;2
;------------
fixed-center = true
line-size = 3
modules-left = airinfo weather spxprice rutprice ethprice
modules-left = airinfo corona weather spxprice rutprice
modules-center = i3
modules-right = nordvpn network wlan date powermenu
modules-right = ethprice nordvpn network wlan date powermenu
tray-position = right
tray-padding = 1

Expand Down Expand Up @@ -311,6 +311,7 @@ label = %output%
;label = %



[module/ethprice]
type = custom/script
click-left = $HOME/.local/bin/polybar/cprice.sh -s 'ETH'
Expand Down Expand Up @@ -343,6 +344,14 @@ interval = 600
label = %{T-}%{T-} %output%


[module/corona]
type = custom/script
click-left = $TERMINAL -e less -S "$HOME/.local/share/coronareport"
exec = $HOME/.local/bin/polybar/corona.sh 'California'
interval = 14400
label = %{T-}ﯭ%{T-} %output%


[module/weather]
type = custom/script
click-left = $TERMINAL -e less -S "$HOME/.local/share/weatherreport"
Expand Down
2 changes: 1 addition & 1 deletion .local/bin
Submodule bin updated from 6190bb to dc3b4e

0 comments on commit 7bd0851

Please sign in to comment.