Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nanozuki
nanozuki / userChrome(mac).css
Last active May 8, 2023 05:57
Hide titlebar for mac firefox.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#titlebar .titlebar-buttonbox-container {
display: block;
position: fixed;
top: 12px;
}
#titlebar .titlebar-spacer,
#titlebar .toolbar-items {
visibility: collapse;
@nanozuki
nanozuki / userChrome(linux_arc_theme).css
Last active February 16, 2020 08:05
Hide titlebar for linux firefox in arc theme.
#titlebar .titlebar-buttonbox-container {
display: block;
position: fixed;
z-index: 1000;
top: -2px;
margin: 0 1px 0 4px;
}
#titlebar .titlebar-buttonbox-container toolbarbutton {
margin-left: -3px !important;
margin-right: -3px !important;
@nanozuki
nanozuki / fonts.conf
Last active June 1, 2021 13:43
font config
.config/fontconfig/fonts.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<!-- Default system-ui fonts -->
<match target="pattern">
<test name="family">
<string>system-ui</string>
</test>
local line = {
{ type = "text", text = { "  ", hl = { fg = hl_tabline.fg, bg = hl_tabline.bg } } },
{ type = "text", text = { "", hl = { fg = hl_tabline.bg, bg = hl_tabline_fill.bg } } },
{
type = "tab",
components = {
{
type = "text",
match = "active",
text = { "", hl = { fg = hl_tabline_sel.bg, bg = hl_tabline_fill.bg } },
@font-face {
font-family: 'JetBrainsMono Nerd Font Mono';
font-style: normal;
font-weight: 400;
src: url('https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/JetBrainsMono/Ligatures/Regular/complete/JetBrains%20Mono%20Nerd%20Font%20Complete%20Mono%20Regular.ttf')
format('truetype');
}
@font-face {
font-family: 'JetBrainsMono Nerd Font Mono';