diff --git a/.config/conky/conkybg b/.config/conky/conkybg new file mode 100644 index 0000000..5f439bb --- /dev/null +++ b/.config/conky/conkybg @@ -0,0 +1,118 @@ +use_xft yes +xftfont TamzenForPowerline:pixelsize=12 +#xftfont xft:Inconsolata:size=10:hintstyle=hintfull, -xos4-terminesspowerline-medium-r-normal--12-120-72-72-c-60-iso10646-1 +xftalpha 0.8 +total_run_times 0 +background yes + +cpu_avg_samples 1 +net_avg_samples 2 + +double_buffer yes +no_buffers yes +text_buffer_size 1024 + +own_window yes +own_window_type override +own_window_transparent yes + +out_to_console no +update_interval 10 +alignment top_right + +override_utf8_locale yes +uppercase no +use_spacer right + + +minimum_size 270 10 +maximum_width 270 +gap_x 30 +gap_y 100 + +draw_shades yes +draw_outline no +draw_borders no +border_width 1 +border_inner_margin 1 + +default_bar_size 82 3 +stippled_borders 3 + +default_color FFFFFF +default_shade_color 333333 +default_outline_color 000000 + +short_units yes +pad_percents 2 + +# Lua Script +#lua_load ~/config/clock.lua +#lua_draw_hook_pre clock_rings + +color1 a3c1c8 +color2 00ffff + +TEXT +#${offset 56}${voffset 3}${cpugraph cpu6 17,1}${voffset -1}${cpugraph cpu1 0,50} +#${voffset -30}${offset 110}${font Digital\-7:size=12}${time %H:%M:%S}${font}${alignr} +#${voffset -5}${offset 110}${hr}${voffset 2} +#${font Misc Ohsnap:size=9}${voffset -15} +#${execp cal | cat -e| sed 's/\$/ /g ;s/_^H./\${color2}'"$(date +%e)"'${color}/1; s/_^H.//g; s/^/\${goto 120}/g'} ${voffset -84} + +#${color1}${voffset 73}${offset 56}${stippled_hr}${voffset -27} +#${voffset 0}${offset 56}${cpugraph cpu6 17,1}${color1} + +${voffset -45}${color1} +${alignr}${offset 10}$font | +${alignr}${sysname} --| +${alignr}$font < ${kernel} > kernel --+ | +${alignr}$font < $machine > arch --+ | +${alignr}$font < $uptime > uptime --+ | +${alignr}$font | +${alignr}$font system --+ +${alignr}$font cpu --+ | +${alignr}$font used --+ | | +${alignr}$font < ${cpu 0}% > cpu --+ | | | +${alignr}$font freq --+ | | +${alignr}$font < ${freq 1}mhz > cpu1 --+ | | | +${alignr}$font < ${freq 2}mhz > cpu2 --+ | | | +${alignr}$font < $loadavg > load --+ | | +${alignr}$font < ${top name 1} ${top cpu 1} > --+ | | +${alignr}$font < ${top name 2} ${top cpu 2} > --+ | | +${alignr}$font < ${top name 3} ${top cpu 5} > --+ | | +${alignr}$font processes --+ | +${alignr}$font < $processes > total --+ | | +${alignr}$font < $threads > threads --+ | | +${alignr}$font temp --+ | +${alignr}$font < ${acpitemp} > °C --+ | +${alignr}$font | +${alignr}$font resources --+ +${alignr}$font < $diskio_read > r --+ | +${alignr}$font < $diskio_write > w --+ | +${alignr}$font ram --+ | +${alignr}$font < $memperc% > used --+ | | +${alignr}$font < $mem/$memmax > --+ | | | +${alignr}$font < ${top_mem name 1} ${top_mem mem 1} > --+ | | +${alignr}$font < ${top_mem name 2} ${top_mem mem 2} > --+ | | +${alignr}$font < ${top_mem name 3} ${top_mem mem 3} > --+ | | +${alignr}$font < ${fs_used /}/${fs_size /} > / --+ | +${alignr}$font < ${fs_bar 5,120 /} > --+ | | +${alignr}$font < ${fs_used /home/hate/data}/${fs_size //home/hate/data} > /data --+ | +${alignr}$font < $swapperc% - $swap/$swapmax > swap --+ | +${alignr}$font < ${swapbar 5,120} > --+ | +${alignr}$font | +${alignr}$font networks --+ +${alignr}$font < ${tcp_portmon 1 65535 count} > connections --+ +${alignr}$font < ${tcp_portmon 1 32767 count} > in / locale --+ +${alignr}$font < ${tcp_portmon 1 32767 rhost 0} ${tcp_portmon 1 32767 lservice 0} > --+ | +${alignr}$font < ${tcp_portmon 1 32767 rhost 1} ${tcp_portmon 1 32767 lservice 1} > --+ | +${alignr}$font < ${tcp_portmon 1 32767 rhost 2} ${tcp_portmon 1 32767 lservice 2} > --+ | +${alignr}$font < ${tcp_portmon 32768 61000 count} > out / remote --+ +${alignr}$font < ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0} > --+ | +${alignr}$font < ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1} > --+ | +${alignr}$font < ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2} > --+ | +${alignr}$font < ${upspeed wlp2s0}/s > up --+ +${alignr}$font < ${upspeedgraph wlp2s0 8,120 8b2132 fe8608} > --+ | +${alignr}$font < ${downspeed wlp2s0}/s > down --+ +${alignr}${offset -25}$font < ${downspeedgraph wlp2s0 8,120 8b2132 fe8608} > --+ diff --git a/.config/mopidy/mopidy.conf b/.config/mopidy/mopidy.conf new file mode 100644 index 0000000..11385cc --- /dev/null +++ b/.config/mopidy/mopidy.conf @@ -0,0 +1,129 @@ +# For further information about options in this file see: +# http://docs.mopidy.com/ +# +# The initial commented out values reflect the defaults as of: +# Mopidy 2.1.0 +# Mopidy-File 2.1.0 +# Mopidy-HTTP 2.1.0 +# Mopidy-Local 2.1.0 +# Mopidy-M3U 2.1.0 +# Mopidy-MPD 2.1.0 +# Mopidy-SoftwareMixer 2.1.0 +# Mopidy-Stream 2.1.0 +# +# Available options and defaults might have changed since then, +# run `mopidy config` to see the current effective config and +# `mopidy --version` to check the current version. + +[core] +cache_dir = $XDG_CACHE_DIR/mopidy +config_dir = $XDG_CONFIG_DIR/mopidy +data_dir = $XDG_DATA_DIR/mopidy +#max_tracklist_length = 10000 +#restore_state = false + +[logging] +color = true +console_format = %(levelname)-8s %(message)s +#debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s +debug_file = mopidy.log +#config_file = + +[audio] +output = tee name=t t. ! queue ! autoaudiosink t. ! queue ! audioresample ! audioconvert ! audio/x-raw,rate=44100,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/mpd.fifo +#mixer = software +#mixer_volume = +#output = autoaudiosink +#buffer_time = + +[proxy] +#scheme = +#hostname = +#port = +#username = +#password = + +[mpd] +enabled = true +hostname = 127.0.0.1 +port = 6600 +#password = +#max_connections = 20 +#connection_timeout = 60 +#zeroconf = Mopidy MPD server on $hostname +#command_blacklist = +# listall +# listallinfo +#default_playlist_scheme = m3u + +[gmusic] +username = lahtinen.harri@gmail.com +password = Alicante2014 +deviceid = 3685dcb70f363899 +all_access = true +# Show radio stations in content browser +radio_stations_in_browse = true +# Show radio stations as playlists +radio_stations_as_playlists = false +# Limit the number of radio stations, unlimited if unset +#radio_stations_count = +# Limit the number or tracks for each radio station +radio_tracks_count = 25 + +[http] +#enabled = true +#hostname = 127.0.0.1 +#port = 6680 +#static_dir = +#zeroconf = Mopidy HTTP server on $hostname + +[stream] +#enabled = true +#protocols = +# http +# https +# mms +# rtmp +# rtmps +# rtsp +#metadata_blacklist = +#timeout = 5000 + +[m3u] +#enabled = true +#base_dir = $XDG_MUSIC_DIR +#default_encoding = latin-1 +#default_extension = .m3u8 +#playlists_dir = + +[softwaremixer] +#enabled = true + +[file] +enabled = false +media_dirs = + $XDG_MUSIC_DIR|Music + ~/|Home +excluded_file_extensions = + .jpg + .jpeg +show_dotfiles = false +follow_symlinks = false +metadata_timeout = 1000 + +[local] +#enabled = true +#library = json +#media_dir = $XDG_MUSIC_DIR +#scan_timeout = 1000 +#scan_flush_threshold = 100 +#scan_follow_symlinks = false +#excluded_file_extensions = +# .directory +# .html +# .jpeg +# .jpg +# .log +# .nfo +# .png +# .txt diff --git a/.config/mpd/database b/.config/mpd/database new file mode 100644 index 0000000..9129c71 Binary files /dev/null and b/.config/mpd/database differ diff --git a/.config/mpd/log b/.config/mpd/log new file mode 100644 index 0000000..d90909c --- /dev/null +++ b/.config/mpd/log @@ -0,0 +1,33 @@ +Nov 25 19:58 : exception: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted +Nov 25 19:58 : exception: Failed to open '/home/hate/.config/mpd/state': No such file or directory +Nov 25 19:58 : client: [0] opened from [::1]:37760 +Nov 25 19:58 : exception: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted +Nov 25 19:58 : client: [0] opened from [::1]:37774 +Nov 25 19:58 : client: [0] closed +Nov 25 20:13 : client: [1] opened from [::1]:38034 +Nov 25 21:30 : client: [1] closed +Nov 27 13:09 : exception: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted +Nov 27 13:09 : client: [0] opened from [::1]:39230 +Nov 27 13:09 : client: [0] closed +Nov 27 13:31 : exception: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted +Nov 27 13:31 : client: [0] opened from [::1]:53874 +Nov 27 13:32 : client: [0] closed +Nov 27 16:44 : client: [1] opened from [::1]:55104 +Nov 27 16:44 : client: [1] closed +Nov 27 17:02 : client: [2] opened from [::1]:55618 +Nov 27 17:06 : client: [2] closed +Nov 27 17:09 : client: [3] opened from [::1]:55750 +Nov 27 17:13 : client: [3] closed +Nov 27 17:13 : exception: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted +Nov 27 17:13 : client: [0] opened from [::1]:55796 +Nov 27 17:17 : client: [1] opened from [::1]:55910 +Nov 27 17:22 : client: [0] closed +Nov 27 17:22 : client: [2] opened from [::1]:55952 +Nov 27 17:27 : client: [2] closed +Nov 27 17:27 : client: [3] opened from [::1]:56040 +Nov 27 17:28 : client: [3] closed +Nov 27 17:28 : client: [1] closed +Nov 27 17:29 : exception: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted +Nov 27 17:33 : exception: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted +Nov 27 17:33 : client: [0] opened from [::1]:56592 +Nov 27 17:35 : client: [0] closed diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf new file mode 100644 index 0000000..1f4faac --- /dev/null +++ b/.config/mpd/mpd.conf @@ -0,0 +1,29 @@ +####### MPD CONFIG ####### + +# Required files +db_file "~/.config/mpd/database" +log_file "~/.config/mpd/log" + +# Optional +music_directory "~/Music" +playlist_directory "~/.config/mpd/playlists" +pid_file "~/.config/mpd/pid" +state_file "~/.config/mpd/state" +sticker_file "~/.config/mpd/sticker.sql" + +max_output_buffer_size "16384" + +audio_output { + type "alsa" + name "mpd alsamixer-output" + mixer_type "software" +} + +audio_output { +type "fifo" +name "toggle_visualizer" +path "/tmp/mpd.fifo" +format "44100:16:2" +} + +####### END MPD CONFIG ####### diff --git a/.config/mpd/state b/.config/mpd/state new file mode 100644 index 0000000..917c3a4 --- /dev/null +++ b/.config/mpd/state @@ -0,0 +1,13 @@ +sw_volume: 98 +audio_device_state:1:mpd alsamixer-output +audio_device_state:1:toggle_visualizer +state: stop +random: 0 +repeat: 0 +single: 0 +consume: 0 +crossfade: 0 +mixrampdb: 0.000000 +mixrampdelay: -1.000000 +playlist_begin +playlist_end diff --git a/.config/mpd/sticker.sql b/.config/mpd/sticker.sql new file mode 100644 index 0000000..2c6368f Binary files /dev/null and b/.config/mpd/sticker.sql differ