It's not so much a function of character as a function of habit. Change your habit triggers to change your behavior.
I'm currently going cold turkey on certain social media (Facebook, Twitter). It's hard, because they're so compulsive - designed to be compulsive (I call my phone my "digital crack pipe"). So I'm addressing my habits.
When I come home from work in the evening, I have a habit of going to the kitchen, grabbing a junk food snack, plopping down in my favorite chair, and opening my computer. It's destructive to my eating habits, my productivity, and encourages that nasty social media junkie thing. Even if I'm not on Facebook, I'll be checking Google News, weather, ANYTHING to get my fingers on the keyboard and mouse.
So the habit to change? Sitting in my favorite chair when I get home. If I don't sit down in that spot, I don't have a place to eat junk food. I don't have a computer at hand. I have to go do something else.
When I sit in that spot, I tend to get a snack for it. It doesn't matter whether I'm hungry or not... it's just a thing I do. Eating less snacks is a desirable goal. Eliminating a trigger that causes me to eat snacks is a change of habit.
Now, you might say "I want to eat fewer snacks" is a function of character. But without a mechanism, it's about as relevant as "I want a million dollars", or "I want world peace", and only slightly more realistic.
So I examine circumstances in which I eat unnecessary snacks, and try to change those circumstances. That's a process. That's a change of habit. And it's much more likely to be effective than anything about "character". This is not an act of willpower.
I think this is called conditioned place preference. You've associated dopamine hits (junk food, social media, etc.) with the chair. You've also probably conditioned yourself to timing (after work) -- do you go this routine at other times? Say, on the weekend?
Yeah. Similar routine in the morning, or on the weekend. Sitting there means goofing off, eating junk food and surfing the web. Which is bad when it also gets used for doing actual work on the computer, like coding. So there are conflicting signals.
I'm thinking a lot about triggers as a way to change habits right now.
Not to derail your point, but I do hate when people compare spending time on websites to crack. Its just so far from one another and belittles those who do have a serious drug problem.
It is, but that's why I said "certain social media". Not trying to do it all. If HN started substituting for Facebook, I'd be worried, but that doesn't seem to be happening.
I think of it more in terms of deliberately addictive behavior. HN is fun, but it doesn't have basic functions like infinite scrolling. The closest it has to addictive social media behavior is the upvote/downvote buttons. (See Cal Newport's Digital Minimalism for discussion about that problem.)
I'm currently going cold turkey on certain social media (Facebook, Twitter). It's hard, because they're so compulsive - designed to be compulsive (I call my phone my "digital crack pipe"). So I'm addressing my habits.
When I come home from work in the evening, I have a habit of going to the kitchen, grabbing a junk food snack, plopping down in my favorite chair, and opening my computer. It's destructive to my eating habits, my productivity, and encourages that nasty social media junkie thing. Even if I'm not on Facebook, I'll be checking Google News, weather, ANYTHING to get my fingers on the keyboard and mouse.
So the habit to change? Sitting in my favorite chair when I get home. If I don't sit down in that spot, I don't have a place to eat junk food. I don't have a computer at hand. I have to go do something else.