dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
commit 534bfbac98cbb615abab5fb9994c7f310cdbd012 parent 076293a51fe46fca4e55218d7719f95dfd441005 Author: maydayv7 <maydayv7@gmail.com> Date: Thu, 18 Jan 2024 22:35:58 +0530 fix: Fix Firefox Theming Also update README
Diffstat:
| M | README.md | | | 12 | +++++++++++- |
| M | devices/vortex.nix | | | 2 | +- |
| M | files/README.md | | | 1 | - |
| D | files/firefox/elementary.css | | | 35 | ----------------------------------- |
| D | files/firefox/gnome.css | | | 72 | ------------------------------------------------------------------------ |
| M | files/flake.nix | | | 7 | ------- |
| A | files/images/desktop/pantheon.png | | | 0 | |
| M | files/pantheon/dconf.nix | | | 4 | ++-- |
| D | files/plank/launchers/google-chrome.dockitem | | | 2 | -- |
| A | files/plank/launchers/io.elementary.mail.dockitem | | | 2 | ++ |
| M | modules/gui/desktop/gnome.nix | | | 2 | +- |
| M | modules/gui/desktop/pantheon.nix | | | 81 | ++++++++++++++++++++++++++++++++++++++++--------------------------------------- |
12 files changed, 58 insertions(+), 162 deletions(-)
diff --git a/README.md b/README.md @@ -13,6 +13,8 @@ This [repository](https://github.com/maydayv7/dotfiles) contains the configurati <details> <summary><i>More...</i></summary> + +   @@ -324,10 +326,18 @@ The [`home-manager`](https://github.com/nix-community/home-manager) module is us - [Powerlevel10K](https://github.com/romkatv/powerlevel10k) Theme: ZSH Theme for the fancy-looking prompt with immense customization capabilities - [Arc Theme](https://github.com/jnsh/arc-theme): Flat GTK theme with transparent elements for various desktop shells, window managers and applications - [Bibata Cursor](https://github.com/ful1e5/Bibata_Cursor): Compact and material designed cursor set -- [DNOME](https://github.com/GeopJr/DNOME) Discord Theme: Discord theme inspired by Adwaita, designed to integrate Discord with GNOME +- [DNOME](https://github.com/GeopJr/DNOME) Discord Theme: Discord Theme inspired by Adwaita, designed to integrate Discord with GNOME +- [Nordic](https://github.com/orblazer/discord-nordic) Discord Theme: Discord Theme using the [Nord](<(https://www.nordtheme.com/)>) color palette - [Firefox GNOME Theme](https://github.com/rafaelmardojai/firefox-gnome-theme): GNOME Theme for the Mozilla Firefox Browser, used for better desktop integration +- [Firefox Elementary Theme](https://github.com/Zonnev/elementaryos-firefox-theme): Elementary OS Theme for the Mozilla Firefox Browser, used for better desktop integration - [VS Code Adwaita Theme](https://github.com/piousdeer/vscode-adwaita): Integrates Visual Studio Code with GNOME Desktop +- [VS Code Arc Theme](https://github.com/alvesvaren/arc-dark-vscode): Port of the Arc Dark GTK Theme for Visual Studio Code +- [VS Code Elementary Theme](https://github.com/sixpounder/vscode-elementary-theme): Integrates Visual Studio Code with Pantheon Desktop - [KvLibadwaita Kvantum Theme](https://github.com/GabePoel/KvLibadwaita): Integrates QT Apps with GNOME Desktop +- [Arc KDE Theme](https://github.com/PapirusDevelopmentTeam/arc-kde): Port of the Arc GTK Theme for Plasma Desktop +- ULauncher [Adwaita Theme](https://github.com/gabrbrand/adwaita-dark-ulauncher): ULauncher Theme based on GNOME Desktop's Adwaita Dark Theme +- ULauncher [Arc Theme](https://github.com/tjquillan/Arc-Dark-ULauncher): An Arc Dark Theme for ULauncher +- ULauncher [Elementary Theme](https://github.com/heidefinnischen/ULauncher-elementary): ULauncher Themes for Elementary OS ### Important Links diff --git a/devices/vortex.nix b/devices/vortex.nix @@ -38,7 +38,7 @@ gui = { desktop = "pantheon"; - wallpaper = "Sunset"; + wallpaper = "Wave"; }; # User V7 diff --git a/files/README.md b/files/README.md @@ -5,7 +5,6 @@ The `files` directory is used to store all my plain-text program configuration f - [`archive`](./archive) - Old, Archived Files - [`ascii`](./ascii) - Personal Collection of beautiful Ascii Art - [`colors`](./colors) - Base16 Color Schemes -- [`firefox`](./firefox) - `firefox` Web Browser Theming - [`git`](./git) - Configuration for `git` Version Control - [`gnome`](./gnome) - Configuration Files for GNOME Desktop - [`gpg`](./gpg) - Encrypted GPG Keys diff --git a/files/firefox/elementary.css b/files/firefox/elementary.css @@ -1,35 +0,0 @@ -/* ## Firefox Elementary Theme ## */ - -@media (prefers-color-scheme: dark) { - @-moz-document url-prefix(about:home), - url-prefix(about:newtab), - url-prefix(about:preferences), - url-prefix(about:preferences#home), - url-prefix(about:preferences#search), - url-prefix(about:preferences#privacy), - url-prefix(about:preferences#sync), - url-prefix(about:preferences#moreFromMozilla), - url-prefix(about:addons) { - :root { - --newtab-background-color: #3a3a3a !important; - --newtab-background-color-secondary: #4d4d4d !important; - --newtab-element-hover-color: #616161 !important; - --newtab-overlay-color: rgba(0, 0, 0, 0.8) !important; - --newtab-primary-action-background: #1e90ff !important; - --newtab-primary-action-background-pocket: #1e90ff !important; - --in-content-page-background: #3a3a3a !important; - --in-content-box-background: #4d4d4d !important; - --in-content-box-background-odd: #4d4d4d !important; - --in-content-button-background: #4d4d4d !important; - --in-content-button-background-hover: #575757 !important; - --in-content-button-background-active: #575757 !important; - --in-content-primary-button-background: #1e90ff !important; - --in-content-primary-button-background-hover: rgba( - 150, - 210, - 255 - ) !important; - --in-content-focus-outline-color: #1e90ff !important; - } - } -} diff --git a/files/firefox/gnome.css b/files/firefox/gnome.css @@ -1,72 +0,0 @@ -/* ## Firefox GNOME Theme ## */ - -/* ## Color Scheme */ -:root { - --accent-color: 21, 83, 158; - --secondary-accent-color: 255, 255, 255; - --light-color: 227, 227, 227; - --light-color-text: 51, 51, 51; - --dark-color: 51, 51, 51; - --dark-color-text: 227, 227, 227; - --dark-color-light: 77, 77, 77; -} - -/* # Light Theme */ -:root { - --main-bgcolor: var(--dark-color); - --transparent-bgcolor: var(--dark-color); -} - -@media (prefers-color-scheme: light) { - @-moz-document url("about:newtab"), url("about:home"), url("about:blank") { - body { - background-color: rgba(var(--light-color), 1) !important; - } - } - .outer-wrapper.newtab-experience .search-wrapper .search-handoff-button, - .outer-wrapper.newtab-experience .search-wrapper input, - html body.activity-stream div#root div span button.personalize-button { - transition: all 0.3s ease !important; - background-color: rgba(var(--secondary-accent-color), 1) !important; - color: rgba(var(--light-color-text), 1) !important; - } - html body.activity-stream div#root div span button.personalize-button:hover { - background-color: rgba(var(--accent-color), 0.2) !important; - } -} - -/* # Dark Theme */ -:root:-moz-lwtheme-brighttext { - --main-bgcolor: var(--dark-color); - --transparent-bgcolor: var(--dark-color); -} -.outer-wrapper.newtab-experience .search-wrapper .search-handoff-button, -.outer-wrapper.newtab-experience .search-wrapper input { - box-shadow: none !important; -} -.outer-wrapper.newtab-experience - .search-wrapper.fake-focus:not(.search.disabled) - .search-handoff-button { - border-color: rgba(var(--accent-color), 1) !important; -} - -@media (prefers-color-scheme: dark) { - @-moz-document url("about:newtab"), url("about:home"), url("about:blank") { - body { - background-color: rgba(var(--dark-color), 1) !important; - } - } - .outer-wrapper.newtab-experience .search-wrapper .search-handoff-button, - .outer-wrapper.newtab-experience .search-wrapper input, - html body.activity-stream div#root div span button.personalize-button { - transition: all 0.3s ease !important; - background-color: rgba(var(--dark-color-light), 1) !important; - color: rgba(var(--dark-color-text), 1) !important; - } - html body.activity-stream div#root div span button.personalize-button:hover { - background-color: rgba(var(--accent-color), 0.3) !important; - } - .search-handoff-button .fake-textbox { - color: rgba(var(--light-color), 1) !important; - } -} diff --git a/files/flake.nix b/files/flake.nix @@ -36,13 +36,6 @@ # Neofetch fetch = readFile ./neofetch/config.conf; - # Firefox Web Browser - firefox = map.files { - directory = ./firefox; - apply = readFile; - extension = ".css"; - }; - # X11 Touchpad Gestures gestures = readFile ./touchegg/gestures.xml; diff --git a/files/images/desktop/pantheon.png b/files/images/desktop/pantheon.png Binary files differ. diff --git a/files/pantheon/dconf.nix b/files/pantheon/dconf.nix @@ -18,7 +18,7 @@ in { "io/elementary/desktop/wingpanel/power".show-percentage = true; "io/elementary/desktop/wingpanel/bluetooth".bluetooth-enabled = false; "io/elementary/switchboard/keyboard".first-launch = false; - "io/elementary/files/preferences".singleclick-select = true; + "io/elementary/files/preferences".singleclick-select = false; "io/elementary/settings-daemon/datetime".show-weeks = true; "org/gnome/desktop/session".idle-delay = mkUint32 900; @@ -160,7 +160,7 @@ in { "com/github/hezral/clips" = { first-run = false; - hide-on-startup = false; + hide-on-startup = true; min-column-number = 3; persistent-mode = false; prefer-dark-style = true; diff --git a/files/plank/launchers/google-chrome.dockitem b/files/plank/launchers/google-chrome.dockitem @@ -1,2 +0,0 @@ -[PlankDockItemPreferences] -Launcher=file:///run/current-system/sw/share/applications/google-chrome.desktop diff --git a/files/plank/launchers/io.elementary.mail.dockitem b/files/plank/launchers/io.elementary.mail.dockitem @@ -0,0 +1,2 @@ +[PlankDockItemPreferences] +Launcher=file:///run/current-system/sw/share/applications/io.elementary.mail.desktop diff --git a/modules/gui/desktop/gnome.nix b/modules/gui/desktop/gnome.nix @@ -117,7 +117,7 @@ in { { # Firefox GNOME Theme ".mozilla/firefox/default/chrome/userChrome.css".text = ''@import "${pkgs.custom.firefox-gnome-theme}/userChrome.css";''; - ".mozilla/firefox/default/chrome/userContent.css".text = firefox.gnome; + ".mozilla/firefox/default/chrome/userContent.css".text = ''@import "${pkgs.custom.firefox-gnome-theme}/userContent.css";''; # Workaround for NixOS/nixpkgs/47340 ".mozilla/native-messaging-hosts/org.gnome.chrome_gnome_shell.json".source = "${pkgs.chrome-gnome-shell}/lib/mozilla/native-messaging-hosts/org.gnome.chrome_gnome_shell.json"; diff --git a/modules/gui/desktop/pantheon.nix b/modules/gui/desktop/pantheon.nix @@ -40,6 +40,7 @@ in { }; programs = { + firefox.enable = true; pantheon-tweaks.enable = true; seahorse.enable = true; }; @@ -135,48 +136,48 @@ in { x11.enable = true; }; - file = - { - # Plank Dock - ".config/autostart/Dock.desktop".text = plank.autostart; - ".local/share/plank/themes/default/dock.theme".text = plank.theme; - ".config/plank/dock1/launchers" = { - source = plank.launchers; - recursive = true; - force = true; - }; - - # Panel Indicators - ".config/autostart/ibus-daemon.desktop".text = '' - [Desktop Entry] - Name=IBus Daemon - Type=Application - Exec=${pkgs.ibus}/bin/ibus-daemon --daemonize --desktop=pantheon --replace --xim - Categories= - Terminal=false - NoDisplay=true - StartupNotify=false - ''; - - ".config/autostart/monitor-background.desktop".text = '' - [Desktop Entry] - Name=Monitor Indicators - Type=Application - Exec=/run/current-system/sw/bin/com.github.stsdc.monitor --start-in-background - Icon=com.github.stsdc.monitor - Categories= - Terminal=false - NoDisplay=true - StartupNotify=false''; - } - ## 3rd Party Apps Configuration - // (mkIf (exists "firefox") { - # Firefox Elementary Theme - ".mozilla/firefox/default/chrome/userChrome.css".text = ''@import "${pkgs.custom.firefox-elementary-theme}/Windows/userChrome.css";''; - ".mozilla/firefox/default/chrome/userContent.css".text = firefox.elementary; - }); + file = { + # Plank Dock + ".config/autostart/Dock.desktop".text = plank.autostart; + ".local/share/plank/themes/default/dock.theme".text = plank.theme; + ".config/plank/dock1/launchers" = { + source = plank.launchers; + recursive = true; + force = true; + }; + + # Firefox Elementary Theme + ".mozilla/firefox/default/chrome/userChrome.css".source = "${pkgs.custom.firefox-elementary-theme}/Windows/userChrome.css"; + ".mozilla/firefox/default/chrome/userContent.css".source = "${pkgs.custom.firefox-elementary-theme}/userContent.css"; + ".mozilla/firefox/default/chrome/base.css".source = "${pkgs.custom.firefox-elementary-theme}/base.css"; + + # Panel Indicators + ".config/autostart/ibus-daemon.desktop".text = '' + [Desktop Entry] + Name=IBus Daemon + Type=Application + Exec=${pkgs.ibus}/bin/ibus-daemon --daemonize --desktop=pantheon --replace --xim + Categories= + Terminal=false + NoDisplay=true + StartupNotify=false + ''; + + ".config/autostart/monitor-background.desktop".text = '' + [Desktop Entry] + Name=Monitor Indicators + Type=Application + Exec=/run/current-system/sw/bin/com.github.stsdc.monitor --start-in-background + Icon=com.github.stsdc.monitor + Categories= + Terminal=false + NoDisplay=true + StartupNotify=false + ''; + }; }; + ## 3rd Party Apps Configuration # Code Editor programs.vscode = mkIf (exists "vscode") { extensions = [pkgs.code.vscode-marketplace.sixpounder.elementary-theme];