Prismatic-Night

授权协议 GPL-3.0 License
开发语言 Java
所属分类 手机/移动开发、 Android UI 组件
软件类型 开源软件
地区 不详
投 递 者 公西志文
操作系统 Android
开源组织
适用人群 未知
 软件概览

Prismatic-Night

If you're seeing something unexpected OR the result doesn't match the screenshots OR you want me to add new features to the startpage OR you need help in modifing the existing files, click on this to open an issue and I'll try to solve it. Post a screenshot of the problem, your current OS as well as the version of firefox you're using.

About the Startpage

The Startpage is hosted using github-pages. Click here to see the live preview.The Startpage currently supports searching with DuckDuckgo and Google. Click on the search engine logo image to toggle the search engine.

Table of Contents

│── Instructions
│   │── Firefox theme
│   │   │── Setting the userchrome
│   │   │── Setting the startpage as the Home page
│   │   └── Setting the startpage as the New Tab page
│   │── Openbox theme
│   │── Tint2 theme
│   │── Folder and systray icons
│   │── Geany colorscheme
│   └── Zathura
└── Screenshots

Instructions

Firefox theme

(tested in Firefox 80.0)

Setting the userchrome

Place the chrome dir in ~/.mozilla/firefox/PROFILE/ to use them. You can get the location of your PROFILE dir in about:profiles (type this in the address bar in your browser).

If you are using FF 69+ you need to enable this first: about:config > toolkit.legacyUserProfileCustomizations.stylesheets > true

Also, set the UI density to compact.

Right-click on tabs bar/nav bar > Customize.. > Density > Compact

Important: see userChrome.css

The userchrome is divided into various "patch files" so that it will be easier to add/ edit the different bits.

Lines 11 and 12 contains two nav bar access methods(use any one at once, i.e. uncomment line 11 or 12. If one of them is uncommented the other must be commented):

Hover access

This is the default access method. Just hover on the tab area with your cursor to access the nav bar and other stuff.

Ctrl+L access

If this is uncommented, you need to press Ctrl+L to access the url bar and other stuff. I prefer this mode as I find the access on hover a little annoying. So i've included it too.(previously this was the default mode but some people who weren't aware of the Ctrl+L feature was having problem. So i decided to make this optional and the access on hover default).

If you want the nav bar to remain unhidden, comment both lines 11 and 12.

BONUS: uncomment line 8 to put the tabs in the bottom.

Setting the startpage as the Home page

Copy the startpage dir to ~/.mozilla/firefox/PROFILE/ just like above. Right click on the index.html from the startpage dir and open with firefox. Now copy the location of the file from the address bar. It looks like this: file:///home/debasis/.mozilla/firefox/sawjo289.default-esr/startpage/index.html. Open preferences > Home from the hamburger menu, select custom URLs and paste the address like so:

Restart firefox.

Setting the startpage as the New Tab page

In the older firefox versions this step was very easy and straight forward but now it's a bit complicated. But fortunately if you follow these steps it will be quite easy(credit/for windows):

  • Open the firefox/newtab/ dir in your file manager. It contains local-settings.js and mozilla.cfg.
  • Open mozilla.cfg in any text editor. It looks like this:

  • In line 7 paste the address of the index.html(see previous section) in the double quotes. Save and close the file.

  • Open your terminal and cd into firefox/newtab/ (location of local-settings.js and mozilla.cfg).

  • Now run the following commands as root user:

sudo cp mozilla.cfg /usr/lib/firefox/
sudo cp local-settings.js /usr/lib/firefox/defaults/pref/

  • Restart firefox (Done!).

Openbox theme

Copy the Prismatic-Night dir from dots/openbox dir to ~/.themes/ or /usr/share/themes/ to use it and select the theme with your Openbox Configuration Manager.

Tint2 theme

Copy the contents of the dots/tint2(or tint2-alt) dir to ~/.config/tint2/ and select the theme with your tint2 gui editor/ theme selector. Do not forget to put the correct path of the icons in your tint2rc otherwise the icons wont appear(change it to your username in /home/USERNAME/.config/tint2/icons/icon.png).

Folder and systray icons

If ur using Nemo or any fork of Nautilus as your file manager, u can directly select the icons through right-click menu -> properties after selecting a folder. For other file managers u have to replace the icons of ur icon theme with the ones here. You can also replace the icons of any icon pack with my icons. For the systray icons copy the contents to for example /usr/share/icons/Papirus/16x16/panel and replace the icons. Then restart session.

Geany colorscheme

Copy the dots/geany/Prismatic-Night.conf to ~/.config/geany/colorschemes.

Zathura

Copy the dots/zathura dir to ~/.config/


Screenshots

  1. Firefox, tint2

  1. 128x128 folder designs

  1. ncmpcpp, xfce4-notify

  1. Geany, urxvt, nemo

  1. Zathura

 相关资料
  • 问题内容: 我正在尝试安装Nightwatch,并且正在使用最新的chromedriver ,它表示支持chromev52-54。但是,当我尝试运行测试时,它说 这是我正在使用的所有内容: ChromeDriver 2.24 selenium2.53.1 nightwatchjsv0.9.8 nodejsv6.5.0 Java v1.7.0_111 项目结构 这是我的守夜人配置文件: ./nigh

  • 问题内容: 我正在尝试使用Nightwatch.js构建自动化测试,以验证软件下载链接是否正常运行。我不想下载文件,因为它们很大,我只想验证相应的链接是否返回200 HTTP响应,以确保链接指向正确的位置。 对使用Nightwatch.js测试到可下载文件的链接的方法有任何想法吗? 这是我目前拥有的: 问题答案: 使用节点模块并发出“ HEAD”请求 例如:声明文件大小 test.js

  • 问题内容: 我正在使用Chrome驱动程序使用nightwatch.js运行前端测试。我需要测试图像上传是否正常工作,大概是通过提供的文件输入来进行的,因为在成功发布后会运行回调。 我知道可以使用Selenium Web驱动程序的sendKeys方法来完成。 您如何使用javascript和nightwatch.js完成此操作?您可以访问Selenium Webdriver或与其相关的界面吗? 问

  • 问题内容: 我想重新讨论提出的有关在使用selenium的Nightwatch.js中测试文件上传的问题。 推荐使用两个链接将文件输入元素的值设置为url的解决方案。在我的用例中,我无法使其正常工作。即使在夜视之外,在的输入中手动设置value标签,也不会更改url。我已经在开发工具中的Chrome,Firefox和IE10上进行了尝试。 我看过的另一种解决方案是尝试模拟整个文件上传过程的击键。这

  • 问题内容: 我有一个Jenkins作业,它通过Nightwatch.js框架在Browserstack上运行Selenium测试。我们有一套完整的测试程序,可以让守夜人在不同的进程中运行,并且我们需要一种在所有测试运行后将通过/失败值返回给Jenkins的方法。 我一直在尝试使用Nightwatch挂钩在每个模块的末尾运行一段代码,但是我无法弄清楚需要采取什么措施才能使Jenkins作业可以访问该

  • 问题内容: 假设我的网页上有这些元素。 我想单击带有文本的链接。如何使用 链接文本 来识别或单击该元素,而没有任何独特的属性,例如id或class。 在.Net中,我可以使用。nightwatch.js中的等效项是什么 问题答案: 定位器在内部使用XPath。 因此,使用XPath单击示例中的第二个链接: 请注意,根据内部HTML的不同,您可能需要连接子级并修剪空格: