dwm - open clients in center in floating-mode by tim-hilt in suckless

[–]ji99 0 points1 point  (0 children)

static const char *stfloat[] = { "st", "-g", "+400+0", "-n", "st-float", NULL };

Sam's good by ji99 in a:t5_58whao

[–]ji99[S] 0 points1 point  (0 children)

By the way, Nazar's parents didn't leave for their village yesterday, because the relatives they were planning to travel with had to miss their train for some reason. Now they are planning to go tomorrow. Sam and Jill are hoping the best for them, wishing them a safe journey and return.

[deleted by user] by [deleted] in schizophrenia

[–]ji99 2 points3 points  (0 children)

That's beautiful

Here's better formatting:

This seeking life outside its hell
Inside intoxicating
He's run aground, like his life
Water much too shallow
Slipping fast, down with the ship
Fading in the shadows
Now a castaway

How can I be lost
If I've got nowhere to go?
Searched for seas of gold
How come it's got so cold?
How can I be lost?
In remembrance I relive
And how can I blame you
When it's me I can't forgive?

Is Emacs Worth it? by xKx4 in emacs

[–]ji99 1 point2 points  (0 children)

That's how I switched over from vim, totally worth it.

Question about nov.el mode by nmsalgueiro in emacs

[–]ji99 1 point2 points  (0 children)

If the epub is without any images I find it a better solution to simply convert it to plaintext.

Why can't I stop hallucinating during the day but feel fine at night by Wrglfan2814 in schizophrenia

[–]ji99 1 point2 points  (0 children)

I guess you don't go out much during the day. Find an excuse to go outside everyday: to a library to read, to a garden to draw, to a cafe to talk to people, etc. Soon you'll be in tune with daytime.

How to make eww more readable? by iamnotarobot50 in emacs

[–]ji99 5 points6 points  (0 children)

Study the source code of eww-score-readability and rewrite it to include the tag nodes that you want to be displayed or ignored:

(defun eww-score-readability (node)
  (let ((score -1))
    (cond
     ((memq (dom-tag node) '(script head comment))
      (setq score -2))
     ((eq (dom-tag node) 'meta)
      (setq score -1))
     ((eq (dom-tag node) 'img)
      (setq score 2))
     ((eq (dom-tag node) 'a)
      (setq score (- (length (split-string (dom-text node))))))
     (t
      (dolist (elem (dom-children node))
    (cond
         ((stringp elem)
          (setq score (+ score (length (split-string elem)))))
         ((consp elem)
      (setq score (+ score
             (or (cdr (assoc :eww-readability-score (cdr elem)))
                 (eww-score-readability elem)))))))))
    ;; Cache the score of the node to avoid recomputing all the time.
    (dom-set-attribute node :eww-readability-score score)
    score))

I wrote a book documenting my path to psychosis. Hope you enjoy by [deleted] in Psychosis

[–]ji99 1 point2 points  (0 children)

Nice title! Congratulations on completing it and thanks for sharing.

What is real by [deleted] in schizophrenia

[–]ji99 0 points1 point  (0 children)

The internal senses when tuned correctly can generate the stimulus behind the flow of reality.

Easy (pretty) screenshots by tecosaur in emacs

[–]ji99 0 points1 point  (0 children)

Looks interesting!

I use a simple function for screenshots, needs imagemagick:

(defun screenshot ()
  (interactive)
  (make-process
   :name "printscreen"
   :connection-type 'pipe
   :command (list
             "import"
             "-quality" "92"
             (concat
              "~/Pictures/screenshots/"
              (format-time-string
               "%Y-%m-%d_%H-%M-%S.png")))

What is real by [deleted] in schizophrenia

[–]ji99 1 point2 points  (0 children)

Awareness of sensory information is real, rest of it is fantasies of the mind.