(add-to-list 'org-structure-template-alist '("git" . "src conf :tangle ~/.gitconfig"))
(add-to-list 'org-structure-template-alist '("du" . "src conf :tangle ~/.config/dunst/dunstrc"))
(add-to-list 'org-structure-template-alist '("ro" . "src javascript :tangle ~/.config/rofi/config.rasi"))
- (add-to-list 'org-structure-template-alist '("za" . "src conf :tangle ~/.config/zathura/zathurarc")))
+ (add-to-list 'org-structure-template-alist '("za" . "src conf :tangle ~/.config/zathura/zathurarc"))
+ (add-to-list 'org-structure-template-alist '("ff1" . "src css :tangle ~/.mozilla/firefox/armaan-release/chrome/userChrome.css")))
+ (add-to-list 'org-structure-template-alist '("ff2" . "src css :tangle ~/.mozilla/firefox/armaan-release/chrome/userContent.css")))
#+end_src
** Presentations
#+begin_src emacs-lisp
alias ytmusic="youtube-dl -x --add-metadata --audio-format aac \
--restrict-filenames -o '%(title)s.%(ext)s'"
alias cal="cal -3 --color=auto"
+ alias bc='bc -l'
#+end_src
**** Virtual machines, chroots
#+begin_src shell :tangle ~/.config/zsh/zshrc
set recolor-darkcolor "#ffffff" # fg
set recolor "true"
#+end_src
+** Firefox
+*** Swap tab and URL bars
+#+begin_src css :tangle ~/.mozilla/firefox/armaan-release/chrome/userChrome.css
+ #nav-bar {
+ -moz-box-ordinal-group: 1 !important;
+ }
+
+ #PersonalToolbar {
+ -moz-box-ordinal-group: 2 !important;
+ }
+
+ #titlebar {
+ -moz-box-ordinal-group: 3 !important;
+ }
+#+end_src
+*** Hide URL bar when not focused.
+#+begin_src css :tangle ~/.mozilla/firefox/armaan-release/chrome/userChrome.css
+ #navigator-toolbox:not(:focus-within):not(:hover) {
+ margin-top: -30px;
+ }
+
+ #navigator-toolbox {
+ transition: 0.1s margin-top ease-out;
+ }
+#+end_src
+** Black screen by default
+#+begin_src css :tangle ~/.mozilla/firefox/armaan-release/chrome/userChrome.css
+ #main-window,
+ #browser,
+ #browser vbox#appcontent tabbrowser,
+ #content,
+ #tabbrowser-tabpanels,
+ #tabbrowser-tabbox,
+ browser[type="content-primary"],
+ browser[type="content"] > html,
+ .browserContainer {
+ background: black !important;
+ color: #fff !important;
+ }
+#+end_src
+#+begin_src css :tangle ~/.mozilla/firefox/armaan-release/chrome/userContent.css
+ @-moz-document url("about:home"), url("about:blank"), url("about:newtab") {
+ body {
+ background: black !important;
+ }
+ }
+#+end_src