Skip to content

Commit

Permalink
update files
Browse files Browse the repository at this point in the history
  • Loading branch information
JyyHuang committed Jul 9, 2024
1 parent d0bc28b commit 4e21de7
Show file tree
Hide file tree
Showing 11 changed files with 286 additions and 89 deletions.
137 changes: 86 additions & 51 deletions firefox/userChrome.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* Background image new tab page */
* {
Expand All @@ -15,11 +14,11 @@
}

:root {
--window: -moz-Dialog !important;
--secondary: color-mix(in srgb, currentColor 5%, -moz-Dialog) !important;
--uc-border-radius: 0px;
--uc-status-panel-spacing: 0px;
--uc-page-action-margin: 7px;
--window: -moz-Dialog !important;
--secondary: color-mix(in srgb, currentColor 5%, -moz-Dialog) !important;
--uc-border-radius: 0px;
--uc-status-panel-spacing: 0px;
--uc-page-action-margin: 7px;
}

/* animation and effect */
Expand All @@ -29,42 +28,52 @@
transition-delay: 0.1s;
filter: alpha(opacity=0);
opacity: 0;
transition: visibility, ease 0.1s, margin-top, ease 0.1s, opacity, ease 0.1s,
rotate, ease 0.1s !important;
transition:
visibility,
ease 0.1s,
margin-top,
ease 0.1s,
opacity,
ease 0.1s,
rotate,
ease 0.1s !important;
}

#nav-bar:hover,
#nav-bar:focus-within,
#urlbar[focused='true'],
#identity-box[open='true'],
#urlbar[focused="true"],
#identity-box[open="true"],
#titlebar:hover + #nav-bar:not([customizing]),
#toolbar-menubar:not([inactive='true']) ~ #nav-bar:not([customizing])
{
#toolbar-menubar:not([inactive="true"]) ~ #nav-bar:not([customizing]) {
visibility: visible;
margin-top: 0px;
filter: alpha(opacity=100);
opacity: 100;
}

#PersonalToolbar{
margin-top: 0px!important;
#PersonalToolbar {
margin-top: 0px !important;
}

#nav-bar .toolbarbutton-1[open='true'] {
#nav-bar .toolbarbutton-1[open="true"] {
visibility: visible;
opacity: 100;
}
#PersonalToolbar .toolbarbutton-1[open='true'] {
#PersonalToolbar .toolbarbutton-1[open="true"] {
visibility: visible;
opacity: 100;
}

:root:not([customizing]) :hover > .tabbrowser-tab:not(:hover) {
transition: blur, ease 0.1s !important;
transition:
blur,
ease 0.1s !important;
}

:root:not([customizing]) :not(:hover) > .tabbrowser-tab {
transition: blur, ease 0.1s !important;
transition:
blur,
ease 0.1s !important;
}

#tabbrowser-tabs .tab-label-container[customizing] {
Expand All @@ -74,34 +83,53 @@
}

/* Removes annoying buttons and spaces */
.titlebar-spacer[type="pre-tabs"], .titlebar-spacer[type="post-tabs"]{display: none !important}
#tabbrowser-tabs{border-inline-start-width: 0!important}
.titlebar-spacer[type="pre-tabs"],
.titlebar-spacer[type="post-tabs"] {
display: none !important;
}
#tabbrowser-tabs {
border-inline-start-width: 0 !important;
}

/* Makes some buttons nicer */
#PanelUI-menu-button, #unified-extensions-button, #reload-button, #stop-button {padding: 2px !important}
#reload-button, #stop-button{margin: 1px !important;}
#PanelUI-menu-button,
#unified-extensions-button,
#reload-button,
#stop-button {
padding: 2px !important;
}
#reload-button,
#stop-button {
margin: 1px !important;
}

/* X-button */
:root {
--show-tab-close-button: none;
--show-tab-close-button-hover: -moz-inline-block;
--show-tab-close-button: none;
--show-tab-close-button-hover: -moz-inline-block;
}
.tabbrowser-tab:not([pinned]) .tab-close-button {
display: var(--show-tab-close-button) !important;
}
.tabbrowser-tab:not([pinned]):hover .tab-close-button {
display: var(--show-tab-close-button-hover) !important;
}
.tabbrowser-tab:not([pinned]) .tab-close-button { display: var(--show-tab-close-button) !important; }
.tabbrowser-tab:not([pinned]):hover .tab-close-button { display: var(--show-tab-close-button-hover) !important }

