Skip to content

Commit 4e10c2e

Browse files
author
MelberGithub
committed
MX-Audacious update
1 parent ccfb684 commit 4e10c2e

File tree

6 files changed

+73
-0
lines changed

6 files changed

+73
-0
lines changed

themes/MX-Audacious/aud-background.sh

100644100755
File mode changed.
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
------------------------
2+
-- MX-Audacious-Discrete --
3+
------------------------
4+
5+
conky.config = {
6+
7+
alignment = 'top_middle',
8+
gap_x = 0,
9+
gap_y = 20,
10+
11+
minimum_height = 20,
12+
maximum_height = 20,
13+
minimum_width = 400,
14+
maximum_width = 900,
15+
16+
default_color = 'ffffff', -- # white
17+
color0 = 'c16b29', --orange (artist name color)
18+
color1 = '92afd5', --light blue (album name color)
19+
color2 = 'f5f5f5', --very light grey (title name color)
20+
21+
22+
own_window = true,
23+
own_window_type = 'normal',
24+
own_window_transparent = true,
25+
own_window_argb_visual = true,
26+
own_window_argb_value = 80,
27+
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
28+
own_window_colour = '000000',
29+
own_window_class = 'Conky',
30+
own_window_title = 'AudaciousDiscreteConky',
31+
32+
background = true,
33+
draw_borders = false,
34+
draw_graph_borders = false,
35+
draw_outline = false,
36+
draw_shades = false,
37+
default_outline_color = '000000', -- #black
38+
default_shade_color = '000000', -- #black
39+
40+
border_outer_margin = 5,
41+
border_width = 5,
42+
stippled_borders = 3,
43+
44+
total_run_times = 0,
45+
update_interval = 2,
46+
no_buffers = true,
47+
double_buffer = true,
48+
cpu_avg_samples = 2,
49+
net_avg_samples = 2,
50+
pad_percents = 2,
51+
short_units = true,
52+
text_buffer_size = 8000,
53+
54+
font = 'DejaVu Sans:size=8',
55+
xftalpha = 1.0,
56+
override_utf8_locale = true,
57+
uppercase = false,
58+
use_spacer = 'right',
59+
use_xft = true,
60+
61+
};
62+
63+
-- fluxbox adjustment
64+
-- requires fluxbox to be running, increase sleep time in conky-startup.sh if necessary
65+
if os.execute('pidof -q fluxbox') and not os.execute('pidof -q picom') then
66+
conky.config.own_window_argb_visual = false
67+
end
68+
69+
conky.text = [[${voffset 5}${color0}${font DejaVu Sans:bold:size=12} ${exec ./aud-artist.sh}${font}\
70+
${color1}${alignr} ${exec ./aud-album.sh} ${font}
71+
${voffset 5}${color2}${font DejaVu Sans:size=11} ${exec ./aud-song.sh}${font}
72+
${if_match "${exec ./aud-background.sh}" == "show_bg"}${image ./bg-black.png -p 0,0 -s 900x50}${endif}
73+
]];
6.87 KB
Loading
-18.7 KB
Loading
-19.5 KB
Loading
-19.9 KB
Loading

0 commit comments

Comments
 (0)