aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 01557eef5b21c8f7320efb842e68cad7954e7338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# Tyil's dotfiles

These are my dotfiles. There are many like it, but these are mine.

My dotfiles are my best friend. It is my life. I must master them as I must
master my life.

My dotfiles, without me, are useless. Without my dotfiles, I am useless. I must
place my dotfiles in the proper directory.  I must rice them better than my
colleagues, who are trying to out-rice me. I must compile stuff before they do.

My dotfiles and I know that what counts during compilation is not the
optimisation, the -j count used or the USEflags that are set. I know that it is
the final binary that counts.

My dotfiles are human, even as I, because it is my life. Thus, I will write
them as a brother. I will learn its weaknesses, its strength, its parts, its
accessories, its sights and its values. I will keep my dotfiles clean and
ready, even as I am clean and ready. We will become part of eachother.

Before Stallman, I swear this creed. My dotfiles and I are the defenders of my
system. We are the masters of our applications. We are the saviors of my life.

So be it, until victory is mine and there are no unconfigured applications, but
true rice!

## Disclaimer

These configurations are ment for my own setups. Some parts of it are loaded
depending on the system hostname. These files are published mostly for
educational purposes, to show how I am doing my setup. Use these at your own
risk.

Most of the customization is written either as POSIX shell scripts,
[Perl](https://www.perl.org/) programs or [Raku](https://raku.org/) programs.
Other dependencies may exist.

## Theming

- GTK theme: [arc-dark](https://github.com/horst3180/Arc-theme)
- Icons: [ACYLS](https://github.com/worron/ACYLS)

## Browsers

There are no good browsers. Firefox may be a cancer upon its userbase, but the
rest are even worse.

### Firefox (nightly)

The Firefox configuration files live in a random directory in
`$HOME/.mozilla/firefox`.

#### `user.js`

```js
// Settings changed after going through properties
user_pref("app.shield.optoutstudies.enabled", false);
user_pref("browser.ctrlTab.recentlyUsedOrder", false);
user_pref("browser.download.dir", "/home/tyil/downloads/firefox");
user_pref("browser.download.folderList", 2);
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false);
user_pref("browser.newtabpage.activity-stream.feeds.snippets", false);
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false);
user_pref("browser.newtabpage.activity-stream.showSearch", false);
user_pref("browser.newtabpage.enabled", false);
user_pref("browser.search.hiddenOneOffs", "Google,Bing,Amazon.com,eBay,Twitter");
user_pref("browser.search.suggest.enabled", false);
user_pref("browser.startup.homepage", "https://searx.tyil.nl");
user_pref("browser.startup.page", 3);
user_pref("browser.urlbar.placeholderName", "DuckDuckGo");
user_pref("general.smoothScroll", false);
user_pref("privacy.donottrackheader.enabled", true);

// Make Firefox load userChrome.css again...
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
```

#### `chrome/userChrome.css`

```css
/* Hide default tab bar */
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items {
    opacity: 0;
    pointer-events: none;
}
#main-window:not([tabsintitlebar="true"]) #TabsToolbar {
    visibility: collapse !important;
}

/* Hide header of sidebar */
#sidebar-header {
    display: none;
}

/* Make unread tabs italic */
tab-item.unread .label-content {
    font-style: italic;
}
```

#### Addons

- [HTTPS Everywhere](https://addons.mozilla.org/en-US/firefox/addon/https-everywhere/)
- [Tree Style Tab](https://addons.mozilla.org/en-US/firefox/addon/tree-style-tab/)
- [Viumium-FF](https://addons.mozilla.org/en-US/firefox/addon/vimium-ff/)
- [floccus](https://addons.mozilla.org/en-US/firefox/addon/floccus/)
- [uBlock Origin](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/)
- [uMatrix](https://addons.mozilla.org/en-US/firefox/addon/umatrix/)

## Rice

### Visualizer

- [GLava](https://github.com/jarcode-foss/glava) (using `sk-overlay` for the
  Gentoo ebuild)