Skip to content

u/ctdunc

In this archive from Oct 2019 to Apr 2020

1
posts
17
comments
1
media
214
score

Have you actually started dunst? You need to point it at an appropriate config file for it to work (there's a sample somewhere in /use/share/dunst, look at the manpage)

Absent that, try disabling notifications for both.

1 points

The issue I typically have with electron applications is their attempts to display notifications without a notification manager running. Spotify attempts to display notifications when you change the song, which, if you don't have a program to display notifications could be causing the issue (or if your dunst or what have you isn't configured to display spotify's notices properly etc). Try running spotify from a terminal with spotify -v or whatever and see what error message it gives you when it hangs. That should help you diagnose the issue.

2 points

fair enough! I learned DWM because I know absolutely zero C (I know a little now) and wanted to force myself to learn. Patching was a little spicy for me in the beginning :/

I was computer illiterate when I installed arch so you seem about a billion light years ahead of me.

One last big thing, Dmenu and piped commands are your new best friend if you want to automate your entire life, or at least they were for me, esp coming from windows where to my knowledge such constructs didn't really exist. There's so much choice in linux!

/endrant

2 points

ah, DWM. I see you are a man of culture as well.

Things that are high on my list of todos on a new arch install:

1: DWM statusbar. You can customize it using xsetroot -name $INSERT_TEXT_HERE in a script, and forking it to the background before starting dwm itself.

2: Use st if you're gonna go full suckless (optional)

3: Firefox(?) (I have a bone to pick with chromium b/c google bad)

4: set up your vim (or emacs :( ) install + just slowly start making it your own. It's a super long process but also really fun. (I still haven't hit a ceiling and I've been on vim for over 2 years)

5: Learn to patch (if you haven't already) DWM. it'll make your life so much easier in the long term.

Maybe pick up a book on *nix administration at a used bookstore or something if you want to get really fancy with it.

Welcome to the fancy "not quite cool enough for gentoo or slackware" club. Happy to have you!

2 points

Thanks bruther, would've been longer but my power company shut off the power to 800,000 people several weeks ago :/

​

Maybe I'll do a sick 1 year rice if I can make it that far, open to ideas

2 points

Thanks brother (but said in the way that Hulk Hogan says it)

I'm still kind of in the process of cleaning out my dotfiles + getting everything uploaded nicely (stagit is so simple that I can't use it w/ my current file permission setup oops), so here's a code snippet to tide you over. It's inspired from something, but I actually don't remember what it is. Otherwise, I'd have posted a link :)

​

 /* 8 normal colors */
        [0] = "#000000", /* black   */
        [1] = "#b797f0", /* red     */
        [2] = "#14db49", /* green   */
        [3] = "#403d70", /* yellow  */
        [4] = "#385a70", /* blue    */
        [5] = "#869bff", /* magenta */
        [6] = "#8d33cd", /* cyan    */
        [7] = "#999999", /* white   */

        /* 8 bright colors */
        [8]  = "#38372c", /* black   */
        [9]  = "#7c54b0", /* red     */
        [10] = "#a2e655", /* green   */
        [11] = "#9c6f59", /* yellow  */
        [12] = "#323f5c", /* blue    */
        [13] = "#5e6c99", /* magenta */
        [14] = "#667d77", /* cyan    */
        [15] = "#ffffff", /* white   */

        /* special colors */
        [256] = "#000000", /* background */
        [257] = "#ffffff", /* foreground */
4 points

TBH I started using suckless utilities as a way to force myself to learn C.

​

It's still not going that well but I'm trying. I've found that typically when you apply patches, if the hunk fails you can (a), follow the compiler output to try and fix the error, or (b), change the order you patch in. Some patches conflict. I also haven't added much except for some sensible shortcuts.

5 points

DETAILS!

  • WM: dwm
  • wallpaper: doom
  • icon theme: Adwaita
  • bar: xsetroot (custom script)
  • colorscheme: custom
  • font: Fira Code Mono
  • dots: here. Warning though, they are undergoing an overhaul to make them more portable.

Bonus comfy LaTeX image featuring the Aharonov-Bohm effect: https://imgur.com/a/fclADlX (this is my second reddit post so if anyone has a better way to embed this image, I'm interested)

2 points

I use vim+LaTeX to take notes as a third-year applied math + physics double major.

I find that when the lecturer follows a strict structure (typically the case for upper division math classes, and some more mathematically inclined physics classes), LaTeX is great for taking notes, purely for the ability to search them. When the lecturer is a bit more free-form, or doesn't follow a clear pattern (@statistical mechanics), I would strongly consider taking your notes by hand, and typing them up after the lecture, if only so that you force yourself to go through and understand the sometimes arbitrary notation the professor will put on the board.

I also suggest gaining a good degree of familiarity with tikz though, or keeping pen/paper or a stylus app (I use xournal) open to jot down quick drawings when the need arises.

I also have some random macros, etc that I use for vim if you want to have a gander here.

If you use zathura to view your notes, the line I would look out for is

au BufWritePost *.tex silent !nohup latexmk -pdf % </dev/null &>/dev/null &

which silently compiles TeX files in the background after writing them.

​

Also, nothing beats using git to manage your notes if you need repeated diffs for each lecture. It's absolutely heroic. Best of luck in your studies!

2 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.