this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

various updates - nvim fixes - firefox updates - stop breaking sxhkdrc

+570 -270
+8
profiles/desktop/default.nix
··· 1 1 { config, pkgs, lib, ... }: 2 2 let 3 + tex = (pkgs.texlive.combine { 4 + inherit (pkgs.texlive) scheme-basic 5 + dvisvgm dvipng# for preview and export as html 6 + wrapfig amsmath ulem hyperref capt-of; 7 + #(setq org-latex-compiler "lualatex") 8 + #(setq org-preview-latex-default-process 'dvisvgm) 9 + }); 3 10 dracula-gtk = pkgs.fetchFromGitHub { 4 11 owner = "dracula"; 5 12 repo = "gtk"; ··· 72 79 calendar-cli 73 80 wyrd 74 81 tootle 82 + tex 75 83 ]; 76 84 77 85
+3 -12
users/profiles/desktop/sxhkdrc
··· 18 18 ctrl + super + Return 19 19 xst -e bash -c "(tmux ls | grep -qEv 'attached|scratch' && tmux at) || tmux" 20 20 21 - # Open a disposable, floating terminal window, for quick shell commands. 22 - super + grave 23 - scratch 24 - 25 - # Open a disposable scratch buffer in a floating Emacs window, to run arbitrary 26 - # code or quickly note something down. 27 - super + shift + grave 28 - emacsclient --eval "(open-scratch-frame)" 29 - 30 21 super + space 31 22 rofi -show drun -modi drun,run -show-icons -theme theme/appmenu.rasi 32 23 ··· 34 25 rofi -show window -show-icons -theme theme/windowmenu.rasi 35 26 36 27 super + e 37 - rofimoji --rofi-args "-theme theme/emojimenu.rasi" --skin-tone moderate --action copy 28 + rofimoji --selector-args "-theme theme/emojimenu.rasi" --skin-tone moderate --action copy 38 29 39 30 super + p 40 31 passmenu ··· 45 36 super + o 46 37 screenshot 47 38 48 - super + Escape 49 - pkill -USR1 -x sxhkd 39 + # super + Escape 40 + # pkill -USR1 -x sxhkd 50 41 51 42 super + n 52 43 xkblayout-state set +1
+6 -3
users/profiles/firefox/default.nix
··· 4 4 # Imperative steps: 5 5 # - Enable & configure plugins 6 6 # - Run :colourscheme --url https://raw.githubusercontent.com/lonepie/dracula-tridactyl/main/dracula.css dracula for tridactyl theme 7 - # - Import css for tree style tabs from treestyletabs.css 7 + # - Import css for sidebery from sidebery.css 8 + # - Configure wallabagger, shaarli, grasp 8 9 9 10 programs.browserpass.enable = true; 10 11 programs.browserpass.browsers = [ "firefox" ]; ··· 12 13 programs.firefox = { 13 14 enable = true; 14 15 extensions = with pkgs.nur.repos.rycee.firefox-addons; [ 16 + # Find extensions: https://github.com/nix-community/nur-combined/blob/master/repos/rycee/pkgs/firefox-addons/generated-firefox-addons.nix 15 17 ublock-origin 16 18 wallabagger 17 - tree-style-tab 19 + # tree-style-tab 18 20 tridactyl 19 21 promnesia 22 + sidebery 20 23 (buildFirefoxXpiAddon { 21 24 pname = "shaarli"; 22 25 version = "2.0.0"; 23 - addonId = "{f59a7028-b71f-490d-844e-f781a11ffbc7}"; 26 + addonId = "shaarli@imirhil.fr"; 24 27 url = "https://addons.mozilla.org/firefox/downloads/file/815126/shaarli-2.0.0.xpi"; 25 28 sha256 = "W/OpvOfMclibP6LeG573/DlMs0p8fF0efyd+i8Sudgg="; 26 29 meta = { };
+135
users/profiles/firefox/sidebery.css
··· 1 + /* ROOT */ 2 + 3 + #root { 4 + /* Tab and PinnedTab height adjustment */ 5 + --tabs-height: 33px; 6 + --tabs-pinned-height: var(--tabs-height); 7 + /* Dark Theme base settings */ 8 + --bg: #1f2430 !important; 9 + --tabs-fg: #d4d4d4 !important; 10 + --tabs-bg-hover: #3b3948 !important; 11 + --tabs-activated-bg: #5b5b66 !important; 12 + --nav-btn-activated-bg: #1f222f !important; 13 + } 14 + 15 + #root .Tab { 16 + --tabs-indent: 7px; 17 + } 18 + 19 + /* TABS */ 20 + 21 + .Tab .lvl-wrapper:after { 22 + display: none; 23 + } 24 + 25 + .Tab { 26 + margin: auto; 27 + width: 94%; 28 + border-radius: 3px; 29 + } 30 + 31 + .Tab .close > svg:hover { 32 + /* Styling the tab close button */ 33 + border-radius: 3px; 34 + background: #492121 !important; 35 + opacity: 100%; 36 + } 37 + 38 + .Tab .title { 39 + overflow: hidden !important; 40 + } 41 + 42 + 43 + /* PINNED TABS */ 44 + 45 + .PinnedDock { 46 + background-color: var(--bg) !important; 47 + } 48 + 49 + .PinnedTab { 50 + margin: 5px 0px 4px 6px; 51 + border-radius: 3px; 52 + } 53 + 54 + 55 + /* NAV BAR */ 56 + 57 + .NavigationBar { 58 + height: 41px !important; 59 + padding: 4.5px 0px 0px 4.5px !important; 60 + background-color: #2B2A33 !important; 61 + margin-bottom: 5px; 62 + } 63 + 64 + .NavigationBar .panel-btn:hover { 65 + border-radius: 3px !important; 66 + background-color: var(--tabs-bg-hover) !important; 67 + } 68 + 69 + .NavigationBar .panel-btn[data-active="true"] { 70 + border-radius: 3px !important; 71 + background-color: var(--bg) !important; 72 + } 73 + 74 + .NavigationBar .panel-btn[data-active="true"]:hover { 75 + border-radius: 3px !important; 76 + background-color: var(--tabs-bg-hover) !important; 77 + } 78 + 79 + .NavigationBar .panel-btn > svg, 80 + .NavigationBar .panel-btn > img { 81 + fill: #f2f2f2 !important; 82 + } 83 + 84 + 85 + /* SIDEBAR HACK PATCHES */ 86 + 87 + @media (max-width: 50px) { 88 + /* Fix to tab tree identation when minimised */ 89 + #root:not(:hover) .Tab { 90 + --tabs-indent: 0px; 91 + } 92 + 93 + .Tab[data-lvl] > div.lvl-wrapper { 94 + right: -2px; 95 + } 96 + 97 + .Tab { 98 + max-width: 34px; 99 + } 100 + 101 + .Tab .fav { 102 + z-index: 1; 103 + } 104 + 105 + .Tab .audio { 106 + z-index: 1; 107 + margin-left: -12px; 108 + height: 26px; 109 + } 110 + 111 + .Tab .title { 112 + display: none; 113 + } 114 + 115 + .PinnedTab { 116 + margin-left: 5px; 117 + } 118 + 119 + .NavigationBar .settings-btn { 120 + display: none; 121 + } 122 + } 123 + 124 + 125 + /* OPTIONS */ 126 + 127 + /* Disable these two snippets below to make pinned tabs wrap when minimised */ 128 + .PinnedDock { 129 + flex-wrap: nowrap! important; 130 + } 131 + 132 + .PinnedTab { 133 + overflow: hidden !important; 134 + min-width: var(--tabs-pinned-width) !important; 135 + }
+101 -252
users/profiles/firefox/userChrome.css
··· 1 - /* @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); */ 1 + @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 2 + 3 + /* Hide main tabs toolbar */ 4 + #TabsToolbar { 5 + visibility: collapse !important; 6 + } 7 + 8 + /*** NAV BAR ***/ 9 + /* Hide urlbar */ 10 + #nav-bar { 11 + position: relative !important; 12 + z-index: 2 !important; 13 + height: 2px !important; 14 + min-height: 2px !important; 15 + margin-bottom: -2px !important; 16 + opacity: 0 !important; 17 + border: none !important; 18 + } 19 + 20 + /* But unfocus it when we invoke it with ctrl+L */ 21 + #nav-bar:focus-within { 22 + height: auto !important; 23 + margin-bottom: 0px !important; 24 + opacity: 1 !important; 25 + overflow: show !important; 26 + } 2 27 3 - @-moz-document url(chrome://browser/content/browser.xul), 4 - url(chrome://browser/content/browser.xhtml) 5 - { 6 - /*** TREE STYLE TABS ***/ 7 - /* Hide main tabs toolbar */ 8 - #TabsToolbar { 9 - visibility: collapse !important; 10 - } 11 - /* Sidebar min and max width removal */ 12 - :root { 13 - /* expanded width of the sidebar. 14 - used for userChrome-static, and hover */ 15 - --sidebar-width: 250px; 16 - /* initial width of the sidebar. 17 - advised not to change since tst css relies on this value*/ 18 - --sidebar-collapsed-width: 60px; 19 - } 28 + #urlbar-container { 29 + min-height: 0 !important; 30 + } 31 + 32 + #urlbar { 33 + top: 0 !important; 34 + } 35 + 36 + #urlbar-input-container { 37 + height: 28px !important; 38 + } 20 39 21 - #sidebar-box { 22 - z-index: 1000 !important; 23 - position: relative !important; 24 - min-width: var(--sidebar-collapsed-width) !important; 25 - max-width: var(--sidebar-collapsed-width) !important; 26 - } 27 - 28 - #sidebar-header, 29 - #sidebar-splitter { 30 - display: none !important; 31 - } 32 - 33 - /* inner width = expanded width & move inner to only show initial-width long section */ 34 - #sidebar-box #sidebar { 35 - position: absolute !important; 36 - min-width: var(--sidebar-width) !important; 37 - max-width: var(--sidebar-width) !important; 38 - width: var(--sidebar-width) !important; 39 - transform: translateX(calc(var(--sidebar-collapsed-width) - var(--sidebar-width))); 40 - transition: all var(--transition-time) var(--ease-out); 41 - } 42 - 43 - /* move inner to show entire sidebar */ 44 - #sidebar-box #sidebar:hover { 45 - transform: translateX(0) !important; 46 - box-shadow: 2px 0 33px -3px var(--sidebar-shadow-color); 47 - } 48 - 49 - #sidebar-box[sidebarcommand="viewBookmarksSidebar"] #sidebar { 50 - transform: translateX(0) !important; 51 - box-shadow: 2px 0 33px -3px var(--sidebar-shadow-color); 52 - } 53 - /* hide sidebar header for tree style tabs sidebar */ 54 - #sidebar-box #sidebar-header { 55 - display: none; 56 - } 57 - 58 - #sidebar { 59 - border-right: solid var(--dividers) var(--sidebar-shadow-color) !important; 60 - } 61 - 62 - toolbar { 63 - border: none !important; 64 - } 40 + /* hides the sidebar header */ 41 + #sidebar-header { 42 + display: none !important; 43 + } 65 44 66 - #tabbrowser-arrowscrollbox { 67 - margin: 7px 14px 7px 14px; 68 - } 69 - 70 - .tabbrowser-tab::after { 71 - border: none !important; 72 - } 73 - 74 - .tab-background .tab-line, 75 - .tab-background .tab-bottom-line { 76 - display: none; 77 - } 78 - 79 - tab[selected="true"] > .tab-stack > .tab-background { 80 - background: var(--tl-tab-background-gradient, var(--arrowpanel-dimmed-further)) !important; 81 - } 82 - 83 - tab:not([selected="true"]) > .tab-stack:hover > .tab-background { 84 - background: var(--arrowpanel-background) !important; 85 - } 86 - 87 - .tab-stack { 88 - border-radius: 7px; 89 - margin-right: 5px; 90 - overflow: hidden; 91 - } 92 - 93 - .tab-stack .tab-icon-image, 94 - .tab-stack .tab-label-container { 95 - transform: translateX(0px); 96 - transition: all var(--tl-animation-duration) var(--ease-out) !important; 97 - } 98 - 99 - .tab-stack .tab-icon-image { 100 - transition-duration: calc(var(--tl-animation-duration) * 2) !important; 101 - } 102 - 103 - tab:not([pinned="true"]) .tab-stack:hover .tab-icon-image { 104 - transform: translateX(-25px) !important; 105 - } 106 - 107 - .tab-stack:hover .tab-label-container { 108 - transform: translateX(-23px) !important; 109 - } 110 - 111 - /* containers */ 112 - tab:not([selected="true"]).identity-color-blue > .tab-stack, 113 - tab:not([selected="true"]).identity-color-orange > .tab-stack, 114 - tab:not([selected="true"]).identity-color-green > .tab-stack, 115 - tab:not([selected="true"]).identity-color-pink > .tab-stack{ 116 - border-radius: 0 0 7px 7px !important; 117 - } 118 - 119 - tab[selected="true"].identity-color-blue > .tab-stack .tab-label-container, 120 - tab[selected="true"].identity-color-orange > .tab-stack .tab-label-container, 121 - tab[selected="true"].identity-color-green > .tab-stack .tab-label-container, 122 - tab[selected="true"].identity-color-pink > .tab-stack .tab-label-container{ 123 - color: #000 !important; 124 - } 125 - 126 - /* blue */ 127 - tab[selected="true"].identity-color-blue > .tab-stack > .tab-background{ 128 - background: linear-gradient(to right, #3182CE , #0BC5EA) !important; 129 - } 130 - 131 - tab:not([selected="true"]).identity-color-blue > .tab-stack > .tab-background{ 132 - border-top: solid 4px #63B3ED !important; 133 - } 134 - 135 - /* orange */ 136 - tab[selected="true"].identity-color-orange > .tab-stack > .tab-background{ 137 - background: linear-gradient(to right, #DD6B20 , #F56565) !important; 138 - } 139 - 140 - tab:not([selected="true"]).identity-color-orange > .tab-stack > .tab-background{ 141 - border-top: solid 4px #F6AD55 !important; 142 - } 143 - 144 - /* green */ 145 - tab[selected="true"].identity-color-green > .tab-stack > .tab-background{ 146 - background: linear-gradient(to right, #38A169 , #38B2AC) !important; 147 - } 148 - 149 - tab:not([selected="true"]).identity-color-green > .tab-stack > .tab-background{ 150 - border-top: solid 4px #68D391 !important; 151 - } 152 - 153 - /* pink */ 154 - tab[selected="true"].identity-color-pink > .tab-stack > .tab-background{ 155 - background: linear-gradient(to right, #D53F8C , #9F7AEA) !important; 156 - } 157 - 158 - tab:not([selected="true"]).identity-color-pink > .tab-stack > .tab-background{ 159 - border-top: solid 4px #F687B3 !important; 160 - } 161 - 162 - 163 - .tab-stack .tab-close-button { 164 - border-radius: 50%; 165 - margin-left: -20px !important; 166 - background: var(--lwt-text-color); 167 - fill: var(--lwt-accent-color) !important; 168 - transform: translateX(30px) !important; 169 - transition: all var(--tl-animation-duration) var(--ease-out) !important; 170 - } 171 - 172 - .tab-stack:hover .tab-close-button { 173 - transform: translateX(0px) !important; 174 - } 45 + .tab[selected="true"] { 46 + visibility: collapse; 47 + } 175 48 176 - #tabbrowser-tabs[closebuttons="activetab"] > #tabbrowser-arrowscrollbox > 177 - .tabbrowser-tab > .tab-stack > .tab-content > .tab-close-button:not([selected="true"]){ 178 - display: block !important; 49 + .tabbrowser-tab { 50 + visibility: collapse; 179 51 } 180 - 181 - /* hide tabs */ 182 - .tabbrowser-tab { 183 - display: none; 184 - } 185 - 186 - #tabs-newtab-button { 187 - display: none; 188 - } 189 - 190 - .titlebar-spacer { 191 - display: none !important; 192 - } 193 - 194 52 195 - /*** TAB BAR ***/ 196 - /* Ensure tab doesn't show through auto-completion popup */ 197 - .tabbrowser-tab { z-index: 0 !important; } 198 - /* Ensure tab "spacers" don't show through the completion window */ 199 - #tabbrowser-arrowscrollbox > spacer { z-index: -1 !important; } 200 - #mainPopupSet { z-index: 9999 !important; } 53 + .tabbrowser-tab[visuallyselected="true"] { 54 + visibility: collapse; 55 + } 201 56 202 - /* Hide tabbar if only one tab */ 203 - @import url(./css/tabs-hide-if-only-one.css); 57 + /* Credits to https://github.com/MrOtherGuy for hthe following snippet*/ 204 58 59 + /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_sidebar.css made available under Mozilla Public License v. 2.0 60 + See the above repository for updates as well as full license text. */ 205 61 206 - /* Remove the colored overline on the focused tab */ 207 - .tabbrowser-tab .tab-line { background: none !important; } 62 + /* Show sidebar only when the cursor is over it */ 63 + /* The border controlling sidebar width will be removed so you'll need to modify these values to change width */ 208 64 209 - /* Replace favicon on tabs with close button on mouse hover */ 210 - .tabbrowser-tab:not(:hover) .tab-close-button, 211 - .tabbrowser-tab:not([pinned]):hover .tab-icon-image { display: none !important; } 212 - .tabbrowser-tab:not([pinned]):hover .tab-close-button { display:block !important; } 65 + #sidebar-box{ 66 + --uc-sidebar-width: 44px; /* Only thing I (gale) changed */ 67 + --uc-sidebar-hover-width: 210px; 68 + --uc-autohide-sidebar-delay: 600ms; /* Wait 0.6s before hiding sidebar */ 69 + position: relative; 70 + min-width: var(--uc-sidebar-width) !important; 71 + width: var(--uc-sidebar-width) !important; 72 + max-width: var(--uc-sidebar-width) !important; 73 + z-index:1; 74 + } 213 75 214 - .tabbrowser-tab:hover .tab-throbber, 215 - .tabbrowser-tab:hover .tab-icon-image, 216 - .tabbrowser-tab:hover .tab-sharing-icon-overlay, 217 - .tabbrowser-tab:hover .tab-icon-overlay, 218 - .tabbrowser-tab:hover .tab-label-container, 219 - .tabbrowser-tab:hover .tab-icon-sound { 220 - -moz-box-ordinal-group: 2 !important; 221 - } 76 + #sidebar-box[positionend]{ direction: rtl } 77 + #sidebar-box[positionend] > *{ direction: ltr } 222 78 223 - .tabbrowser-tab .tab-close-button { 224 - margin-left: -2px !important; 225 - margin-right: 4px !important; 226 - } 79 + #sidebar-box[positionend]:-moz-locale-dir(rtl){ direction: ltr } 80 + #sidebar-box[positionend]:-moz-locale-dir(rtl) > *{ direction: rtl } 227 81 228 - .tab-close-button:hover { 229 - fill-opacity: 0 !important; 230 - } 82 + #main-window[sizemode="fullscreen"] #sidebar-box{ --uc-sidebar-width: 1px; } 231 83 232 - .tabbrowser-tab::after, 233 - .tabbrowser-tab::before { 234 - border-left: none !important; 235 - border-right: none !important; 236 - } 84 + #sidebar-splitter{ display: none } 237 85 238 - .scrollbutton-up[orient="horizontal"]~spacer { border-width: 0px; opacity: 0 } 86 + #sidebar-header{ overflow: hidden; /*color: var(--chrome-color, inherit) !important*/} 239 87 88 + #sidebar{ 89 + transition: min-width 115ms linear var(--uc-autohide-sidebar-delay) !important; 90 + min-width: var(--uc-sidebar-width) !important; 91 + will-change: min-width; 92 + } 240 93 241 - /*** NAV BAR ***/ 242 - /* Hide urlbar */ 243 - #nav-bar { 244 - position: relative !important; 245 - z-index: 2 !important; 246 - height: 2px !important; 247 - min-height: 2px !important; 248 - margin-bottom: -2px !important; 249 - opacity: 0 !important; 250 - border: none !important; 251 - } 94 + #sidebar-box:hover > #sidebar{ min-width: var(--uc-sidebar-hover-width) !important; transition-delay: 0ms !important } 252 95 253 - /* But unfocus it when we invoke it with ctrl+L */ 254 - #nav-bar:focus-within { 255 - height: auto !important; 256 - margin-bottom: 0px !important; 257 - opacity: 1 !important; 258 - overflow: show !important; 259 - } 96 + .sidebar-panel{ 97 + /*background-color: transparent !important; 98 + color: var(--newtab-text-primary-color) !important;*/ 99 + } 260 100 261 - #urlbar-container { 262 - min-height: 0 !important; 263 - } 101 + .sidebar-panel #search-box{ 102 + -moz-appearance: none !important; 103 + /*background-color: rgba(249,249,250,0.1) !important; 104 + color: inherit !important; 105 + */ 106 + } 264 107 265 - #urlbar { 266 - top: 0 !important; 267 - } 108 + /* Add sidebar divider and give it background */ 268 109 269 - #urlbar-input-container { 270 - height: 28px !important; 271 - } 110 + #sidebar, 111 + #sidebar-header{ 112 + /*background-color: inherit !important;*/ 113 + border-inline: 1px solid rgb(80,80,80); 114 + border-inline-width: 0px 1px; 115 + } 272 116 273 - /*** Load local overrides ***/ 274 - @import url(./userChrome.local.css); 117 + #sidebar-box:not([positionend]) > :-moz-locale-dir(rtl), 118 + #sidebar-box[positionend] > *{ 119 + border-inline-width: 1px 0px; 275 120 } 276 121 122 + /* Move statuspanel to the other side when sidebar is hovered so it doesn't get covered by sidebar */ 123 + 124 + #sidebar-box:not([positionend]):hover ~ #appcontent #statuspanel{ inset-inline: auto 0px !important; } 125 + #sidebar-box:not([positionend]):hover ~ #appcontent #statuspanel-label{ margin-inline: 0px !important; border-left-style: solid !important; }
+275
users/profiles/firefox/userChrome.css.bak
··· 1 + /* @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); */ 2 + 3 + @-moz-document url(chrome://browser/content/browser.xul), 4 + url(chrome://browser/content/browser.xhtml) 5 + { 6 + /*** TREE STYLE TABS ***/ 7 + /* Hide main tabs toolbar */ 8 + #TabsToolbar { 9 + visibility: collapse !important; 10 + } 11 + /* Sidebar min and max width removal */ 12 + :root { 13 + /* expanded width of the sidebar. 14 + used for userChrome-static, and hover */ 15 + --sidebar-width: 250px; 16 + /* initial width of the sidebar. 17 + advised not to change since tst css relies on this value*/ 18 + --sidebar-collapsed-width: 60px; 19 + } 20 + 21 + #sidebar-box { 22 + z-index: 1000 !important; 23 + position: relative !important; 24 + min-width: var(--sidebar-collapsed-width) !important; 25 + max-width: var(--sidebar-collapsed-width) !important; 26 + } 27 + 28 + #sidebar-header, 29 + #sidebar-splitter { 30 + display: none !important; 31 + } 32 + 33 + /* inner width = expanded width & move inner to only show initial-width long section */ 34 + #sidebar-box #sidebar { 35 + position: absolute !important; 36 + min-width: var(--sidebar-width) !important; 37 + max-width: var(--sidebar-width) !important; 38 + width: var(--sidebar-width) !important; 39 + transform: translateX(calc(var(--sidebar-collapsed-width) - var(--sidebar-width))); 40 + transition: all var(--transition-time) var(--ease-out); 41 + } 42 + 43 + /* move inner to show entire sidebar */ 44 + #sidebar-box #sidebar:hover { 45 + transform: translateX(0) !important; 46 + box-shadow: 2px 0 33px -3px var(--sidebar-shadow-color); 47 + } 48 + 49 + #sidebar-box[sidebarcommand="viewBookmarksSidebar"] #sidebar { 50 + transform: translateX(0) !important; 51 + box-shadow: 2px 0 33px -3px var(--sidebar-shadow-color); 52 + } 53 + /* hide sidebar header for tree style tabs sidebar */ 54 + #sidebar-box #sidebar-header { 55 + display: none; 56 + } 57 + 58 + #sidebar { 59 + border-right: solid var(--dividers) var(--sidebar-shadow-color) !important; 60 + } 61 + 62 + toolbar { 63 + border: none !important; 64 + } 65 + 66 + #tabbrowser-arrowscrollbox { 67 + margin: 7px 14px 7px 14px; 68 + } 69 + 70 + .tabbrowser-tab::after { 71 + border: none !important; 72 + } 73 + 74 + .tab-background .tab-line, 75 + .tab-background .tab-bottom-line { 76 + display: none; 77 + } 78 + 79 + tab[selected="true"] > .tab-stack > .tab-background { 80 + background: var(--tl-tab-background-gradient, var(--arrowpanel-dimmed-further)) !important; 81 + } 82 + 83 + tab:not([selected="true"]) > .tab-stack:hover > .tab-background { 84 + background: var(--arrowpanel-background) !important; 85 + } 86 + 87 + .tab-stack { 88 + border-radius: 7px; 89 + margin-right: 5px; 90 + overflow: hidden; 91 + } 92 + 93 + .tab-stack .tab-icon-image, 94 + .tab-stack .tab-label-container { 95 + transform: translateX(0px); 96 + transition: all var(--tl-animation-duration) var(--ease-out) !important; 97 + } 98 + 99 + .tab-stack .tab-icon-image { 100 + transition-duration: calc(var(--tl-animation-duration) * 2) !important; 101 + } 102 + 103 + tab:not([pinned="true"]) .tab-stack:hover .tab-icon-image { 104 + transform: translateX(-25px) !important; 105 + } 106 + 107 + .tab-stack:hover .tab-label-container { 108 + transform: translateX(-23px) !important; 109 + } 110 + 111 + /* containers */ 112 + tab:not([selected="true"]).identity-color-blue > .tab-stack, 113 + tab:not([selected="true"]).identity-color-orange > .tab-stack, 114 + tab:not([selected="true"]).identity-color-green > .tab-stack, 115 + tab:not([selected="true"]).identity-color-pink > .tab-stack{ 116 + border-radius: 0 0 7px 7px !important; 117 + } 118 + 119 + tab[selected="true"].identity-color-blue > .tab-stack .tab-label-container, 120 + tab[selected="true"].identity-color-orange > .tab-stack .tab-label-container, 121 + tab[selected="true"].identity-color-green > .tab-stack .tab-label-container, 122 + tab[selected="true"].identity-color-pink > .tab-stack .tab-label-container{ 123 + color: #000 !important; 124 + } 125 + 126 + /* blue */ 127 + tab[selected="true"].identity-color-blue > .tab-stack > .tab-background{ 128 + background: linear-gradient(to right, #3182CE , #0BC5EA) !important; 129 + } 130 + 131 + tab:not([selected="true"]).identity-color-blue > .tab-stack > .tab-background{ 132 + border-top: solid 4px #63B3ED !important; 133 + } 134 + 135 + /* orange */ 136 + tab[selected="true"].identity-color-orange > .tab-stack > .tab-background{ 137 + background: linear-gradient(to right, #DD6B20 , #F56565) !important; 138 + } 139 + 140 + tab:not([selected="true"]).identity-color-orange > .tab-stack > .tab-background{ 141 + border-top: solid 4px #F6AD55 !important; 142 + } 143 + 144 + /* green */ 145 + tab[selected="true"].identity-color-green > .tab-stack > .tab-background{ 146 + background: linear-gradient(to right, #38A169 , #38B2AC) !important; 147 + } 148 + 149 + tab:not([selected="true"]).identity-color-green > .tab-stack > .tab-background{ 150 + border-top: solid 4px #68D391 !important; 151 + } 152 + 153 + /* pink */ 154 + tab[selected="true"].identity-color-pink > .tab-stack > .tab-background{ 155 + background: linear-gradient(to right, #D53F8C , #9F7AEA) !important; 156 + } 157 + 158 + tab:not([selected="true"]).identity-color-pink > .tab-stack > .tab-background{ 159 + border-top: solid 4px #F687B3 !important; 160 + } 161 + 162 + 163 + .tab-stack .tab-close-button { 164 + border-radius: 50%; 165 + margin-left: -20px !important; 166 + background: var(--lwt-text-color); 167 + fill: var(--lwt-accent-color) !important; 168 + transform: translateX(30px) !important; 169 + transition: all var(--tl-animation-duration) var(--ease-out) !important; 170 + } 171 + 172 + .tab-stack:hover .tab-close-button { 173 + transform: translateX(0px) !important; 174 + } 175 + 176 + #tabbrowser-tabs[closebuttons="activetab"] > #tabbrowser-arrowscrollbox > 177 + .tabbrowser-tab > .tab-stack > .tab-content > .tab-close-button:not([selected="true"]){ 178 + display: block !important; 179 + } 180 + 181 + /* hide tabs */ 182 + .tabbrowser-tab { 183 + display: none; 184 + } 185 + 186 + #tabs-newtab-button { 187 + display: none; 188 + } 189 + 190 + .titlebar-spacer { 191 + display: none !important; 192 + } 193 + 194 + 195 + /*** TAB BAR ***/ 196 + /* Ensure tab doesn't show through auto-completion popup */ 197 + .tabbrowser-tab { z-index: 0 !important; } 198 + /* Ensure tab "spacers" don't show through the completion window */ 199 + #tabbrowser-arrowscrollbox > spacer { z-index: -1 !important; } 200 + #mainPopupSet { z-index: 9999 !important; } 201 + 202 + /* Hide tabbar if only one tab */ 203 + @import url(./css/tabs-hide-if-only-one.css); 204 + 205 + 206 + /* Remove the colored overline on the focused tab */ 207 + .tabbrowser-tab .tab-line { background: none !important; } 208 + 209 + /* Replace favicon on tabs with close button on mouse hover */ 210 + .tabbrowser-tab:not(:hover) .tab-close-button, 211 + .tabbrowser-tab:not([pinned]):hover .tab-icon-image { display: none !important; } 212 + .tabbrowser-tab:not([pinned]):hover .tab-close-button { display:block !important; } 213 + 214 + .tabbrowser-tab:hover .tab-throbber, 215 + .tabbrowser-tab:hover .tab-icon-image, 216 + .tabbrowser-tab:hover .tab-sharing-icon-overlay, 217 + .tabbrowser-tab:hover .tab-icon-overlay, 218 + .tabbrowser-tab:hover .tab-label-container, 219 + .tabbrowser-tab:hover .tab-icon-sound { 220 + -moz-box-ordinal-group: 2 !important; 221 + } 222 + 223 + .tabbrowser-tab .tab-close-button { 224 + margin-left: -2px !important; 225 + margin-right: 4px !important; 226 + } 227 + 228 + .tab-close-button:hover { 229 + fill-opacity: 0 !important; 230 + } 231 + 232 + .tabbrowser-tab::after, 233 + .tabbrowser-tab::before { 234 + border-left: none !important; 235 + border-right: none !important; 236 + } 237 + 238 + .scrollbutton-up[orient="horizontal"]~spacer { border-width: 0px; opacity: 0 } 239 + 240 + 241 + /*** NAV BAR ***/ 242 + /* Hide urlbar */ 243 + #nav-bar { 244 + position: relative !important; 245 + z-index: 2 !important; 246 + height: 2px !important; 247 + min-height: 2px !important; 248 + margin-bottom: -2px !important; 249 + opacity: 0 !important; 250 + border: none !important; 251 + } 252 + 253 + /* But unfocus it when we invoke it with ctrl+L */ 254 + #nav-bar:focus-within { 255 + height: auto !important; 256 + margin-bottom: 0px !important; 257 + opacity: 1 !important; 258 + overflow: show !important; 259 + } 260 + 261 + #urlbar-container { 262 + min-height: 0 !important; 263 + } 264 + 265 + #urlbar { 266 + top: 0 !important; 267 + } 268 + 269 + #urlbar-input-container { 270 + height: 28px !important; 271 + } 272 + 273 + /*** Load local overrides ***/ 274 + @import url(./userChrome.local.css); 275 + }
+42 -3
users/profiles/nvim/default.nix
··· 108 108 sha256 = "Dlzfp3CZTzq8zQeHByWf3ER6/Em+KNGYNI4Z17ui8Lc="; 109 109 }; 110 110 }; 111 + my-marks = pkgs.vimUtils.buildVimPluginFrom2Nix { 112 + pname = "marks"; 113 + version = "2022-08-31"; 114 + src = pkgs.fetchFromGitHub { 115 + owner = "chentoast"; 116 + repo = "marks.nvim"; 117 + rev = "b27cbb78e9082229590b396d3ae4fe07f1aeafe0"; 118 + sha256 = "XdbgIWuAHNdTfyKDrKmQVq5oSbBoi56DpwtgOqhScAk="; 119 + }; 120 + }; 121 + my-gitsigns = pkgs.vimUtils.buildVimPluginFrom2Nix { 122 + pname = "gitsigns"; 123 + version = "v0.5"; 124 + src = pkgs.fetchFromGitHub { 125 + owner = "lewis6991"; 126 + repo = "gitsigns.nvim"; 127 + rev = "f98c85e7c3d65a51f45863a34feb4849c82f240f"; 128 + sha256 = "FgNSwvW7Bk+eKutMj0zqEorJ3+ijCALtOXs2OYiSX1I="; 129 + }; 130 + }; 131 + my-fterm = pkgs.vimUtils.buildVimPluginFrom2Nix { 132 + pname = "fterm"; 133 + version = "2022-07-22"; 134 + src = pkgs.fetchFromGitHub { 135 + owner = "numToStr"; 136 + repo = "FTerm.nvim"; 137 + rev = "efd10656724a269e21ba68d65e2b058a4e606424"; 138 + sha256 = "rR6KDwj58aYfyaSsoUy75536SdBhk394yspCUl/hzfE="; 139 + }; 140 + }; 111 141 }; 112 142 113 143 my-python-packages = python-packages: with python-packages; [ ··· 219 249 220 250 " tidal nvim terminal 221 251 let g:tidal_target = "terminal" 252 + 253 + " latex 254 + " let g:tex_flavor='latex' 255 + " let g:vimtex_view_method='zathura' 256 + " let g:vimtex_quickfix_mode=0 257 + " set conceallevel=1 258 + " let g:tex_conceal='abdmg' 222 259 223 260 " telescope 224 261 " Find files using Telescope command-line sugar. ··· 714 751 nodePackages.typescript 715 752 nodePackages.typescript-language-server 716 753 ]; 754 + 717 755 plugins = with pkgs.vimPlugins // customPlugins; [ 718 756 # ui 719 757 fzf-vim ··· 731 769 nvim-gps 732 770 nvim-treesitter 733 771 nvim-treesitter-context 734 - FTerm-nvim 772 + my-fterm 735 773 barbar-nvim 736 774 auto-session 737 - marks-nvim 775 + my-marks 738 776 739 777 # language 740 778 vim-nix ··· 770 808 771 809 # git stuff 772 810 vim-fugitive 773 - gitsigns-nvim 811 + my-gitsigns 774 812 fzf-checkout-vim 775 813 776 814 # Clojure stuff ··· 786 824 scnvim 787 825 leap 788 826 vim-beancount 827 + # vimtex 789 828 # TODO break with nvim 0.8.0 790 829 # these are here until i upgrade my nixos channnel in the flake 791 830 my-which-key-nvim