teddit.net_rss.xml - sfeed_tests - sfeed tests and RSS and Atom files
(HTM) git clone git://git.codemadness.org/sfeed_tests
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
teddit.net_rss.xml (41228B)
---
1 <?xml version="1.0" encoding="UTF-8"?>
2 <rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
3 <channel>
4 <atom:link href="https://teddit.net/r/suckless/?api&type=rss" rel="self" type="application/rss+xml" />
5 <title>/r/suckless</title>
6 <link>https://teddit.net/r/suckless</link>
7 <description>Subreddit feed for: /r/suckless</description>
8
9 <item>
10 <title>[QUESTION] how do i find the font name for a font i downloaded</title>
11 <author>nikanangmou</author>
12 <created>1619434674</created>
13 <pubDate>Mon, 26 Apr 2021 02:57:54 GMT</pubDate>
14 <domain>self.suckless</domain>
15 <id>myo2mn</id>
16 <thumbnail></thumbnail>
17
18 <link>https://teddit.net/r/suckless/comments/myo2mn/question_how_do_i_find_the_font_name_for_a_font_i/</link>
19 <url>https://teddit.net/r/suckless/comments/myo2mn/question_how_do_i_find_the_font_name_for_a_font_i/</url>
20 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>i have just downloaded <a href="https://github.com/microsoft/cascadia-code">this</a> font and i cant seem to find the font name to put in my <code>static const char *fonts[] = { "Noto Sans Mono:size=11", "fontawesome: size=11"};</code></p>
21 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/myo2mn/question_how_do_i_find_the_font_name_for_a_font_i/">[link]</a> <a href="https://teddit.net/r/suckless/comments/myo2mn/question_how_do_i_find_the_font_name_for_a_font_i/">[comments]</a>]]></description>
22 <num_comments>4</num_comments>
23 <ups>2</ups>
24 <stickied>false</stickied>
25 <is_self_link>true</is_self_link>
26 </item>
27
28 <item>
29 <title>Pywal/automatic colors on dwm/st/dmenu</title>
30 <author>DXRaylmao</author>
31 <created>1619430186</created>
32 <pubDate>Mon, 26 Apr 2021 01:43:06 GMT</pubDate>
33 <domain>self.suckless</domain>
34 <id>mymspw</id>
35 <thumbnail></thumbnail>
36
37 <link>https://teddit.net/r/suckless/comments/mymspw/pywalautomatic_colors_on_dwmstdmenu/</link>
38 <url>https://teddit.net/r/suckless/comments/mymspw/pywalautomatic_colors_on_dwmstdmenu/</url>
39 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>Hello
40 I am unable to use pywal on a newly installed dwm (no patches)
41 I have followed the wiki of paywal, and while it works, dmenu isnt showing up with modkey+p
42 I followed both the instructions for dwm and dmenu
43 Any help would be appreciated (or an alternative to pywal too haha ;c )</p>
44 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mymspw/pywalautomatic_colors_on_dwmstdmenu/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mymspw/pywalautomatic_colors_on_dwmstdmenu/">[comments]</a>]]></description>
45 <num_comments>7</num_comments>
46 <ups>1</ups>
47 <stickied>false</stickied>
48 <is_self_link>true</is_self_link>
49 </item>
50
51 <item>
52 <title>xplr - A hackable, minimal, fast TUI file explorer, stealing ideas from nnn and fzf.</title>
53 <author>sayanarijit</author>
54 <created>1619354885</created>
55 <pubDate>Sun, 25 Apr 2021 04:48:05 GMT</pubDate>
56 <domain>github.com</domain>
57 <id>my130j</id>
58 <thumbnail></thumbnail>
59
60 <link>https://teddit.net/r/suckless/comments/my130j/xplr_a_hackable_minimal_fast_tui_file_explorer/</link>
61 <url>https://github.com/sayanarijit/xplr</url>
62 <description><![CDATA[<br/><a href="https://github.com/sayanarijit/xplr">[link]</a> <a href="https://teddit.net/r/suckless/comments/my130j/xplr_a_hackable_minimal_fast_tui_file_explorer/">[comments]</a>]]></description>
63 <num_comments>2</num_comments>
64 <ups>44</ups>
65 <stickied>false</stickied>
66 <is_self_link>false</is_self_link>
67 </item>
68
69 <item>
70 <title>[HELP] how do i display colored text in dwmblocks</title>
71 <author>nikanangmou</author>
72 <created>1619401057</created>
73 <pubDate>Sun, 25 Apr 2021 17:37:37 GMT</pubDate>
74 <domain>self.suckless</domain>
75 <id>myd7jd</id>
76 <thumbnail></thumbnail>
77
78 <link>https://teddit.net/r/suckless/comments/myd7jd/help_how_do_i_display_colored_text_in_dwmblocks/</link>
79 <url>https://teddit.net/r/suckless/comments/myd7jd/help_how_do_i_display_colored_text_in_dwmblocks/</url>
80 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>im using this <code>echo $'\e[1;34m'[$CURRENTDATEONLY]$'\e[0m'</code> which displays colored text when i run it in terminal but it does not work in dwmblocks</p>
81 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/myd7jd/help_how_do_i_display_colored_text_in_dwmblocks/">[link]</a> <a href="https://teddit.net/r/suckless/comments/myd7jd/help_how_do_i_display_colored_text_in_dwmblocks/">[comments]</a>]]></description>
82 <num_comments>2</num_comments>
83 <ups>1</ups>
84 <stickied>false</stickied>
85 <is_self_link>true</is_self_link>
86 </item>
87
88 <item>
89 <title>[ST] Curly Underlines patch for ST</title>
90 <author>HexOctal</author>
91 <created>1619322470</created>
92 <pubDate>Sat, 24 Apr 2021 19:47:50 GMT</pubDate>
93 <domain>i.redd.it</domain>
94 <id>mxrffc</id>
95 <thumbnail></thumbnail>
96
97 <link>https://teddit.net/r/suckless/comments/mxrffc/st_curly_underlines_patch_for_st/</link>
98 <url>https://teddit.net/r/suckless/comments/mxrffc/st_curly_underlines_patch_for_st/</url>
99 <description><![CDATA[<br/><a href="https://teddit.net/r/suckless/comments/mxrffc/st_curly_underlines_patch_for_st/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mxrffc/st_curly_underlines_patch_for_st/">[comments]</a>]]></description>
100 <num_comments>18</num_comments>
101 <ups>41</ups>
102 <stickied>false</stickied>
103 <is_self_link>true</is_self_link>
104 </item>
105
106 <item>
107 <title>[QUESTION] how to remove opacity from dwm</title>
108 <author>nikanangmou</author>
109 <created>1619381281</created>
110 <pubDate>Sun, 25 Apr 2021 12:08:01 GMT</pubDate>
111 <domain>self.suckless</domain>
112 <id>my70ds</id>
113 <thumbnail></thumbnail>
114
115 <link>https://teddit.net/r/suckless/comments/my70ds/question_how_to_remove_opacity_from_dwm/</link>
116 <url>https://teddit.net/r/suckless/comments/my70ds/question_how_to_remove_opacity_from_dwm/</url>
117 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>im on the arcolinux dwm build and it automatically comes installed with a transparent patch, how do i make it so that it will remove the transparency</p>
118
119 <p>my config: </p>
120
121 <p><code>static const unsigned int baralpha = 0xd0;</code> </p>
122
123 <p><code>static const unsigned int borderalpha = OPAQUE;</code></p>
124 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/my70ds/question_how_to_remove_opacity_from_dwm/">[link]</a> <a href="https://teddit.net/r/suckless/comments/my70ds/question_how_to_remove_opacity_from_dwm/">[comments]</a>]]></description>
125 <num_comments>2</num_comments>
126 <ups>2</ups>
127 <stickied>false</stickied>
128 <is_self_link>true</is_self_link>
129 </item>
130
131 <item>
132 <title>ST breaks when I try to launch ncmpcpp</title>
133 <author>IR918</author>
134 <created>1619386498</created>
135 <pubDate>Sun, 25 Apr 2021 13:34:58 GMT</pubDate>
136 <domain>self.suckless</domain>
137 <id>my8g0b</id>
138 <thumbnail></thumbnail>
139
140 <link>https://teddit.net/r/suckless/comments/my8g0b/st_breaks_when_i_try_to_launch_ncmpcpp/</link>
141 <url>https://teddit.net/r/suckless/comments/my8g0b/st_breaks_when_i_try_to_launch_ncmpcpp/</url>
142 <description><![CDATA[<!-- SC_OFF --><div class="md"><p><strong>ST closes itself when I try to open ncmpcpp. I don't know if is it only for me or i need some patch?</strong></p>
143 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/my8g0b/st_breaks_when_i_try_to_launch_ncmpcpp/">[link]</a> <a href="https://teddit.net/r/suckless/comments/my8g0b/st_breaks_when_i_try_to_launch_ncmpcpp/">[comments]</a>]]></description>
144 <num_comments>4</num_comments>
145 <ups>1</ups>
146 <stickied>false</stickied>
147 <is_self_link>true</is_self_link>
148 </item>
149
150 <item>
151 <title>What is the character/white space that can't be navigated in the source code of suckless apps?</title>
152 <author>Acceptable-Grape-329</author>
153 <created>1619373096</created>
154 <pubDate>Sun, 25 Apr 2021 09:51:36 GMT</pubDate>
155 <domain>self.suckless</domain>
156 <id>my533g</id>
157 <thumbnail></thumbnail>
158
159 <link>https://teddit.net/r/suckless/comments/my533g/what_is_the_characterwhite_space_that_cant_be/</link>
160 <url>https://teddit.net/r/suckless/comments/my533g/what_is_the_characterwhite_space_that_cant_be/</url>
161 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>Using the config.def.h file of slstatus as an example in line 68 of the file which is the line that uses the datetime function, the leading space seems like a wide(as big as a tab but with tab I can navigate it column by column) whitespace or character, I tried to search what it is but I can't see any relevant results.</p>
162 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/my533g/what_is_the_characterwhite_space_that_cant_be/">[link]</a> <a href="https://teddit.net/r/suckless/comments/my533g/what_is_the_characterwhite_space_that_cant_be/">[comments]</a>]]></description>
163 <num_comments>2</num_comments>
164 <ups>1</ups>
165 <stickied>false</stickied>
166 <is_self_link>true</is_self_link>
167 </item>
168
169 <item>
170 <title>[NOOB QUESTION] how do i change my system tray color</title>
171 <author>nikanangmou</author>
172 <created>1619353203</created>
173 <pubDate>Sun, 25 Apr 2021 04:20:03 GMT</pubDate>
174 <domain>self.suckless</domain>
175 <id>my0ng2</id>
176 <thumbnail></thumbnail>
177
178 <link>https://teddit.net/r/suckless/comments/my0ng2/noob_question_how_do_i_change_my_system_tray_color/</link>
179 <url>https://teddit.net/r/suckless/comments/my0ng2/noob_question_how_do_i_change_my_system_tray_color/</url>
180 <description><![CDATA[<br/><a href="https://teddit.net/r/suckless/comments/my0ng2/noob_question_how_do_i_change_my_system_tray_color/">[link]</a> <a href="https://teddit.net/r/suckless/comments/my0ng2/noob_question_how_do_i_change_my_system_tray_color/">[comments]</a>]]></description>
181 <num_comments>1</num_comments>
182 <ups>1</ups>
183 <stickied>false</stickied>
184 <is_self_link>true</is_self_link>
185 </item>
186
187 <item>
188 <title>Adding a manual tiling layout to [dwm]</title>
189 <author>SalastroG</author>
190 <created>1619296132</created>
191 <pubDate>Sat, 24 Apr 2021 12:28:52 GMT</pubDate>
192 <domain>self.suckless</domain>
193 <id>mxj01w</id>
194 <thumbnail></thumbnail>
195
196 <link>https://teddit.net/r/suckless/comments/mxj01w/adding_a_manual_tiling_layout_to_dwm/</link>
197 <url>https://teddit.net/r/suckless/comments/mxj01w/adding_a_manual_tiling_layout_to_dwm/</url>
198 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>Hi,</p>
199
200 <p>Is there a patch for a layout that is similar to the functionality of manual tiling window manager (e.g. i3wm)? Sometimes I feel like I want to have something like this but mostly I like dynamic tiling, basically, I want something from both worlds.</p>
201
202 <p>Thx.</p>
203 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mxj01w/adding_a_manual_tiling_layout_to_dwm/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mxj01w/adding_a_manual_tiling_layout_to_dwm/">[comments]</a>]]></description>
204 <num_comments>5</num_comments>
205 <ups>13</ups>
206 <stickied>false</stickied>
207 <is_self_link>true</is_self_link>
208 </item>
209
210 <item>
211 <title>[st] is there a copy hash patch?</title>
212 <author>TheLudd83</author>
213 <created>1619283685</created>
214 <pubDate>Sat, 24 Apr 2021 09:01:25 GMT</pubDate>
215 <domain>self.suckless</domain>
216 <id>mxg6s7</id>
217 <thumbnail></thumbnail>
218
219 <link>https://teddit.net/r/suckless/comments/mxg6s7/st_is_there_a_copy_hash_patch/</link>
220 <url>https://teddit.net/r/suckless/comments/mxg6s7/st_is_there_a_copy_hash_patch/</url>
221 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>I love the <a href="https://st.suckless.org/patches/copyurl/">copyurl</a> patch. Has anyone made patch to copy git commit hashes?</p>
222 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mxg6s7/st_is_there_a_copy_hash_patch/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mxg6s7/st_is_there_a_copy_hash_patch/">[comments]</a>]]></description>
223 <num_comments>1</num_comments>
224 <ups>3</ups>
225 <stickied>false</stickied>
226 <is_self_link>true</is_self_link>
227 </item>
228
229 <item>
230 <title>[QUESTION] how do i change the square that shows if a window is enabled in a tag</title>
231 <author>nikanangmou</author>
232 <created>1619266621</created>
233 <pubDate>Sat, 24 Apr 2021 04:17:01 GMT</pubDate>
234 <domain>self.suckless</domain>
235 <id>mxcghe</id>
236 <thumbnail></thumbnail>
237
238 <link>https://teddit.net/r/suckless/comments/mxcghe/question_how_do_i_change_the_square_that_shows_if/</link>
239 <url>https://teddit.net/r/suckless/comments/mxcghe/question_how_do_i_change_the_square_that_shows_if/</url>
240 <description><![CDATA[<!-- SC_OFF --><div class="md"><p><a href="https://imgur.com/a/tI47E7H">this</a> is what i mean</p>
241 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mxcghe/question_how_do_i_change_the_square_that_shows_if/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mxcghe/question_how_do_i_change_the_square_that_shows_if/">[comments]</a>]]></description>
242 <num_comments>8</num_comments>
243 <ups>6</ups>
244 <stickied>false</stickied>
245 <is_self_link>true</is_self_link>
246 </item>
247
248 <item>
249 <title>Surf Discord Notifications</title>
250 <author>therealsontaran</author>
251 <created>1619284033</created>
252 <pubDate>Sat, 24 Apr 2021 09:07:13 GMT</pubDate>
253 <domain>self.suckless</domain>
254 <id>mxg9hx</id>
255 <thumbnail></thumbnail>
256
257 <link>https://teddit.net/r/suckless/comments/mxg9hx/surf_discord_notifications/</link>
258 <url>https://teddit.net/r/suckless/comments/mxg9hx/surf_discord_notifications/</url>
259 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>I am currently trying to use discord web on surf but can't get sound notifications when I get message. <a href="https://surf.suckless.org/patches/notifications/">Notifications</a> patch doesn't seem like it's working. Is there a way to achieve that?</p>
260 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mxg9hx/surf_discord_notifications/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mxg9hx/surf_discord_notifications/">[comments]</a>]]></description>
261 <num_comments>2</num_comments>
262 <ups>1</ups>
263 <stickied>false</stickied>
264 <is_self_link>true</is_self_link>
265 </item>
266
267 <item>
268 <title>Things I wish I knew before I tried ST</title>
269 <author>CaydendW</author>
270 <created>1619213250</created>
271 <pubDate>Fri, 23 Apr 2021 13:27:30 GMT</pubDate>
272 <domain>self.suckless</domain>
273 <id>mwv8oh</id>
274 <thumbnail></thumbnail>
275
276 <link>https://teddit.net/r/suckless/comments/mwv8oh/things_i_wish_i_knew_before_i_tried_st/</link>
277 <url>https://teddit.net/r/suckless/comments/mwv8oh/things_i_wish_i_knew_before_i_tried_st/</url>
278 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>Hello everyone.<br/>
279 I rectently decided to try the Suckless Terminal. I spent a long time fixing problems which were indeed very trivial. The majority of these having to do with vim. So here are some things I have learned from building my vimrc and my version of ST!<br/>
280 1. Patching
281 This has probably already been said multiple times before but you should always do <code>patch --merge -i</code>. I watched DT's video on dmenu I think it was and whenever a patch failed for him he patched it by hand. This is painfully slow and hard. Instead you could do the above to have it make merge markers like git would do when there is a merge conflict. So you can then go through the files and clean it up like you would with a bad merge on git. I know this has probably been said before but the more people that know how to use <code>--merge</code> the better. </p>
282
283 <ol>
284 <li><p>Vim and colors
285 Ok so this one was quite a quick DuckDuckGo search away but regardless. If you use vim with <code>set termguicolors</code> your colorscheme will not work. Of course this can be fixed by adding these 2 lines to your ~/.vimrc:
286 <code>
287 let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
288 let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
289 </code>
290 I am not sure why this works but this will make all vim colorschemes work like magic. </p></li>
291 <li><p>Vim and the scrollback patch
292 Ok this one drove me insane. I spent 3 days trying to figure out why mouse scrolling in vim did not work. It would always scroll up but never down. Of course keyboard binds worked flawlessly but the mouse would only ever scroll up. This was fixed by adding <code>set ttymouse=sgr</code> to ~/.vimrc. Now scrolling works flawlessly in vim. Beware this is using the scrollback patch not the suckless scroll. I have tried that but I couldn't get that working so I just patched instead. </p></li>
293 <li><p>Font thickness causes weird colour bugs
294 This one was also quite hard to find an answer for but I did. I use Source Code Pro as a terminal font but the issue is the normal one is too thin for me to read. So I use a varient for it: Source Code Pro Semibold. Now when ST can't find a thickness 1 size up: All bright colours are replaced with a normal yellow. I found a solution for this, but be warned: THIS IS A MAJOR KLUDGE! I do not know if this has any adverse effects but it just seems to work. You will get an error in the terminal that says <code>font weight does not match</code> at least on ST 0.8.4. Open x.c in your favourite text editor and find the string <code>font weight does not match</code>. You will find it and you will find a line that says <code>f->badweight = 1;</code>. Now just comment that out (If you can't code in C just put a <code>//</code> infront of the line so it becomes <code>// f->badweight = 1;</code>) Now you can set a font with any thickness and not have any weird colour bugs! </p></li>
295 </ol>
296
297 <p>These are all the tips I can give you. I hope someone out there finds this useful. Thank you suckless team for this wonderful terminal emulator. Just takes some getting used to.</p>
298 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mwv8oh/things_i_wish_i_knew_before_i_tried_st/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mwv8oh/things_i_wish_i_knew_before_i_tried_st/">[comments]</a>]]></description>
299 <num_comments>12</num_comments>
300 <ups>39</ups>
301 <stickied>false</stickied>
302 <is_self_link>true</is_self_link>
303 </item>
304
305 <item>
306 <title>[QUESTION] how do i configure dwmblocks so that the icons and the fonts are in the same line</title>
307 <author>nikanangmou</author>
308 <created>1619270167</created>
309 <pubDate>Sat, 24 Apr 2021 05:16:07 GMT</pubDate>
310 <domain>self.suckless</domain>
311 <id>mxd97n</id>
312 <thumbnail></thumbnail>
313
314 <link>https://teddit.net/r/suckless/comments/mxd97n/question_how_do_i_configure_dwmblocks_so_that_the/</link>
315 <url>https://teddit.net/r/suckless/comments/mxd97n/question_how_do_i_configure_dwmblocks_so_that_the/</url>
316 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>how do i lower the <a href="https://imgur.com/a/hwclbr2">bars icons</a> lower so that they are inline</p>
317 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mxd97n/question_how_do_i_configure_dwmblocks_so_that_the/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mxd97n/question_how_do_i_configure_dwmblocks_so_that_the/">[comments]</a>]]></description>
318 <num_comments>2</num_comments>
319 <ups>2</ups>
320 <stickied>false</stickied>
321 <is_self_link>true</is_self_link>
322 </item>
323
324 <item>
325 <title>dwm Bar Have a Lot of Space in Between Each Letter</title>
326 <author>kristoferus</author>
327 <created>1619278818</created>
328 <pubDate>Sat, 24 Apr 2021 07:40:18 GMT</pubDate>
329 <domain>self.suckless</domain>
330 <id>mxf5fw</id>
331 <thumbnail></thumbnail>
332
333 <link>https://teddit.net/r/suckless/comments/mxf5fw/dwm_bar_have_a_lot_of_space_in_between_each_letter/</link>
334 <url>https://teddit.net/r/suckless/comments/mxf5fw/dwm_bar_have_a_lot_of_space_in_between_each_letter/</url>
335 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>Hi !</p>
336
337 <p>after i change my font from unifont to:</p>
338
339 <p>fc-match monospace</p>
340
341 <p>RobotoMono-Regular.ttf: "Roboto Mono" "Regular"</p>
342
343 <p><code>static const char *fonts[] = { "monospace:size=12:antialias=true:autohint=true", "fontawesome:size=12" };</code></p>
344
345 <p>I have alot of Space in Between Each Letter</p>
346
347 <p>try also other fonts like Mononoki Nerd Font and other fonts but the result is always same</p>
348
349 <p>How can i solve this ?</p>
350
351 <p>Thanks</p>
352
353 <p>regrads</p>
354 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mxf5fw/dwm_bar_have_a_lot_of_space_in_between_each_letter/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mxf5fw/dwm_bar_have_a_lot_of_space_in_between_each_letter/">[comments]</a>]]></description>
355 <num_comments>5</num_comments>
356 <ups>1</ups>
357 <stickied>false</stickied>
358 <is_self_link>true</is_self_link>
359 </item>
360
361 <item>
362 <title>What is the respective responsibilities of the terminal/shell?</title>
363 <author>TheLudd83</author>
364 <created>1619235169</created>
365 <pubDate>Fri, 23 Apr 2021 19:32:49 GMT</pubDate>
366 <domain>self.suckless</domain>
367 <id>mx36so</id>
368 <thumbnail></thumbnail>
369
370 <link>https://teddit.net/r/suckless/comments/mx36so/what_is_the_respective_responsibilities_of_the/</link>
371 <url>https://teddit.net/r/suckless/comments/mx36so/what_is_the_respective_responsibilities_of_the/</url>
372 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>I am going through a deep cleanup phase of the software I use and have begun to use ST instead of any other option. I am now looking if I should change my shell from zsh or not. But when I have considered this I have begun to wonder:</p>
373
374 <p>What should the terminal be responsible for and support? And what should the shell be responsible for and support?<br/>
375 Currently the borders between them are a bit blurry to me and I have never thought of them before.<br/>
376 Feel free to share your personal opinions or links to software with a certain stance on this that you agree with.</p>
377 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mx36so/what_is_the_respective_responsibilities_of_the/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mx36so/what_is_the_respective_responsibilities_of_the/">[comments]</a>]]></description>
378 <num_comments>4</num_comments>
379 <ups>3</ups>
380 <stickied>false</stickied>
381 <is_self_link>true</is_self_link>
382 </item>
383
384 <item>
385 <title>make config.h</title>
386 <author>fuseteam</author>
387 <created>1619208383</created>
388 <pubDate>Fri, 23 Apr 2021 12:06:23 GMT</pubDate>
389 <domain>self.suckless</domain>
390 <id>mwtr1v</id>
391 <thumbnail></thumbnail>
392
393 <link>https://teddit.net/r/suckless/comments/mwtr1v/make_configh/</link>
394 <url>https://teddit.net/r/suckless/comments/mwtr1v/make_configh/</url>
395 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>i was skimming through the make file today and noticed that config.h is a defined rule, at that moment remembered people complaining how having a config.def.h and config.h is inconvenient and how some added config.h to clean</p>
396
397 <p>from what i can tell `make config.h` overwrites config.h with config.def.h so running `sudo make clean config.h install` would do the same thing as adding config.h in the clean section </p>
398
399 <p>as for why it's needed, I personally found it useful to add additional windows rules and such that don't need to be in the default build, it also reduces merge conflicts (especially when you heavily customized it) or you know, preserves your personal config and such</p>
400 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mwtr1v/make_configh/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mwtr1v/make_configh/">[comments]</a>]]></description>
401 <num_comments>4</num_comments>
402 <ups>8</ups>
403 <stickied>false</stickied>
404 <is_self_link>true</is_self_link>
405 </item>
406
407 <item>
408 <title>st + alpha + escape sequence to change background color gives opaque terminal</title>
409 <author>bakkeby</author>
410 <created>1619205958</created>
411 <pubDate>Fri, 23 Apr 2021 11:25:58 GMT</pubDate>
412 <domain>self.suckless</domain>
413 <id>mwt3to</id>
414 <thumbnail></thumbnail>
415
416 <link>https://teddit.net/r/suckless/comments/mwt3to/st_alpha_escape_sequence_to_change_background/</link>
417 <url>https://teddit.net/r/suckless/comments/mwt3to/st_alpha_escape_sequence_to_change_background/</url>
418 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>If you have st with the <a href="https://st.suckless.org/patches/alpha/">alpha</a> patch and you change the background color using an escape sequence then the transparency is lost and the terminal becomes opaque. This is also the case when using tools like <a href="https://github.com/dylanaraps/pywal">pywal</a> and I think a workaround was to use a different value for defaultbg to avoid this.</p>
419
420 <p>Example escape sequence to test this with:</p>
421
422 <pre><code>printf "\033]4;258;#000000\033\\"
423 </code></pre>
424
425 <p>(the 258 value must be the same as the value of defaultbg in your config)</p>
426
427 <p>loiccoyle on github sent me a pull request to fix this and it's actually very simple, borrowing the alpha code from <code>xloadcols</code> and adding them to the end of the <code>xsetcolorname</code> function before the return.</p>
428
429 <pre><code>int
430 xsetcolorname(int x, const char *name)
431 {
432 ...
433 if (x == defaultbg) {
434 if (opt_alpha)
435 alpha = strtof(opt_alpha, NULL);
436 dc.col[defaultbg].color.alpha = (unsigned short)(0xffff * alpha);
437 dc.col[defaultbg].pixel &= 0x00FFFFFF;
438 dc.col[defaultbg].pixel |= (unsigned char)(0xff * alpha) << 24;
439 }
440 return 0;
441 }
442 </code></pre>
443
444 <p>or if you are on an older version of the patch:</p>
445
446 <pre><code>int
447 xsetcolorname(int x, const char *name)
448 {
449 ...
450 if (x == defaultbg && USE_ARGB) {
451 dc.col[defaultbg].color.alpha = alpha << 8;
452 dc.col[defaultbg].color.red = ((dc.col[defaultbg].color.red >> 8) * alpha / 255) << 8;
453 dc.col[defaultbg].color.green = ((dc.col[defaultbg].color.green >> 8) * alpha / 255) << 8;
454 dc.col[defaultbg].color.blue = ((dc.col[defaultbg].color.blue >> 8) * alpha / 255) << 8;
455 }
456 return 0;
457 }
458 </code></pre>
459
460 <p>Posting in case someone might find this useful.</p>
461 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mwt3to/st_alpha_escape_sequence_to_change_background/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mwt3to/st_alpha_escape_sequence_to_change_background/">[comments]</a>]]></description>
462 <num_comments>0</num_comments>
463 <ups>7</ups>
464 <stickied>false</stickied>
465 <is_self_link>true</is_self_link>
466 </item>
467
468 <item>
469 <title>[HELP] emojis in dwmblocks show up as squares</title>
470 <author>nikanangmou</author>
471 <created>1619194893</created>
472 <pubDate>Fri, 23 Apr 2021 08:21:33 GMT</pubDate>
473 <domain>self.suckless</domain>
474 <id>mwqkq2</id>
475 <thumbnail></thumbnail>
476
477 <link>https://teddit.net/r/suckless/comments/mwqkq2/help_emojis_in_dwmblocks_show_up_as_squares/</link>
478 <url>https://teddit.net/r/suckless/comments/mwqkq2/help_emojis_in_dwmblocks_show_up_as_squares/</url>
479 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>i followed luke smiths <a href="https://www.youtube.com/watch?v=0QkByBugq_4">video</a> entirely and still cant properly display emojis is dwmblocks.</p>
480 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mwqkq2/help_emojis_in_dwmblocks_show_up_as_squares/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mwqkq2/help_emojis_in_dwmblocks_show_up_as_squares/">[comments]</a>]]></description>
481 <num_comments>7</num_comments>
482 <ups>8</ups>
483 <stickied>false</stickied>
484 <is_self_link>true</is_self_link>
485 </item>
486
487 <item>
488 <title>How are you restarting your dwmbar?</title>
489 <author>chinchhaj</author>
490 <created>1619213400</created>
491 <pubDate>Fri, 23 Apr 2021 13:30:00 GMT</pubDate>
492 <domain>self.suckless</domain>
493 <id>mwvag2</id>
494 <thumbnail></thumbnail>
495
496 <link>https://teddit.net/r/suckless/comments/mwvag2/how_are_you_restarting_your_dwmbar/</link>
497 <url>https://teddit.net/r/suckless/comments/mwvag2/how_are_you_restarting_your_dwmbar/</url>
498 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>Need suggestion on how are you restarting your dwm status bar set with <code>xsetroot</code> and not the classic <a href="https://github.com/torrinfail/dwmblocks">dwmblocks</a>. I have a script <a href="https://github.com/chhajedji/scripts/blob/master/dwmbar">dwmbar</a> which loads the status bar. Then I use <a href="https://github.com/chhajedji/scripts/blob/master/restartbar.sh">another script</a> which reloads the status bar whenever I press volume key, which takes significant time.</p>
499
500 <p>What restarting script does is kill <code>sleep</code> process in <code>dwmbar</code>
501 <code>
502 { [ $(pgrep -c dwmbar) = "1" ] && pkill -P $(pgrep dwmbar) sleep; } || { pkill dwmbar; dwmbar; }
503 </code></p>
504
505 <p>```
506 $ time (restartbar.sh)</p>
507
508 <p>real 0m0.205s
509 user 0m0.185s
510 sys 0m0.020s</p>
511
512 <p>```</p>
513
514 <p>How can I reduce this time of execution or restart bar in other way which is faster?</p>
515 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mwvag2/how_are_you_restarting_your_dwmbar/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mwvag2/how_are_you_restarting_your_dwmbar/">[comments]</a>]]></description>
516 <num_comments>1</num_comments>
517 <ups>1</ups>
518 <stickied>false</stickied>
519 <is_self_link>true</is_self_link>
520 </item>
521
522 <item>
523 <title>[HELP] python script does not start on dwmblocks no startup</title>
524 <author>nikanangmou</author>
525 <created>1619203079</created>
526 <pubDate>Fri, 23 Apr 2021 10:37:59 GMT</pubDate>
527 <domain>self.suckless</domain>
528 <id>mwse2n</id>
529 <thumbnail></thumbnail>
530
531 <link>https://teddit.net/r/suckless/comments/mwse2n/help_python_script_does_not_start_on_dwmblocks_no/</link>
532 <url>https://teddit.net/r/suckless/comments/mwse2n/help_python_script_does_not_start_on_dwmblocks_no/</url>
533 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>i have a python script which works perfectly fine normally but when i reboot dwm it stops working, i need to recompile it again in order to make it work, this is the file</p>
534
535 <p><code>#!/usr/bin/env python3</code><br/>
536 <code>import requests</code><br/>
537 <code>response = requests.get('https://api.coindesk.com/v1/bpi/currentprice.json')</code><br/>
538 <code>data = response.json()</code><br/>
539 <code>rate = data["bpi"]["USD"]["rate_float"]</code><br/>
540 <code>print("$"+str(int(round(rate,0))))</code></p>
541 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mwse2n/help_python_script_does_not_start_on_dwmblocks_no/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mwse2n/help_python_script_does_not_start_on_dwmblocks_no/">[comments]</a>]]></description>
542 <num_comments>3</num_comments>
543 <ups>1</ups>
544 <stickied>false</stickied>
545 <is_self_link>true</is_self_link>
546 </item>
547
548 <item>
549 <title>How to set up build in st font fallback</title>
550 <author>-tom1slav-</author>
551 <created>1619189413</created>
552 <pubDate>Fri, 23 Apr 2021 06:50:13 GMT</pubDate>
553 <domain>self.suckless</domain>
554 <id>mwpdk5</id>
555 <thumbnail></thumbnail>
556
557 <link>https://teddit.net/r/suckless/comments/mwpdk5/how_to_set_up_build_in_st_font_fallback/</link>
558 <url>https://teddit.net/r/suckless/comments/mwpdk5/how_to_set_up_build_in_st_font_fallback/</url>
559 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>I can not seem to set up the build-in font fallback feature for st :( I have the following fontconfig file:</p>
560
561 <pre><code><?xml version="1.0"?>
562 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
563 <fontconfig>
564 <alias>
565 <family>serif</family>
566 <prefer>
567 <family>Noto Serif</family>
568 <family>Noto Serif CJK</family>
569 <family>Symbols Nerd Font</family>
570 <family>Noto Color Emoji</family>
571 </prefer>
572 </alias>
573 <alias>
574 <family>sans-serif</family>
575 <prefer>
576 <family>Noto Sans</family>
577 <family>Noto Sans CJK</family>
578 <family>Symbols Nerd Font</family>
579 <family>Noto Color Emoji</family>
580 </prefer>
581 </alias>
582 <alias>
583 <family>sans</family>
584 <prefer>
585 <family>Noto Sans</family>
586 <family>Noto Sans CJK</family>
587 <family>Symbols Nerd Font</family>
588 <family>Noto Color Emoji</family>
589 </prefer>
590 </alias>
591 <alias>
592 <family>monospace</family>
593 <prefer>
594 <family>JetBrains Mono</family>
595 <family>Noto Sans Mono</family>
596 <family>Noto Sans CJK</family>
597 <family>Symbols Nerd Font</family>
598 <family>Noto Color Emoji</family>
599 </prefer>
600 </alias>
601 </fontconfig>
602 </code></pre>
603
604 <p>For some reason, I can change the first monospace entry and it changes the main font but all the others are useless for st. If I try to post some CJK characters, I just get blank characters. To replicate, this is my st build: <a href="https://github.com/tom1slav/st">https://github.com/tom1slav/st</a></p>
605
606 <p>I am running this on a basic Arch install with the nonpatched xft library.</p>
607 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mwpdk5/how_to_set_up_build_in_st_font_fallback/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mwpdk5/how_to_set_up_build_in_st_font_fallback/">[comments]</a>]]></description>
608 <num_comments>3</num_comments>
609 <ups>2</ups>
610 <stickied>false</stickied>
611 <is_self_link>true</is_self_link>
612 </item>
613
614 <item>
615 <title>[HELP] dwm blocks scripts not working after reboot</title>
616 <author>nikanangmou</author>
617 <created>1619188653</created>
618 <pubDate>Fri, 23 Apr 2021 06:37:33 GMT</pubDate>
619 <domain>self.suckless</domain>
620 <id>mwp7ib</id>
621 <thumbnail></thumbnail>
622
623 <link>https://teddit.net/r/suckless/comments/mwp7ib/help_dwm_blocks_scripts_not_working_after_reboot/</link>
624 <url>https://teddit.net/r/suckless/comments/mwp7ib/help_dwm_blocks_scripts_not_working_after_reboot/</url>
625 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>the custom script that i have made works after i sudo make install but after i reboot/logout it fails to work, the terminal output a bunch of paths not found for the script, even after i killall dwm blocks and relaunch it with "dwmblocks &" it still does not work, it only works after i compile it again.</p>
626 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mwp7ib/help_dwm_blocks_scripts_not_working_after_reboot/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mwp7ib/help_dwm_blocks_scripts_not_working_after_reboot/">[comments]</a>]]></description>
627 <num_comments>4</num_comments>
628 <ups>2</ups>
629 <stickied>false</stickied>
630 <is_self_link>true</is_self_link>
631 </item>
632
633 <item>
634 <title>dwm-systray-6.2.diff patch sometimes no icons in tray</title>
635 <author>kristoferus</author>
636 <created>1619144273</created>
637 <pubDate>Thu, 22 Apr 2021 18:17:53 GMT</pubDate>
638 <domain>self.suckless</domain>
639 <id>mwb2lv</id>
640 <thumbnail></thumbnail>
641
642 <link>https://teddit.net/r/suckless/comments/mwb2lv/dwmsystray62diff_patch_sometimes_no_icons_in_tray/</link>
643 <url>https://teddit.net/r/suckless/comments/mwb2lv/dwmsystray62diff_patch_sometimes_no_icons_in_tray/</url>
644 <description><![CDATA[<!-- SC_OFF --><div class="md"><p>Hi !</p>
645
646 <p>I use dwm6.2 and also systray 6.2 patch so i can use a tray</p>
647
648 <p>If i start nm-applet i see the icon in right corner -> no problem</p>
649
650 <p>but if start udiskie or volumeicon no icons are visable only a black block but if i click in this black spaceholder the functions of the programs work -> no problem</p>
651
652 <p>But why are no icons visable with this apps ?</p>
653
654 <p>Thanks</p>
655
656 <p>regards</p>
657
658 <p>kristoferus</p>
659 </div><!-- SC_ON --><br/><a href="https://teddit.net/r/suckless/comments/mwb2lv/dwmsystray62diff_patch_sometimes_no_icons_in_tray/">[link]</a> <a href="https://teddit.net/r/suckless/comments/mwb2lv/dwmsystray62diff_patch_sometimes_no_icons_in_tray/">[comments]</a>]]></description>
660 <num_comments>6</num_comments>
661 <ups>8</ups>
662 <stickied>false</stickied>
663 <is_self_link>true</is_self_link>
664 </item>
665
666 </channel>
667