From c5920cc86c884ac1e65a0d5dc26021c4bd58de37 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Mon, 31 May 2021 21:01:36 +0000 Subject: [PATCH] Remove dunst, firefox configs --- config.org | 113 ----------------------------------------------------- 1 file changed, 113 deletions(-) diff --git a/config.org b/config.org index b1cf44d..0d9a24a 100644 --- a/config.org +++ b/config.org @@ -260,10 +260,7 @@ Define templates for lots of common structure elements. Mostly just used within ("ash" . "src shell :tangle ~/.config/ash/ashrc") ("pi" . "src conf :tangle ~/.config/picom/picom.conf") ("git" . "src conf :tangle ~/.gitconfig") - ("du" . "src conf :tangle ~/.config/dunst/dunstrc") ("za" . "src conf :tangle ~/.config/zathura/zathurarc") - ("ff1" . "src css :tangle ~/.mozilla/firefox/armaan-release/chrome/userChrome.css") - ("ff2" . "src css :tangle ~/.mozilla/firefox/armaan-release/chrome/userContent.css") ("xr" . "src conf :tangle ~/.Xresources") ("tm" . "src conf :tangle ~/.tmux.conf") ("gp" . "src conf :tangle ~/.gnupg/gpg.conf") @@ -823,7 +820,6 @@ I'm not a huge fan of how spectrwm handles keybindings, probably my biggest grip program[rss] = emacsclient -ce '(elfeed)' program[calendar] = emacsclient -ce '(acheam-calendar)' program[calc] = emacsclient -ce '(progn (calc) (windmove-up) (delete-window))' - program[firefox] = firefox program[emacs] = emacsclient -c bind[email] = MOD+Control+1 @@ -831,7 +827,6 @@ I'm not a huge fan of how spectrwm handles keybindings, probably my biggest grip bind[rss] = MOD+Control+3 bind[calendar] = MOD+Control+4 bind[calc] = MOD+Control+5 - bind[firefox] = MOD+Control+0 bind[emacs] = MOD+Control+Return #+end_src *** Quirks @@ -1062,63 +1057,6 @@ This file is used for any GNU Readline programs. I use Emacs editing mode mostly gpgsign = true verbose = true #+end_src -** Dunst -Lightweight notification daemon. Eventually I'd like to replace this with something dbus-less. -*** General -#+begin_src conf :tangle ~/.config/dunst/dunstrc - [global] - font = "JetBrains Mono Medium Nerd Font 11" - allow_markup = yes - format = "%s\n%b" - sort = no - indicate_hidden = yes - alignment = center - bounce_freq = 0 - show_age_threshold = 60 - word_wrap = yes - ignore_newline = no - geometry = "400x5-10+10" - transparency = 0 - idle_threshold = 120 - monitor = 0 - sticky_history = yes - line_height = 0 - separator_height = 1 - padding = 8 - horizontal_padding = 8 - max_icon_size = 32 - separator_color = "#ffffff" - startup_notification = false -#+end_src -*** Modes -#+begin_src conf :tangle ~/.config/dunst/dunstrc - [frame] - width = 1 - color = "#ffffff" - - [shortcuts] - close = mod4+c - close_all = mod4+shift+c - history = mod4+ctrl+c - - [urgency_low] - background = "#222222" - foreground = "#ffffff" - highlight = "#ffffff" - timeout = 5 - - [urgency_normal] - background = "#222222" - foreground = "#ffffff" - highlight = "#ffffff" - timeout = 15 - - [urgency_critical] - background = "#222222" - foreground = "#a60000" - highlight = "#ffffff" - timeout = 0 -#+end_src ** Zathura The best document reader! *** Options @@ -1143,57 +1081,6 @@ The best document reader! set recolor-darkcolor "#ffffff" # fg set recolor "true" #+end_src -** Firefox -Just some basic Firefox CSS. Will probably have to rewrite for the Proton redesign. -*** 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 -userChrome.css: -#+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 - -userContent.css: -#+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 ** Xresources Modus operandi theme. No program I use checks for anything beyond foreground and background, but hey, it can't hurt to have all the colors in there. #+begin_src conf :tangle ~/.Xresources -- 2.39.2