Commit 6b7d670

xxwhirlpool  ·  2025-08-29 10:27:35 -0400 EDT
parent 749eacd
testing new monospace font (maple mono)
4 files changed,  +20, -7
+5, -5
......@@ -17,8 +17,8 @@ conky.config = {
1717 own_window_class = 'Conky',
1818 own_window_type = 'normal',
1919 -- Colors
20- font = 'JetBrainsMono NF:style=regular:size=13',
21- font1 = 'JetBrainsMono NF:style=regular:size=13',
20+ font = 'Maple Mono NF CN ExtraLight:style=regular:size=13',
21+ font1 = 'Maple Mono NF CN ExtraLight:style=regular:size=13',
2222 color1 = '#c6d0f5', -- accent
2323 color2 = '#c6d0f5', -- accent dimmed
2424 own_window_transparent = false, -- transparency
......@@ -69,9 +69,9 @@ ${goto 24}${color1}Uptime: ${color1}$uptime
6969
7070 ${goto 24}${color1}${font1}Memory ${voffset 8}${font}
7171 ${goto 24}${color1}RAM: ${color1}$mem/$memmax ${alignr}$memperc% ${color1}${membar 4, 124}
72-${goto 24}${color1}Swap: ${color1}$swap/$swapmax ${alignr}$swapperc% ${color1}${swapbar 4, 124}${voffset 8}
72+${goto 24}${color1}Swap: ${color1}$swap/$swapmax ${alignr}$swapperc% ${color1}${swapbar 4, 124}
7373
74-${goto 24}${color1}${font1}Now Playing ${voffset 8}${font}
75-${goto 24}${color1}${execi 5 (python3 /home/kat/Documents/lastfm.py)}
74+${goto 24}${color1}${font1}Now Playing ${font}${voffset 8}
75+${color1}${font1}${execi 5 (/home/kat/Documents/lastfm.sh | sed 's/^/ /')}
7676
7777 ]]
+1, -1
......@@ -11,7 +11,7 @@ include current-theme.conf
1111 #: individual font faces and even specify special fonts for particular
1212 #: characters.
1313
14-font_family JetBrainsMono NF
14+font_family Maple Mono NF CN ExtraLight
1515 # bold_font auto
1616 # italic_font auto
1717 # bold_italic_font auto
+13, -0
......@@ -0,0 +1,13 @@
1+#!/bin/bash
2+
3+user="springpool"
4+LASTFM_APIKEY="x"
5+URL="https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=$user&api_key=$LASTFM_APIKEY&format=json&limit=1"
6+
7+artist=$(curl -s ${URL} | jq -r '.recenttracks.track[0].artist."#text"')
8+album=$(curl -s ${URL} | jq -r '.recenttracks.track[0].album."#text"')
9+song=$(curl -s ${URL} | jq -r '.recenttracks.track[0].name')
10+
11+printf "$artist"
12+
13+printf "\n$album\n$song"
+1, -1
......@@ -1,5 +1,5 @@
11 #!/bin/bash
22
3-cd /home/kat/.config/conky && curl -s "http://wttr.in/New+York?0pqT" | tail -n +2 | magick -size 460x460 xc:black -font "JetBrainsMonoNF-Nerd-Font-Regular" -pointsize 15 -fill "#c6d0f5" -transparent black -annotate +0+0 "@-" wttr.png
3+cd /home/kat/.config/conky && curl -s "http://wttr.in/New+York?0pqT" | tail -n +2 | magick -size 460x460 xc:black -font "Maple Mono NF CN ExtraLight" -pointsize 15 -fill "#cdd4ee" -transparent black -annotate +0+0 "@-" wttr.png
44
55 DISPLAY=:0 conky -c /home/kat/.config/conky/themes/strip-clear/dark-strip-l-clear-1920-1080.conf