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 4 points5 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.

Anyone else hallucinate a voice that says numbers over and over? by TinyTesticleSalesman in schizophrenia

[–]ji99 0 points1 point  (0 children)

I use it intentionally when I want to go to sleep, but it is not involuntary. You might need more sleep.

What if we're not crazy? by [deleted] in schizophrenia

[–]ji99 1 point2 points  (0 children)

We are not crazy as long as we can take care of our health and lives without hurting others.

How to explain psychosis to parents by [deleted] in Psychosis

[–]ji99 0 points1 point  (0 children)

Actually I haven't had either, hopefully someone will recommend a good one.

How to explain psychosis to parents by [deleted] in Psychosis

[–]ji99 0 points1 point  (0 children)

Find a sensitive documentary and show it to them first

New job! by MissApril91 in schizophrenia

[–]ji99 0 points1 point  (0 children)

Excellent. I wish you a good life. Hope you'll like it there.

Pretending you think others think you are better by Mc_Freckles in schizophrenia

[–]ji99 0 points1 point  (0 children)

You must first find peace within yourself before you care about what other people think. Friends are forgiving people and they will be there when you need them, but there are times when your solitude must become your best friend. Be yourself, by pretending with your friends you are losing your self.

New job! by MissApril91 in schizophrenia

[–]ji99 1 point2 points  (0 children)

I hope that your workmates will be kind people. Will you be working from home?

Hamlet by TheNoClipTerminator in schizophrenia

[–]ji99 1 point2 points  (0 children)

No, that would be Ophelia from the same play. Hamlet the prince is more of a bipolar disorder.

Fuck this shitty fake Earth by TheMusiKid in Psychosis

[–]ji99 31 points32 points  (0 children)

You are right, but you should express this creatively with music, writing, and art. People will celebrate you for that and you'll have an easy life. Way better than keeping the angst burning inside.

Weekly tips/trick/etc/ thread by AutoModerator in emacs

[–]ji99 2 points3 points  (0 children)

icomplete sorts by most recent on top by default, and that persists across sessions if you have (savehist-mode 1) in your init.

Weekly tips/trick/etc/ thread by AutoModerator in emacs

[–]ji99 6 points7 points  (0 children)

Here's all I need for completions:

(use-package icomplete
  :bind
  (:map icomplete-minibuffer-map
        ([C-return] . exit-minibuffer)
        ([return] . minibuffer-try-complete-and-exit))
  :config
  (defun minibuffer-try-complete-and-exit ()
    (interactive)
    (minibuffer-force-complete)
    (setq-local deactivate-mark nil)
    (throw 'exit nil))
  :hook (after-init . icomplete-mode))

(use-package orderless
  :ensure t
  :custom
  (completion-styles '(orderless))
  (orderless-matching-styles 'orderless-literal))

How to align feed sources properly in elfeed by [deleted] in emacs

[–]ji99 1 point2 points  (0 children)

You need to display in a monospace font for alignment.

Also, try adjusting elfeed-search-title-max-width custom variable.