Fork me on GitHub
#proton
<
2016-02-04
>
katy15:02:56

will Proton touch my custom Atom stylesheet, or is there a way to customise that within .proton?

katy15:02:00

(I'm new to Atom and Proton btw)

austincrft15:02:59

Proton does not touch your stylesheet

austincrft15:02:32

SPC f e s will get you to your stylesheet

katy15:02:58

awesome, thank you

austincrft15:02:32

No problem. Keep in mind that it does overwrite your config.cson unless you set ["proton.core.wipeUserConfigs" false] in your .proton file

austincrft15:02:47

Shouldn't be a problem for you since you're new to Atom

katy15:02:07

Yeah, I'm not touching any Atom config files, aiming to have a fully portable Proton config all in the .proton file

katy15:02:50

but it's no problem to add the styles.css to my dotfile repo too simple_smile

austincrft15:02:11

Yep, that's what I do 😄

austincrft15:02:20

If you want to check it out

katy15:02:54

lots of options I didn't know about in here

austincrft15:02:55

Btw, my styles(win).less file is just one I use on Windows because fonts suck on Windows.

katy15:02:31

my dotfiles repo is a bit of a mess atm as i'm trying out different editors but here's my current config https://github.com/kmoe/dotfiles/blob/master/.proton

katy15:02:54

I use it to keep track of themes I've tried - still haven't found one I like

katy15:02:02

going to have to write some CSS 😢

austincrft15:02:54

Another tip for finding a packages settings names. You can open up dev tools and type atom.packages.config.defaultSettings to get a list of the default settings for all installed packages

austincrft15:02:23

I should probably write document that somewhere in the proton repo. 😛

katy15:02:02

my workflow is currently: set options in Atom GUI to my liking, look at generated config file, copy settings over to .proton

austincrft15:02:48

Ah, that's probably better simple_smile

austincrft15:02:29

As for themes, I've found it's beneficial to get accustomed to solarized-dark because it's available damn-near everywhere

austincrft15:02:45

I've yet to find an editor that doesn't support it

katy15:02:47

good point, I was spoilt for choice a bit with Sublime and went very custom

katy15:02:51

I need high contrast though

katy15:02:58

and most Atom themes are really low contrast

katy15:02:04

I can't read comments in the default theme!

austincrft15:02:32

Yeah, comments aren't quite as readable in solarized either

katy16:02:36

So now I'm trying to get rid of the file icons in the tab bar. I understand file-icons is part of the core layer - is there a way of disabling it in my config?

austincrft16:02:00

You don't like file icons??

austincrft16:02:25

So in atom there are ways to disable packages that are installed

austincrft16:02:55

Atom Settings -> Packages -> File Icons Then press the "Disable" button

austincrft16:02:12

Now to find if there's an option to do that in the .proton

katy16:02:45

file icons take up valuable horizontal space - I tend to have lots of tabs open at once...

katy16:02:49

thank you btw simple_smile

austincrft16:02:09

["core.disabledPackages" ["file-icons"]]

katy16:02:13

yes!!!!!

katy16:02:03

how did you find that option, btw? is it documented somewhere?

austincrft16:02:18

Oh, but you can just disable the file-icons on the tab

katy16:02:22

I tried that

austincrft16:02:10

so to just disable them on the tab, I would assume it would be ["file-icons.tabPaneIcon" false]

katy16:02:33

yeah, that didn't work for some reason

katy16:02:49

but it's pretty much perfect with the package disabled

katy16:02:02

I'm glad that option exists as proton would have been a bit inflexible without it

austincrft16:02:13

I opened dev-tools and typed atom.packages.config.defaultSettings, browsed the core structure and saw that there was a disabledPackages array

austincrft16:02:42

That's one of the few settings that isn't available on the Core Settings page of Atom, presumably because you disable them from the Packages page

katy16:02:20

hmm, ["core.disabledPackages" ["file-icons"]] seems to have broken my config

katy16:02:26

lines after that are getting ignored

katy16:02:51

oh no, it's just relative line numbers

austincrft17:02:52

You mean that the relative line numbers are being messed up? Mine still works with that line in my .proton

katy17:02:21

it seems I was wrong - other stuff does work. but I tried turning relative line numbers off and it seems to have no effect

katy17:02:24

I'm still investigating though

katy17:02:29

sorry for rubber-ducking 😛

austincrft17:02:11

No problem, I'm happy to help

austincrft17:02:24

Who created your github icon, btw?

katy17:02:33

it's from my previous job at Kahoot! (http://getkahoot.com) - they have an artist who does avatars of all the employees

katy17:02:40

they very kindly let me keep it after I left

katy17:02:47

unfortunately I don't have the artist's name

katy17:02:17

okay so I've found that if you reload Atom using SPC _ R the core.disabledPackages setting sometimes doesn't get applied

katy17:02:40

possibly happens for other settings too - trying to reproduce consistently

austincrft19:02:08

That's such a cool idea!

austincrft19:02:49

I've also noticed that after three or four reloads that way, I'm no longer able to go into sub-menus. I have to restart Atom entirely.

lucien.knechtli19:02:24

I've noticed the same thing when using the autoreload on save for proton

austincrft19:02:01

I've looked into this briefly, but not enough to figure anything out