/* tabbar */

/* Hide the secondary Tab Label
* e.g. playing indicator (the text, not the icon) */
.tab-secondary-label { display: none !important; }
.tab-secondary-label {
display: none !important;
}

:root {
--toolbarbutton-border-radius: 0 !important;
--tab-border-radius: 0 !important;
--tab-block-margin: 0 !important;
}

.tabbrowser-tab:is([visuallyselected='true'], [multiselected])
.tabbrowser-tab:is([visuallyselected="true"], [multiselected])
> .tab-stack
> .tab-background {
box-shadow: none !important;
Expand All @@ -112,7 +140,7 @@
margin-left: -1px !important;
}

.tabbrowser-tab[last-visible-tab='true'] {
.tabbrowser-tab[last-visible-tab="true"] {
padding-inline-end: 0 !important;
}

Expand All @@ -121,47 +149,54 @@
}

/* multi tab selection */
#tabbrowser-tabs:not([noshadowfortests]) .tabbrowser-tab:is([multiselected])
#tabbrowser-tabs:not([noshadowfortests])
.tabbrowser-tab:is([multiselected])
> .tab-stack
> .tab-background:-moz-lwtheme { outline-color: var(--toolbarseparator-color) !important; }
> .tab-background:-moz-lwtheme {
outline-color: var(--toolbarseparator-color) !important;
}

/* remove gap after pinned tabs */
#tabbrowser-tabs[haspinnedtabs]:not([positionpinnedtabs])
> #tabbrowser-arrowscrollbox
> .tabbrowser-tab:nth-child(1 of :not([pinned], [hidden])) { margin-inline-start: 0 !important; }
> .tabbrowser-tab:nth-child(1 of :not([pinned], [hidden])) {
margin-inline-start: 0 !important;
}

/* Removes annoying border */
#navigator-toolbox{border:none !important;}
#navigator-toolbox {
border: none !important;
}

/* Removes the annoying rainbow thing from the hamburger */
#appMenu-fxa-separator{border-image:none !important;}
#appMenu-fxa-separator {
border-image: none !important;
}

#PlacesToolbarItems {
justify-content: center !important;
#PlacesToolbarItems {
justify-content: center !important;
}

#alltabs-button {
display: none !important;
display: none !important;
}

#star-button[starred] {
fill: #c0caf5 !important;
fill: #c0caf5 !important;
}

