Py3status Documentation Release 3.6

Total Page:16

File Type:pdf, Size:1020Kb

Py3status Documentation Release 3.6 py3status Documentation Release 3.6 ultrabug Aug 22, 2017 Contents: 1 Introduction 1 1.1 About...................................................1 1.2 Philosophy................................................1 1.3 Installation................................................2 1.4 Support..................................................2 1.5 Usage...................................................2 2 Modules 5 2.1 air_quality................................................5 2.2 apt_updates................................................6 2.3 arch_updates...............................................7 2.4 aws_bill..................................................7 2.5 backlight.................................................8 2.6 battery_level...............................................9 2.7 bitcoin_price............................................... 10 2.8 bluetooth................................................. 11 2.9 check_tcp................................................. 11 2.10 clementine................................................ 12 2.11 clock................................................... 12 2.12 cmus................................................... 14 2.13 coin_balance............................................... 16 2.14 coin_market............................................... 17 2.15 deadbeef................................................. 19 2.16 diskdata.................................................. 19 2.17 do_not_disturb.............................................. 21 2.18 dpms................................................... 21 2.19 dropboxd_status............................................. 22 2.20 exchange_rate.............................................. 23 2.21 external_script.............................................. 23 2.22 fedora_updates.............................................. 24 2.23 file_status................................................. 24 2.24 frame................................................... 25 2.25 getjson.................................................. 26 2.26 github................................................... 27 2.27 glpi.................................................... 28 2.28 gpmdp.................................................. 29 i 2.29 graphite.................................................. 29 2.30 group................................................... 30 2.31 hamster.................................................. 32 2.32 i3block.................................................. 32 2.33 icinga2.................................................. 34 2.34 imap................................................... 34 2.35 insync................................................... 35 2.36 kdeconnector............................................... 35 2.37 keyboard_layout............................................. 37 2.38 keyboard_locks.............................................. 37 2.39 moc.................................................... 38 2.40 mpd_status................................................ 39 2.41 mpris................................................... 40 2.42 net_iplist................................................. 42 2.43 net_rate.................................................. 43 2.44 netdata.................................................. 44 2.45 ns_checker................................................ 45 2.46 nvidia_temp............................................... 45 2.47 online_status............................................... 46 2.48 pingdom................................................. 47 2.49 player_control.............................................. 47 2.50 pomodoro................................................. 48 2.51 process_status.............................................. 49 2.52 rainbow.................................................. 49 2.53 rate_counter............................................... 50 2.54 rss_aggregator.............................................. 51 2.55 rt..................................................... 52 2.56 scratchpad_async............................................. 53 2.57 scratchpad_counter............................................ 53 2.58 screenshot................................................ 54 2.59 selinux.................................................. 54 2.60 spaceapi................................................. 55 2.61 spotify.................................................. 56 2.62 static_string................................................ 57 2.63 sysdata.................................................. 57 2.64 systemd.................................................. 58 2.65 taskwarrior................................................ 59 2.66 timer................................................... 59 2.67 tor_rate.................................................. 60 2.68 twitch_streaming............................................. 61 2.69 uname.................................................. 61 2.70 uptime.................................................. 62 2.71 vnstat................................................... 63 2.72 volume_status.............................................. 63 2.73 vpn_status................................................ 65 2.74 weather_yahoo.............................................. 65 2.75 whatismyip................................................ 67 2.76 whoami.................................................. 67 2.77 wifi.................................................... 68 2.78 window_title............................................... 69 2.79 window_title_async........................................... 69 2.80 wwan_status............................................... 70 2.81 xrandr................................................... 71 2.82 xrandr_rotate............................................... 72 ii 2.83 xscreensaver............................................... 73 2.84 xsel.................................................... 73 2.85 yandexdisk_status............................................ 74 3 Using modules 77 3.1 Loading a py3status module and ordering modules output....................... 77 3.2 Configuring a py3status module..................................... 78 3.3 py3status configuration section..................................... 78 3.4 Configuration obfuscation........................................ 78 3.5 Configuring colors............................................ 79 3.6 Configuring thresholds.......................................... 80 3.7 Urgent.................................................. 80 3.8 Grouping Modules............................................ 81 3.9 Custom click events........................................... 83 3.10 Special on_click commands....................................... 84 3.11 Module data and on_click commands.................................. 84 4 py3-cmd 85 4.1 Commands available........................................... 85 4.2 Calling commands from i3........................................ 86 5 Writing custom py3status modules 87 5.1 Example 1: The basics - Hello World!.................................. 87 5.2 Example 2: Configuration parameters.................................. 88 5.3 Example 3: Click events......................................... 89 5.4 Example 4: Status string placeholders.................................. 90 5.5 Example 5: Using color constants.................................... 91 5.6 Module methods............................................. 92 5.7 Py3 module helper............................................ 93 5.8 Composites................................................ 93 5.9 Module documentation.......................................... 94 5.10 Deprecation of configuration parameters................................ 95 5.11 Updating of configuration parameters.................................. 98 5.12 Module testing.............................................. 98 6 py3 module helper 101 6.1 Constants................................................. 101 6.2 Exceptions................................................ 101 6.3 Methods................................................. 102 7 Developing and Contributing 109 7.1 What you will need............................................ 109 7.2 Setting up a development environment................................. 109 7.3 Python versions............................................. 110 7.4 Pytest................................................... 110 7.5 Travis CI................................................. 110 7.6 Coding in containers........................................... 111 7.7 Building documentation......................................... 111 7.8 Contributions............................................... 111 iii iv CHAPTER 1 Introduction Using py3status, you can take control of your i3bar easily by: • using one of the available Modules shipped with py3status • grouping multiple modules and automatically or manually cycle their display • writing your own modules and have their output displayed on your bar • handling click events on your i3bar and play with them in no time • seeing your clock tick every second whatever your i3status interval No extra configuration file needed, just install & enjoy! About You will love py3status if you’re using i3wm and are frustrated by the i3status limitations on your i3bar such as: • you cannot hack into it easily • you want more than the built-in modules and their limited configuration • you cannot pipe the result of one of more scripts or commands in your bar easily
Recommended publications
  • Dockerdocker
    X86 Exagear Emulation • Android Gaming • Meta Package Installation Year Two Issue #14 Feb 2015 ODROIDMagazine DockerDocker OS Spotlight: Deploying ready-to-use Ubuntu Studio containers for running complex system environments • Interfacing ODROID-C1 with 16 Channel Relay Play with the Weather Board • ODROID-C1 Minimal Install • Device Configuration for Android Development • Remote Desktop using Guacamole What we stand for. We strive to symbolize the edge of technology, future, youth, humanity, and engineering. Our philosophy is based on Developers. And our efforts to keep close relationships with developers around the world. For that, you can always count on having the quality and sophistication that is the hallmark of our products. Simple, modern and distinctive. So you can have the best to accomplish everything you can dream of. We are now shipping the ODROID U3 devices to EU countries! Come and visit our online store to shop! Address: Max-Pollin-Straße 1 85104 Pförring Germany Telephone & Fax phone : +49 (0) 8403 / 920-920 email : [email protected] Our ODROID products can be found at http://bit.ly/1tXPXwe EDITORIAL ow that ODROID Magazine is in its second year, we’ve ex- panded into several social networks in order to make it Neasier for you to ask questions, suggest topics, send article submissions, and be notified whenever the latest issue has been posted. Check out our Google+ page at http://bit.ly/1D7ds9u, our Reddit forum at http://bit. ly/1DyClsP, and our Hardkernel subforum at http://bit.ly/1E66Tm6. If you’ve been following the recent Docker trends, you’ll be excited to find out about some of the pre-built Docker images available for the ODROID, detailed in the second part of our Docker series that began last month.
    [Show full text]
  • User Manual for Your Receiver Or Display for More Information on How to Enable HDMI Audio and Connecting a Display to Your A/V Receiver
    C M Y CM MY CY CMY K ECM 2 High Performance Balanced Network Media Player (with integrated DAC and Streamer) Owner's Manual Version 1.1 EN ENGLISH ENG Table of contents Safety & precautions ............................................................................................. 4 The contents of the carton ...................................................................................... 4 Front panel ........................................................................................................... 4 Navigator controls ................................................................................................ 5 Rear panel connections ......................................................................................... 5 Remote control ...................................................................................................... 6 Installation .................................................................................................................. 7 Connecting audio/video..................................................................................... 7 • Analog audio output – balanced XLR ................................................ 7 • Analog audio output – unbalanced RCA ........................................... 7 • Digital audio output – HDMI ............................................................ 7 • Digital audio output – S/PDIF............................................................ 7 Connecting to a network .................................................................................
    [Show full text]
  • Audio Engineering Society Convention Paper
    Audio Engineering Society Convention Paper Presented at the 128th Convention 2010 May 22–25 London, UK The papers at this Convention have been selected on the basis of a submitted abstract and extended precis that have been peer reviewed by at least two qualified anonymous reviewers. This convention paper has been reproduced from the author's advance manuscript, without editing, corrections, or consideration by the Review Board. The AES takes no responsibility for the contents. Additional papers may be obtained by sending request and remittance to Audio Engineering Society, 60 East 42nd Street, New York, New York 10165-2520, USA; also see www.aes.org. All rights reserved. Reproduction of this paper, or any portion thereof, is not permitted without direct permission from the Journal of the Audio Engineering Society. Loudness Normalization In The Age Of Portable Media Players Martin Wolters1, Harald Mundt1, and Jeffrey Riedmiller2 1 Dolby Germany GmbH, Nuremberg, Germany [email protected], [email protected] 2 Dolby Laboratories Inc., San Francisco, CA, USA [email protected] ABSTRACT In recent years, the increasing popularity of portable media devices among consumers has created new and unique audio challenges for content creators, distributors as well as device manufacturers. Many of the latest devices are capable of supporting a broad range of content types and media formats including those often associated with high quality (wider dynamic-range) experiences such as HDTV, Blu-ray or DVD. However, portable media devices are generally challenged in terms of maintaining consistent loudness and intelligibility across varying media and content types on either their internal speaker(s) and/or headphone outputs.
    [Show full text]
  • The Kid3 Handbook
    The Kid3 Handbook Software development: Urs Fleisch The Kid3 Handbook 2 Contents 1 Introduction 11 2 Using Kid3 12 2.1 Kid3 features . 12 2.2 Example Usage . 12 3 Command Reference 14 3.1 The GUI Elements . 14 3.1.1 File List . 14 3.1.2 Edit Playlist . 15 3.1.3 Folder List . 15 3.1.4 File . 16 3.1.5 Tag 1 . 17 3.1.6 Tag 2 . 18 3.1.7 Tag 3 . 18 3.1.8 Frame List . 18 3.1.9 Synchronized Lyrics and Event Timing Codes . 21 3.2 The File Menu . 22 3.3 The Edit Menu . 28 3.4 The Tools Menu . 29 3.5 The Settings Menu . 32 3.6 The Help Menu . 37 4 kid3-cli 38 4.1 Commands . 38 4.1.1 Help . 38 4.1.2 Timeout . 38 4.1.3 Quit application . 38 4.1.4 Change folder . 38 4.1.5 Print the filename of the current folder . 39 4.1.6 Folder list . 39 4.1.7 Save the changed files . 39 4.1.8 Select file . 39 4.1.9 Select tag . 40 The Kid3 Handbook 4.1.10 Get tag frame . 40 4.1.11 Set tag frame . 40 4.1.12 Revert . 41 4.1.13 Import from file . 41 4.1.14 Automatic import . 41 4.1.15 Download album cover artwork . 42 4.1.16 Export to file . 42 4.1.17 Create playlist . 42 4.1.18 Apply filename format . 42 4.1.19 Apply tag format .
    [Show full text]
  • Rockbox User Manual
    The Rockbox Manual for Sansa Fuze+ rockbox.org October 1, 2013 2 Rockbox http://www.rockbox.org/ Open Source Jukebox Firmware Rockbox and this manual is the collaborative effort of the Rockbox team and its contributors. See the appendix for a complete list of contributors. c 2003-2013 The Rockbox Team and its contributors, c 2004 Christi Alice Scarborough, c 2003 José Maria Garcia-Valdecasas Bernal & Peter Schlenker. Version unknown-131001. Built using pdfLATEX. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sec- tions, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”. The Rockbox manual (version unknown-131001) Sansa Fuze+ Contents 3 Contents 1. Introduction 11 1.1. Welcome..................................... 11 1.2. Getting more help............................... 11 1.3. Naming conventions and marks........................ 12 2. Installation 13 2.1. Before Starting................................. 13 2.2. Installing Rockbox............................... 13 2.2.1. Automated Installation........................ 14 2.2.2. Manual Installation.......................... 15 2.2.3. Bootloader installation from Windows................ 16 2.2.4. Bootloader installation from Mac OS X and Linux......... 17 2.2.5. Finishing the install.......................... 17 2.2.6. Enabling Speech Support (optional)................. 17 2.3. Running Rockbox................................ 18 2.4. Updating Rockbox............................... 18 2.5. Uninstalling Rockbox............................. 18 2.5.1. Automatic Uninstallation....................... 18 2.5.2. Manual Uninstallation......................... 18 2.6. Troubleshooting................................. 18 3. Quick Start 20 3.1.
    [Show full text]
  • The Top 10 Open Source Music Players Scores of Music Players Are Available in the Open Source World, and Each One Has Something That Is Unique
    For U & Me Overview The Top 10 Open Source Music Players Scores of music players are available in the open source world, and each one has something that is unique. Here are the top 10 music players for you to check out. verybody likes to use a music player that is hassle- Amarok free and easy to operate, besides having plenty of Amarok is a part of the KDE project and is the default music Efeatures to enhance the music experience. The open player in Kubuntu. Mark Kretschmann started this project. source community has developed many music players. This The Amarok experience can be enhanced with custom scripts article lists the features of the ten best open source music or by using scripts contributed by other developers. players, which will help you to select the player most Its first release was on June 23, 2003. Amarok has been suited to your musical tastes. The article also helps those developed in C++ using Qt (the toolkit for cross-platform who wish to explore the features and capabilities of open application development). Its tagline, ‘Rediscover your source music players. Music’, is indeed true, considering its long list of features. 98 | FEBRUARY 2014 | OPEN SOURCE FOR YoU | www.LinuxForU.com Overview For U & Me Table 1: Features at a glance iPod sync Track info Smart/ Name/ Fade/ gapless and USB Radio and Remotely Last.fm Playback and lyrics dynamic Feature playback device podcasts controlled integration resume lookup playlist support Amarok Crossfade Both Yes Both Yes Both Yes Yes (Xine), Gapless (Gstreamer) aTunes Fade only
    [Show full text]
  • Foobar Resume Playback After Playing Different Song
    Foobar Resume Playback After Playing Different Song Orphic and cowardly Sammy always chitters nominatively and presuming his assagai. Yacov never reest any titubations grunt therefor, is Shelby recessed and statist enough? Rutter reifies blushingly if feldspathoid Tudor nicks or out. Hit Spacebar again and playback will pause from long end justify the gap. This resume playback after the song played one of foobar is played track begins on? Retrieve upcoming album releases and concerts. What more assured of songs play it is after download additional options like foobar and. The songs to operate; using plugins you can upgrade to! Return a bounty of plays that the user has building since the app has started. Just play songs you can. Dangerous will resume playback after i played songs with different protocol spoken, song has an. Winyl interface is simple and to the point, and not the exact beginning? Out that contain lossy data insights to playback resume from your experience possible solutions for me? That plays it play songs and resume position that helps you have. No offense, the Western European cities suffered a lump, will drain of your help. Dust in winamp, it is playing records for you in some artists and even offline music on your. For different players on windows switch to play history over written as far i played track after player! You do not have permission to remove this product association. So what is early is failure situation? You sure is characterised by default ui improvements over time, which is use resume playing mode. Otherwise superb roon experience.
    [Show full text]
  • X14 User Manual
    Rev1.2 English 1 Gracenote® End User License Agreement This application or device contains software from Gracenote, Inc. of Emeryville, California (“Gracenote”). The software from Gracenote (the “Gracenote Software”) enables this application to perform disc and/or file identification and obtain music-related information, including name, artist, track, and title information (“Gracenote Data”) from online servers or embedded databases (collectively, “Gracenote Servers”) and to perform other functions. You may use Gracenote Data only by means of the intended End-User functions of this application or device. You agree that you will use Gracenote Data, the Gracenote Software, and Gracenote Servers for your own personal non-commercial use only. You agree not to assign, copy, transfer or transmit the Gracenote Software or any Gracenote Data to any third party. YOU AGREE NOT TO USE OR EXPLOIT GRACENOTE DATA, THE GRACENOTE SOFTWARE, OR GRACENOTE SERVERS, EXCEPT AS EXPRESSLY PERMITTED HEREIN. You agree that your non-exclusive license to use the Gracenote Data, the Gracenote Software, and Gracenote Servers will terminate if you violate these restrictions. If your license terminates, you agree to cease any and all use of the Gracenote Data, the Gracenote Software, and Gracenote Servers. Gracenote reserves all rights in Gracenote Data, the Gracenote Software, and the Gracenote Servers, including all ownership rights. Under no circumstances will Gracenote become liable for any payment to you for any information that you provide. You agree that Gracenote, Inc. may enforce its rights under this Agreement against you directly in its own name. The Gracenote service uses a unique identifier to track queries for statistical purposes.
    [Show full text]
  • Beets Documentation Release 1.5.1
    beets Documentation Release 1.5.1 Adrian Sampson Oct 01, 2021 Contents 1 Contents 3 1.1 Guides..................................................3 1.2 Reference................................................. 14 1.3 Plugins.................................................. 44 1.4 FAQ.................................................... 120 1.5 Contributing............................................... 125 1.6 For Developers.............................................. 130 1.7 Changelog................................................ 145 Index 213 i ii beets Documentation, Release 1.5.1 Welcome to the documentation for beets, the media library management system for obsessive music geeks. If you’re new to beets, begin with the Getting Started guide. That guide walks you through installing beets, setting it up how you like it, and starting to build your music library. Then you can get a more detailed look at beets’ features in the Command-Line Interface and Configuration references. You might also be interested in exploring the plugins. If you still need help, your can drop by the #beets IRC channel on Libera.Chat, drop by the discussion board, send email to the mailing list, or file a bug in the issue tracker. Please let us know where you think this documentation can be improved. Contents 1 beets Documentation, Release 1.5.1 2 Contents CHAPTER 1 Contents 1.1 Guides This section contains a couple of walkthroughs that will help you get familiar with beets. If you’re new to beets, you’ll want to begin with the Getting Started guide. 1.1.1 Getting Started Welcome to beets! This guide will help you begin using it to make your music collection better. Installing You will need Python. Beets works on Python 3.6 or later. • macOS 11 (Big Sur) includes Python 3.8 out of the box.
    [Show full text]
  • MX-19.2 Users Manual
    MX-19.2 Users Manual v. 20200801 manual AT mxlinux DOT org Ctrl-F = Search this Manual Ctrl+Home = Return to top Table of Contents 1 Introduction...................................................................................................................................4 1.1 About MX Linux................................................................................................................4 1.2 About this Manual..............................................................................................................4 1.3 System requirements..........................................................................................................5 1.4 Support and EOL................................................................................................................6 1.5 Bugs, issues and requests...................................................................................................6 1.6 Migration............................................................................................................................7 1.7 Our positions......................................................................................................................8 1.8 Notes for Translators.............................................................................................................8 2 Installation...................................................................................................................................10 2.1 Introduction......................................................................................................................10
    [Show full text]
  • Pipenightdreams Osgcal-Doc Mumudvb Mpg123-Alsa Tbb
    pipenightdreams osgcal-doc mumudvb mpg123-alsa tbb-examples libgammu4-dbg gcc-4.1-doc snort-rules-default davical cutmp3 libevolution5.0-cil aspell-am python-gobject-doc openoffice.org-l10n-mn libc6-xen xserver-xorg trophy-data t38modem pioneers-console libnb-platform10-java libgtkglext1-ruby libboost-wave1.39-dev drgenius bfbtester libchromexvmcpro1 isdnutils-xtools ubuntuone-client openoffice.org2-math openoffice.org-l10n-lt lsb-cxx-ia32 kdeartwork-emoticons-kde4 wmpuzzle trafshow python-plplot lx-gdb link-monitor-applet libscm-dev liblog-agent-logger-perl libccrtp-doc libclass-throwable-perl kde-i18n-csb jack-jconv hamradio-menus coinor-libvol-doc msx-emulator bitbake nabi language-pack-gnome-zh libpaperg popularity-contest xracer-tools xfont-nexus opendrim-lmp-baseserver libvorbisfile-ruby liblinebreak-doc libgfcui-2.0-0c2a-dbg libblacs-mpi-dev dict-freedict-spa-eng blender-ogrexml aspell-da x11-apps openoffice.org-l10n-lv openoffice.org-l10n-nl pnmtopng libodbcinstq1 libhsqldb-java-doc libmono-addins-gui0.2-cil sg3-utils linux-backports-modules-alsa-2.6.31-19-generic yorick-yeti-gsl python-pymssql plasma-widget-cpuload mcpp gpsim-lcd cl-csv libhtml-clean-perl asterisk-dbg apt-dater-dbg libgnome-mag1-dev language-pack-gnome-yo python-crypto svn-autoreleasedeb sugar-terminal-activity mii-diag maria-doc libplexus-component-api-java-doc libhugs-hgl-bundled libchipcard-libgwenhywfar47-plugins libghc6-random-dev freefem3d ezmlm cakephp-scripts aspell-ar ara-byte not+sparc openoffice.org-l10n-nn linux-backports-modules-karmic-generic-pae
    [Show full text]
  • Here Make Use of the Command-Line and Command-Line (Or Text User Interface) Tools
    Command-Line Guide to Audio Files in Ubuntu | T u... http://localhost/wordpress/static/backup_cli_audio_g... Command-Line Guide to Audio Files in Ubuntu This guide focuses on showing you how to manipulate and convert various audio files using tools included in the Ubuntu repositories. It contains mostly everything you need to know to convert various formats to the free format Ogg Vorbis, including explanations on how to convert FLAC to WAV and vice-versa, convert FLAC, WAV, APE, AC3, WMA or SHN to Ogg Vorbis, edit tags from command-line for free audio formats, and much more. The guide is divided into the following sections, so that you can click on any of them to jump directly to the chapter which is of interest to you: Introduction to Audio Manipulation on Linux The Setup: Tools That We Need Converting FLAC to WAV and Vice-Versa Converting FLAC or WAV to Ogg Vorbis Editing Ogg Vorbis Tags Converting FLAC or WAV to MP3 Ripping Audio CDs Split FLAC, WAV or APE With a CUE File Converting WMA to Ogg Vorbis Converting APE to Ogg Vorbis or MP3 Converting AC3 to WAV Using MPlayer Music Players As a side note, this tutorial does not include references on how to edit or record sound (for example with Audacity or some other audio editor). Also, all the methods explained here make use of the command-line and command-line (or text user interface) tools. At the end of the guide there are several links to helpful links, a list of music players for Linux (both for GUI and CLI), as well as links to reviews for those.
    [Show full text]