added mpd/ncmcpp

This commit is contained in:
aj 2019-03-15 11:09:49 +00:00
parent e945f5503c
commit 1f9be1ac7b
2 changed files with 25 additions and 2 deletions

View File

@ -27,6 +27,7 @@ bindsym Control+$alt+Left workspace prev
bindsym $mod+n exec --no-startup-id $term -e "bash -ic ranger" bindsym $mod+n exec --no-startup-id $term -e "bash -ic ranger"
bindsym $mod+i exec --no-startup-id $term -e "bash -ic nmtui" bindsym $mod+i exec --no-startup-id $term -e "bash -ic nmtui"
bindsym $mod+comma exec --no-startup-id $term -e "bash -ic ncmpcpp"
bindsym $mod+m exec --no-startup-id spotify bindsym $mod+m exec --no-startup-id spotify
bindsym $mod+c exec --no-startup-id firefox bindsym $mod+c exec --no-startup-id firefox
bindsym $mod+o exec --no-startup-id obs --startrecording bindsym $mod+o exec --no-startup-id obs --startrecording
@ -37,7 +38,7 @@ assign [class="obs"] 101:obs
bindsym $mod+shift+l exec pkill -KILL -u andy bindsym $mod+shift+l exec pkill -KILL -u andy
bindsym $mod+l exec --no-startup-id firefox -new-window last.fm/user/sarsoo bindsym $mod+l exec --no-startup-id firefox last.fm/user/sarsoo
bindsym $mod+x exec --no-startup-id firefox 192.168.0.41 bindsym $mod+x exec --no-startup-id firefox 192.168.0.41
set $mod Mod4 set $mod Mod4

View File

@ -63,7 +63,7 @@ font-0 = dina:pixelsize=12;1
font-1 = siji:pixelsize=10;1 font-1 = siji:pixelsize=10;1
font-2 = unifont:size=6;1 font-2 = unifont:size=6;1
modules-left = i3 modules-left = i3 mpd
;modules-center = mpd ;modules-center = mpd
;modules-center = xwindow ;modules-center = xwindow
modules-right = wifi public-ip vpn battery powermenu date modules-right = wifi public-ip vpn battery powermenu date
@ -324,4 +324,26 @@ format-foreground = #ffffff
;format-overline = #3c28d6 ;format-overline = #3c28d6
format-padding = 2 format-padding = 2
[module/mpd]
type = internal/mpd
; Host where mpd is running (either ip or domain name)
; Can also be the full path to a unix socket where mpd is running.
host = 127.0.0.1
port = 6600
; Seconds to sleep between progressbar/song timer sync
; Default: 1
interval = 1
format-online = <label-song>
label-song = %artist% / %album% / %title%
format-online-underline = ${xrdb:color6:#222}
format-online-foreground = #ffffff
;format-underline = ${xrdb:color3:#222}
;format-overline = #3c28d6
format-online-padding = 2
; vim:ft=dosini ; vim:ft=dosini