.tab-background[selected]{ background: #1a1b26 !important;}
.tab-background[selected] {
background: #1a1b26 !important;
}

.bookmark-item{
color: white;
font-size: 13px !important;
margin-left: 5px !important;
margin-right: 5px !important;
padding: 4px !important;
.bookmark-item {
color: white;
font-size: 13px !important;
margin-left: 5px !important;
margin-right: 5px !important;
padding: 4px !important;
}
.bookmark-item:hover {
color: white!important;
background-color: rgba(192, 202, 245,0.3)!important; /* pale gray */
color: white !important;
background-color: rgba(192, 202, 245, 0.3) !important; /* pale gray */
}




4 changes: 0 additions & 4 deletions firefox/userContent.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
* {
font-family: "Ubuntu Nerd Font";
}

@-moz-document url(about:home), url(about:newtab), url(about:privatebrowsing){

/* Newtab */
Expand Down
11 changes: 5 additions & 6 deletions komorebi/komorebi.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@
},
"manage_rules": [
{
"kind": "Title",
"id": "- Discord",
"matching_strategy": "EndsWith"
"kind": "Exe",
"id": "Discord.exe",
}
],
"monitors": [
Expand Down Expand Up @@ -59,11 +58,11 @@
{
"name": "V",
"layout": "BSP",

"workspace_rules": [
{
"kind": "Title",
"id": "- Discord",
"matching_strategy": "EndsWith"
"kind": "Exe",
"id": "Discord.exe"
}
]
}
Expand Down
25 changes: 14 additions & 11 deletions nvim/lazy-lock.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
{
"LuaSnip": { "branch": "master", "commit": "de1a287c9cb525ae52bc846e8f6207e5ef1da5ac" },
"LuaSnip": { "branch": "master", "commit": "878ace11983444d865a72e1759dbcc331d1ace4c" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" },
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
"friendly-snippets": { "branch": "main", "commit": "dd2fd1281d4b22e7b4a5bfafa3e142d958e251f2" },
"lazy.nvim": { "branch": "main", "commit": "8f19915175395680808de529e4220da8dafc0759" },
"diffview.nvim": { "branch": "main", "commit": "3afa6a053f680e9f1329c4a151db988a482306cd" },
"friendly-snippets": { "branch": "main", "commit": "d0610077b6129cf9f7f78afbe3a1425d60f6e2f1" },
"gitsigns.nvim": { "branch": "main", "commit": "75dc649106827183547d3bedd4602442340d2f7f" },
"lazy.nvim": { "branch": "main", "commit": "ad30030b6abca7dac5a493c58b4d183b3fe93202" },
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "a4caa0d083aab56f6cd5acf2d42331b74614a585" },
"mason-null-ls.nvim": { "branch": "main", "commit": "de19726de7260c68d94691afb057fa73d3cc53e7" },
"mason.nvim": { "branch": "main", "commit": "49ff59aded1047a773670651cfa40e76e63c6377" },
"none-ls.nvim": { "branch": "main", "commit": "aa4442a8493934e3354e507a556ea5f670f68491" },
"mason.nvim": { "branch": "main", "commit": "0950b15060067f752fde13a779a994f59516ce3d" },
"neogit": { "branch": "master", "commit": "acdefce66f702427d820db97e00ad9d4ae63e716" },
"none-ls.nvim": { "branch": "main", "commit": "f5b960a73418249aebcdae3455de320360509253" },
"nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" },
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
"nvim-lspconfig": { "branch": "master", "commit": "2c1877081b237a643e52ebdebaf36c84a2695639" },
"nvim-treesitter": { "branch": "master", "commit": "298a9dd4f8a0d95b347a7ebd301849d8b0e3917e" },
"nvim-lspconfig": { "branch": "master", "commit": "710a8fa7379db32199545f30ea01dd8446b9302f" },
"nvim-treesitter": { "branch": "master", "commit": "979beffc1a86e7ba19bd6535c0370d8e1aaaad3c" },
"nvim-treesitter-context": { "branch": "master", "commit": "f62bfe19e0fbc13ae95649dfb3cf22f4ff85b683" },
"nvim-web-devicons": { "branch": "master", "commit": "e37bb1feee9e7320c76050a55443fa843b4b6f83" },
"nvim-web-devicons": { "branch": "master", "commit": "b77921fdc44833c994fdb389d658ccbce5490c16" },
"oil.nvim": { "branch": "master", "commit": "2cb39e838e9dcd8b374f09a3a87a2e5ec9d372f6" },
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" },
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
"telescope.nvim": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },
"tokyonight": { "branch": "main", "commit": "b9b494fa7f7bbf2fe0747b47fa290fb7a4eddcc7" },
"undotree": { "branch": "master", "commit": "56c684a805fe948936cda0d1b19505b84ad7e065" },
"vim-fugitive": { "branch": "master", "commit": "4f59455d2388e113bd510e85b310d15b9228ca0d" }
"tokyonight": { "branch": "main", "commit": "7e5ef71a103e7de5fe6c05f5d6ab97d1640f08cf" },
"undotree": { "branch": "master", "commit": "56c684a805fe948936cda0d1b19505b84ad7e065" }
}
3 changes: 3 additions & 0 deletions nvim/lua/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ vim.opt.foldmethod = "syntax"

vim.opt.showmode = false

vim.opt.showcmd = false
vim.opt.cmdheight = 0

vim.opt.splitbelow = true
vim.opt.splitright = true

Expand Down
Loading

0 comments on commit 4e21de7

Please sign in to comment.