{"id":13581172,"url":"https://github.com/Yucklys/polybar-nord-theme","last_synced_at":"2025-04-06T06:32:57.365Z","repository":{"id":43152840,"uuid":"200766911","full_name":"Yucklys/polybar-nord-theme","owner":"Yucklys","description":"A polybar configuration based on Nord colorscheme with support for multiple modules.","archived":false,"fork":false,"pushed_at":"2022-12-24T09:27:41.000Z","size":33801,"stargazers_count":255,"open_issues_count":0,"forks_count":27,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-05T20:47:00.427Z","etag":null,"topics":["nord","polybar"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yucklys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-06T03:08:25.000Z","updated_at":"2024-10-17T19:31:56.000Z","dependencies_parsed_at":"2023-01-30T20:31:34.808Z","dependency_job_id":null,"html_url":"https://github.com/Yucklys/polybar-nord-theme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yucklys%2Fpolybar-nord-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yucklys%2Fpolybar-nord-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yucklys%2Fpolybar-nord-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yucklys%2Fpolybar-nord-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yucklys","download_url":"https://codeload.github.com/Yucklys/polybar-nord-theme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445661,"owners_count":20939953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nord","polybar"],"created_at":"2024-08-01T15:01:58.822Z","updated_at":"2025-04-06T06:32:55.678Z","avatar_url":"https://github.com/Yucklys.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Polybar Nord\n\n\u003e Collection of Polybar theme and module.\n\nThe theme and module collection for [Polybar](https://github.com/polybar/polybar) based on [Nord](https://www.nordtheme.com/) colors. This theme provides two bar setups, each of them has light and dark variants. Besides the official modules, there are also scripts from [polybar-scripts](https://github.com/polybar/polybar-scripts) and myself which are configured to suit the theme.\n\n![i3-nord-dark.png](https://github.com/Yucklys/polybar-nord-theme/raw/master/polybar-nord.png)\n\n\u003c!--more--\u003e\n\n## Table of Contents\n\n- [Install](#install)\n- [Usage](#usage)\n- [File Structure](#file-structure)\n- [Module Details](#module-details)\n\n## Install\n\n### Dependency\n\nRequired dependency:\n\n1. [Font Awesome](https://www.archlinux.org/packages/community/any/ttf-font-awesome/)\n\nOptional dependency:\n\n1. [Weather Icon](https://github.com/erikflowers/weather-icons) (required by `weather` module)\n2. Dunst (required by `notify` module)\n3. redshift (required by `backlight` module)\n4. clash (required by `clash-widget` module)\n5. [onedrive](https://github.com/skilion/onedrive) (required by `onedrive-widget` module)\n6. [clipmenu](https://github.com/cdown/clipmenu/) (required by `clipmenu-widget` module)\n7. [nord-oneline](https://github.com/lr-tech/rofi-themes-collection) (required by `rofi-run` module)\n\n### Install by `git clone` (recommand)\n\n```shell\ngit clone https://github.com/Yucklys/polybar-nord-theme ~/.config/polybar/\n```\n\n`~/.config/polybar` is the default path for polybar configuration, if you want to use other location, change `~/.config/polybar` to your location and also change the location specified in the `launch.sh` file.\n\n## Usage\n\n1. Enter the installation directory `cd ~/.config/polybar`.\n2. Run `./launch.sh light` for light theme, and `./launch.sh dark` for dark theme.\n3. For customization, most of the options are listed in `nord-config` file. For more details, check [File Structure](#File Structure) part.\n4. `pkill polybar` to kill the bars.\n\n## File Structure\n\n### `dark-colors` and `light-colors`\n\nThe color for dark and light theme. You don't need to edit these flies unless you want to change the color globally.\n\n### `dark-config` and `light-config`\n\nThe configuration for dark and light theme. Most of the settings are covered by `nord-config` except font settings. You can change the font setting in these files.\n\n### `nord-config`\n\nThe global configuration. You can customize the position of the bars, DPI setting, modules, etc. The detailed help messages are in the comment for each option.\n\n### `nord-top` and `nord-down`\n\nThe modules for top and bottom bar setup. For some specific modules you need to edit these files. For more details of these modules check [Module Details](#Module Details).\n\n### `scripts`\n\nThe directory contains all the scripts and files that required by the modules. \n\n## Module Details\n\n1. [alsa](#alsa)\n2. [backlight](#backlight)\n3. [date](#date)\n4. [notify (基于dunst)](#notify)\n5. [network-detail](#network-detail)\n6. [network-short](#network-short)\n7. [battery](#battery)\n8. [keyboard](#keyboard)\n10. [mpd](#mpd)\n11. [spotify](#spotify)\n12. [i3](#i3)\n13. [bspwm](#bspwm)\n14. [workspace-name](#workspace-name)\n13. [title](#title)\n14. [weather](#weather)\n15. [info-hackspeed](#info-hackspeed)\n16. [github](#github)\n17. [daily-poem](#daily-poem)\n18. [temperature](temperature)\n19. [memory](#memory)\n20. [cpu](#cpu)\n21. [show-desktop](#show-desktop)\n22. [powermenu](#powermenu)\n23. [clash-widget](#clash-widget)\n24. [onedrive-widget](#onedrive-widget)\n25. [clipmenu-widget](#clipmenu-widget)\n26. [rofi-run](#rofi-run)\n\n### alsa\n\nDisplay current volume. The default sound card is `default`, you can change this option in `nord-config`.\n\n| Bind             | Event                |\n| ---------------- | -------------------- |\n| mouse left click | toggle mute          |\n| scroll up        | volume + 5% for each |\n| scroll down      | volume - 5% for each |\n\n### backlight\n\nDisplay current lightness of screen.\n\n| Bind             | Event                   |\n| ---------------- | ----------------------- |\n| scroll up        | lightness + 5% for each |\n| scroll down      | lightness - 5% for each |\n| mouse left click | toggle redshift         |\n\n### date\n\nDisplay date and time.\n\n| Bind             | Event                           |\n| ---------------- | ------------------------------- |\n| mouse left click | switch between date/time format |\n\n### notify\n\nNotify icon.\n\n| Bind     | Event                                                         |\n| -------- | ------------------------------------------------------------ |\n| mouse left click | key event `ctrl+grave`, the default hotkey for dunst history notify |\n\n### network-detail\n\nDisplay upload and download speed in KB/s. Need to set your network interface at `nord-config.interface`.\n\n### network-short\n\nDisplay network connection icon. By defailt left click on the icon will call `networkmanager-dmenu`. For more details of this you can check [networkmanager-dmenu](https://github.com/firecat53/networkmanager-dmenu).\n\n| Bind     | Event                 |\n|:---------|:---------------------|\n| mouse left click | networkmanager-dmenu |\n\n\n### battery\n\nDisplay battery infomation. Requires to set `nord-config.battery-full-at`, `nord-config.battery-bat` and `nord-config.battery-adp`.\n\n### keyboard\n\nDisplay keyboard CapsLock indicator.\n\n### mpd\n\nDisplay mpd information. It is hidden when mpd process does not running. There are three layout corresponding to **play**, **pause** and **stop**.\n\n- Display full content when in play status, including *pause*, *prev*, *artist - song*, *next*, *stop*, *progress bar*, *cycle* and *random*.\n- Display part of the content when in pause status, including *play*, *prev*, *artist - song*, *next*, *stop*.\n- Display *play* only in stop status.\n\nRequires `nord-config.mpd-host` and `nord-config.mpd-port`.\n\n### spotify\n\nDisplay currently playing spotify song title.\n\n### i3\n\nDisplay i3 workspace icon. Icon list can be customized in `nord-top`.\n\n| Bind     | Event                     |\n| -------- | ------------------------ |\n| mouse left click | i3-msg workspace \u003cindex\u003e |\n| scroll up   | i3-msg workspace prev    |\n| scroll down   | i3-msg workspace next    |\n\n### bspwm\n\nDisplay bspwm workspace icon.\n\n### workspace-name\n\nDisplay the name of current workspace which is defined in the configuration of i3. The format should be `index:identifier`, for example `1:Home`.\n\n### title\n\nDisplay the title of current active window.\n\n### weather\n\nDisplay weather information from Openweather with scripts [polybar/polybar-scripts/openweather-fullfeatured](https://github.com/polybar/polybar-scripts/tree/master/polybar-scripts/openweathermap-fullfeatured). Personal API and city code is required. For more detailed usage check the project's README.\n\n### info-hackspeed\n\nDisplay the speed of inputting in cpm(char per minute) or wpm (word per minute). The script comes from [polybar/polybar-scripts/info-hackspeed](https://github.com/polybar/polybar-scripts/tree/master/polybar-scripts/info-hackspeed).\n\n### daily-poem\n\nDisplay Chese poem. The API is from [今日诗词 API](https://www.jinrishici.com/). ~~Before usage you need to get your token from https://v2.jinrishici.com/token and replace mine in `nord-down`~~.\n\nYou can use this module without any configuration, but if you want to customize the output format, you can change the command in `nord-down`. For help on the command, `scripts/daily-poem -h` will list all the options for you.\n\n#### Providers\n- 今日诗词(jrsc)\n- ...\n\n### temperature\n\nDisplay internal temperature. You can specify the thermal-zone in `nord-config.thermal-zone`, the default value is 0. When the temperature is lower than `nord-config.base-temperature` it will switch to lowest temperature layout; when the temperature is higher than `nord-config.warn-temperature` is will switch to warning temperature layout. The color of icon will change between `base-temperature` and `warn-temperature`, so set the proper values for your environment.\n\n### memory\n\nDisplay memory usage in the format used/total.\n\n### cpu\n\nDisplay CPU usage.\n\n### show-desktop\n\nDisplay desktop. By default it will switch to `25:Desktop`. You can customize this in `nord-down`.\n\n| Bind     | Event                        |\n| -------- | --------------------------- |\n| mouse left click | i3-msg workspace 25:Desktop |\n\n### powermenu\n\nList of power options, `shutdown`, `reboot` and `logout`.\n\n### clash-widget\n\nRequire clash service. You can write by yourself or use mine in `systemd/clash.service`.\n\n| Bind              | Event          |\n| ----------------- | -------------- |\n| mouse left click  | toggle service |\n| mouse right click | update status  |\n\n### onedrive-widget\n\nRequire [onedrive](https://github.com/skilion/onedrive).\n\n| Bind              | Event          |\n| ----------------- | -------------- |\n| mouse left click  | toggle service |\n| mouse right click | update status  |\n\n### clipmenu-widget\n\nRequire [clipmenu](https://github.com/cdown/clipmenu/).\n\n| Bind              | Event          |\n| ----------------- | -------------- |\n| mouse left click  | trigger menu   |\n| double left click | toggle service |\n| mouse right click | update status  |\n\n### nord-oneline\n\nOne-line style program runner. It will cover the top panel by left click the icon.\n\n![rofi-run](https://github.com/Yucklys/polybar-nord-theme/raw/master/screenshots/rofi-run.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FYucklys%2Fpolybar-nord-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FYucklys%2Fpolybar-nord-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FYucklys%2Fpolybar-nord-theme/lists"}