diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/mpd/mpd.conf | 2 | ||||
-rw-r--r-- | .config/polybar/date.ini | 2 | ||||
-rw-r--r-- | .config/polybar/player_mpris_zscroll.ini | 10 | ||||
-rw-r--r-- | .config/sxhkd/sxhkdrc | 14 |
4 files changed, 20 insertions, 8 deletions
diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf index 4ac7cd0..47e2c76 100644 --- a/.config/mpd/mpd.conf +++ b/.config/mpd/mpd.conf @@ -2,7 +2,7 @@ db_file "~/.config/mpd/database" music_directory "~/mus" -log_file "syslog" +log_file "~/.config/mpd/error.log" # Optional functionalities playlist_directory "~/.config/mpd/playlists" diff --git a/.config/polybar/date.ini b/.config/polybar/date.ini index 5096b93..e4777f2 100644 --- a/.config/polybar/date.ini +++ b/.config/polybar/date.ini @@ -22,7 +22,7 @@ time-alt = %H:%M:%S # <label> (default) format-prefix = " " # format-prefix-foreground = ${colors.foreground-alt} -format = <label> +format = %{A3:show_calendar:}<label>%{A} # format-background = #55ff3399 # format-foreground = #fff format-underline = ${colors.cyan} diff --git a/.config/polybar/player_mpris_zscroll.ini b/.config/polybar/player_mpris_zscroll.ini new file mode 100644 index 0000000..201491d --- /dev/null +++ b/.config/polybar/player_mpris_zscroll.ini @@ -0,0 +1,10 @@ +[module/player_mpris_zscroll] +type = custom/script +exec = player_mpris_zscroll_module show +tail = true +interval = 0 + +format-prefix = " " +format = <label> + +click-left = player_mpris_zscroll_module notify diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 1af3ed8..612eaf3 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -154,14 +154,16 @@ super + {Left,Down,Up,Right} XF86AudioMute pactl set-sink-mute @DEFAULT_SINK@ toggle -XF86AudioPrev - playerctl previous +# Actually, not required to separate mpc and pctl here nor +# on next, but still... +{_,shift + } XF86AudioPrev + {mpc -q prev, playerctl previous} -XF86AudioNext - playerctl next +{_,shift + } XF86AudioNext + {mpc -q, playerctl} next -XF86AudioPlay - playerctl play-pause +{_,shift + } XF86AudioPlay + {mpc -q toggle, playerctl play-pause} # XF86AudioMedia # Same as XF86AudioPlay in my keyboard. That's why the 'play-pause' option is used. |