Py3status Documentation Release 3.5

Total Page:16

File Type:pdf, Size:1020Kb

Py3status Documentation Release 3.5 py3status Documentation Release 3.5 ultrabug Apr 08, 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 arch_updates...............................................6 2.3 aws_bill..................................................7 2.4 backlight.................................................7 2.5 battery_level...............................................8 2.6 bitcoin_price...............................................9 2.7 bluetooth................................................. 10 2.8 check_tcp................................................. 11 2.9 clementine................................................ 11 2.10 clock................................................... 12 2.11 coin_balance............................................... 13 2.12 deadbeef................................................. 15 2.13 diskdata.................................................. 16 2.14 do_not_disturb.............................................. 17 2.15 dpms................................................... 17 2.16 dropboxd_status............................................. 18 2.17 exchange_rate.............................................. 19 2.18 external_script.............................................. 19 2.19 fedora_updates.............................................. 20 2.20 file_status................................................. 20 2.21 frame................................................... 21 2.22 getjson.................................................. 22 2.23 github................................................... 23 2.24 glpi.................................................... 24 2.25 gpmdp.................................................. 25 2.26 graphite.................................................. 26 2.27 group................................................... 27 2.28 hamster.................................................. 28 i 2.29 icinga2.................................................. 28 2.30 imap................................................... 29 2.31 insync................................................... 30 2.32 kdeconnector............................................... 30 2.33 keyboard_layout............................................. 32 2.34 keyboard_locks.............................................. 32 2.35 mpd_status................................................ 33 2.36 mpris................................................... 34 2.37 net_iplist................................................. 36 2.38 net_rate.................................................. 37 2.39 netdata.................................................. 38 2.40 ns_checker................................................ 38 2.41 nvidia_temp............................................... 39 2.42 online_status............................................... 40 2.43 pingdom................................................. 40 2.44 player_control.............................................. 41 2.45 pomodoro................................................. 42 2.46 process_status.............................................. 43 2.47 rainbow.................................................. 43 2.48 rate_counter............................................... 44 2.49 rss_aggregator.............................................. 45 2.50 rt..................................................... 46 2.51 scratchpad_async............................................. 47 2.52 scratchpad_counter............................................ 47 2.53 screenshot................................................ 47 2.54 selinux.................................................. 48 2.55 spaceapi................................................. 49 2.56 spotify.................................................. 49 2.57 static_string................................................ 50 2.58 sysdata.................................................. 50 2.59 systemd.................................................. 51 2.60 taskwarrior................................................ 52 2.61 timer................................................... 53 2.62 tor_rate.................................................. 53 2.63 twitch_streaming............................................. 54 2.64 uname.................................................. 55 2.65 uptime.................................................. 55 2.66 vnstat................................................... 56 2.67 volume_status.............................................. 57 2.68 vpn_status................................................ 58 2.69 weather_yahoo.............................................. 59 2.70 whatismyip................................................ 60 2.71 whoami.................................................. 61 2.72 wifi.................................................... 61 2.73 window_title............................................... 62 2.74 window_title_async........................................... 63 2.75 wwan_status............................................... 63 2.76 xrandr................................................... 64 2.77 xrandr_rotate............................................... 65 2.78 xscreensaver............................................... 66 2.79 xsel.................................................... 67 2.80 yandexdisk_status............................................ 67 3 Using modules 69 ii 3.1 Loading a py3status module and ordering modules output....................... 69 3.2 Configuring a py3status module..................................... 70 3.3 py3status configuration section..................................... 70 3.4 Configuration obfuscation........................................ 70 3.5 Configuring colors............................................ 71 3.6 Configuring thresholds.......................................... 72 3.7 Grouping Modules............................................ 72 3.8 Custom click events........................................... 74 3.9 Special on_click commands....................................... 75 3.10 Module data and on_click commands.................................. 76 4 Writing custom py3status modules 77 4.1 Example 1: The basics - Hello World!.................................. 77 4.2 Example 2: Configuration parameters.................................. 78 4.3 Example 3: Click events......................................... 79 4.4 Example 4: Status string placeholders.................................. 80 4.5 Example 5: Using color constants.................................... 81 4.6 Module methods............................................. 82 4.7 Py3 module helper............................................ 83 4.8 Composites................................................ 83 4.9 Module documentation.......................................... 84 4.10 Deprecation of configuration parameters................................ 85 4.11 Updating of configuration parameters.................................. 88 4.12 Module testing.............................................. 88 5 py3 module helper 91 5.1 Constants................................................. 91 5.2 Exceptions................................................ 91 5.3 Methods................................................. 92 6 Developing and Contributing 97 6.1 What you will need............................................ 97 6.2 Setting up a developement environment................................. 97 6.3 Python versions............................................. 98 6.4 Pytest................................................... 98 6.5 Travis CI................................................. 98 6.6 Coding in containers........................................... 99 6.7 Building documentation......................................... 99 6.8 Contributions............................................... 99 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 Philosophy • no added configuration file, use the standard i3status.conf • rely on i3status’ strengths and its existing configuration as much as possible • be extensible, it must be easy for users to add their own stuff/output by writing a simple python class which will be loaded and executed dynamically • easily allow interactivity with the i3bar 1 py3status Documentation, Release 3.5 • add some built-in enhancement/transformation of basic i3status modules output • support python 2.7 and python 3.x Installation Distro Helpful Command Useful Note $ pacaur
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]
  • Download Media Player Codec Pack Version 4.1 Media Player Codec Pack
    download media player codec pack version 4.1 Media Player Codec Pack. Description: In Microsoft Windows 10 it is not possible to set all file associations using an installer. Microsoft chose to block changes of file associations with the introduction of their Zune players. Third party codecs are also blocked in some instances, preventing some files from playing in the Zune players. A simple workaround for this problem is to switch playback of video and music files to Windows Media Player manually. In start menu click on the "Settings". In the "Windows Settings" window click on "System". On the "System" pane click on "Default apps". On the "Choose default applications" pane click on "Films & TV" under "Video Player". On the "Choose an application" pop up menu click on "Windows Media Player" to set Windows Media Player as the default player for video files. Footnote: The same method can be used to apply file associations for music, by simply clicking on "Groove Music" under "Media Player" instead of changing Video Player in step 4. Media Player Codec Pack Plus. Codec's Explained: A codec is a piece of software on either a device or computer capable of encoding and/or decoding video and/or audio data from files, streams and broadcasts. The word Codec is a portmanteau of ' co mpressor- dec ompressor' Compression types that you will be able to play include: x264 | x265 | h.265 | HEVC | 10bit x265 | 10bit x264 | AVCHD | AVC DivX | XviD | MP4 | MPEG4 | MPEG2 and many more. File types you will be able to play include: .bdmv | .evo | .hevc | .mkv | .avi | .flv | .webm | .mp4 | .m4v | .m4a | .ts | .ogm .ac3 | .dts | .alac | .flac | .ape | .aac | .ogg | .ofr | .mpc | .3gp and many more.
    [Show full text]
  • Inhaltsverzeichnis
    INHALTSVERZEICHNIS VORWORT 6 Napster 23 Das Angebot 23 Jamba 24 I MEHR SOUND PRO CENT: Flatrate im Fokus 24 MUSIK ONLINE KAUFEN 8 Audible 25 Eigenes Format 25 Digital Rights Management 8 Soforthoeren 26 Store-Check 9 MP3s ohne DRM 26 Unterschiedliche Shop-Konzepte 11 Toni.de 26 ¡Tunes Store 11 Für Kinder und Eltern 26 Benutzerkonto für ¡Tunes anlegen 13 Libri 27 Benutzerkonto ohne Kreditkarte 13 Einzelkauf und Abonnements 27 Einkaufen mit ¡Phone und ¡Pod 14 Konto verwalten 14 Amazon 15 2 KOSTENLOSE MUSIK FINDEN - UND Der Herausforderer 15 ZWAR AUF DER SICHEREN SEITE . 28 Mediamarkt 16 MP3s ohne, Videos mit DRM 16 Creative Commons und Websites für Saturn 17 Gratis-Musik 29 Viele Sonderaktionen 17 mp3.de 29 7digital 18 Jamendo 30 Verschiedene Formate 18 Elixic 31 Nokia Music Store 19 MusicDownload24 32 ¡Tunes für Nokia-Freunde 19 mp3.com 32 MP3.de 20 Tonspion 33 MP3 und OGG in hoher Qualität 20 SkreemR 34 Musicload 21 Last.fm 34 Das Angebot 21 Garageband 35 Bibliografische Informationen digitalisiert durch http://d-nb.info/1002464285 INHALTSVERZEICHNIS AudioVideoFoto Bild 36 Rippen für Fortgeschrittene 54 ¡Tunes 36 Rippen mit CDex 56 Vorleser.net 37 Rippen Super-Guru-Style 57 Gratis-Hoerspiele.de 38 LPs, Kassetten usw. rippen 58 Kostenlose Hörbuecher 39 Audioquellen aufzeichnen mit Audacity. .60 Freie Musik von Idealisten 39 Audioformate: Was bin ich? 61 Geht das auch einfacher? 39 Lossy 61 MP3s finden mit Clickster 40 Lossless 62 Peer-to-Peer, File-Sharing und Tauschbörsen . 41 Unkomprimiert 63 Was kann man empfehlen? 41 Was sind Torrents? 42 Torrents laden mit Vuze 42 4 DER PERFEKTE MIX: PLAYLISTEN Download-Verzeichnis einstellen 43 NUTZEN UND CDS BRENNEN ...
    [Show full text]
  • Metadefender Core V4.12.2
    MetaDefender Core v4.12.2 © 2018 OPSWAT, Inc. All rights reserved. OPSWAT®, MetadefenderTM and the OPSWAT logo are trademarks of OPSWAT, Inc. All other trademarks, trade names, service marks, service names, and images mentioned and/or used herein belong to their respective owners. Table of Contents About This Guide 13 Key Features of Metadefender Core 14 1. Quick Start with Metadefender Core 15 1.1. Installation 15 Operating system invariant initial steps 15 Basic setup 16 1.1.1. Configuration wizard 16 1.2. License Activation 21 1.3. Scan Files with Metadefender Core 21 2. Installing or Upgrading Metadefender Core 22 2.1. Recommended System Requirements 22 System Requirements For Server 22 Browser Requirements for the Metadefender Core Management Console 24 2.2. Installing Metadefender 25 Installation 25 Installation notes 25 2.2.1. Installing Metadefender Core using command line 26 2.2.2. Installing Metadefender Core using the Install Wizard 27 2.3. Upgrading MetaDefender Core 27 Upgrading from MetaDefender Core 3.x 27 Upgrading from MetaDefender Core 4.x 28 2.4. Metadefender Core Licensing 28 2.4.1. Activating Metadefender Licenses 28 2.4.2. Checking Your Metadefender Core License 35 2.5. Performance and Load Estimation 36 What to know before reading the results: Some factors that affect performance 36 How test results are calculated 37 Test Reports 37 Performance Report - Multi-Scanning On Linux 37 Performance Report - Multi-Scanning On Windows 41 2.6. Special installation options 46 Use RAMDISK for the tempdirectory 46 3. Configuring Metadefender Core 50 3.1. Management Console 50 3.2.
    [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]
  • Transferring Old Records & Tapes Onto CD / Hard Disk What Is Sound?
    Transferring Old Records & Tapes onto CD / Hard Disk What is sound? Sounds are pressure waves of air. If there wasn't any air, we wouldn't be able to hear sounds. There's no sound in space. We hear sounds because our ears are sensitive to these pressure waves. Perhaps the easiest type of sound wave to understand is a short, sudden event like a clap. When you clap your hands, the air that was between your hands is pushed aside. This increases the air pressure in the space near your hands, because more air molecules are temporarily compressed into less space. The high pressure pushes the air molecules outwards in all directions at the speed of sound, which is about 340 meters per second. When the pressure wave reaches your ear, it pushes on your eardrum slightly, causing you to hear the clap. When you ring a bell, after the initial strike (which is a little like a hand clap), the sound comes from the vibration of the bell. While the bell is still ringing, it vibrates at a particular frequency, depending on the size and shape of the bell, and this causes the nearby air to vibrate with the same frequency. This causes pressure waves of air to travel outwards from the bell, again at the speed of sound. ! ! Transferring Old Records & Tapes onto CD / Hard Disk How is sound recorded? A microphone consists of a small membrane that is free to vibrate, along with a mechanism that translates movements of the membrane into electrical signals. (The exact electrical mechanism varies depending on the type of microphone.) So acoustical waves are translated into electrical waves by the microphone.
    [Show full text]
  • Asus Eee PC for Dummies
    Index journal, 101 • Symbols and Numerics • KCalc, 100 > (greater than), redirecting output, 311 KNotes, 105 >> (greater thans), appending to a fi le, 311 Kontact, 100–101 | (vertical bar), directing output to KSnapshot, 102–103 another command, 311–312 PIM (Personal Information Manager), 2G Surf, 14 100–101 4G, 14–15 PIM icon, 99 4G Surf, 14–15 pop-up notes, 101, 105 701SD, 15 Screen Capture icon, 99 900 series, 15–18 to-do list, 101 901 and Beyond icon, 6 Accessories icon, 92, 99 1000 series, 18–19 account name, personalizing, 149 Acrobat Reader, 184. See also PDF readers Acronis True Image, 284 • A • Ad-Aware Free, 231 Adblock Plus, 60 AbiWord, 219–220 add-ons accessories, hardware. See also Firefox, 59–60 personalization Thunderbird, 95–96 Bluetooth, 254–255 Add/Remove Software, 163. See also carrying case, 249–251 installing; uninstalling case graphics, 255–256 Add/Remove Software icon, 147, 163 GPS (Global Positioning System), 259–261 address books, Thunderbird, 96. See also keyboards, 252–253 contact lists mice, 251–252 administrative privileges, 309 modems, 256–257 Advanced Mode, 295–301. See also monitors, 257–259 Easy Mode projectors, 257–259 Advanced Packaging Tool (APT), 204–205 skins (themes), 255–256 advertisements, blocking, 60 USB powered work light, 254 adware, 231 accessories, software. See also AIM, 65 personalization COPYRIGHTEDAll About MATERIAL Eee, 343 accessing, 99 Amarok music player/organizer, 139–140 Calculator, 100 Amazon, 22 Calculator icon, 99 Andreesen, Marc, 58 calendar, 101 Andrew K’s XP Games, 228 capturing
    [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]
  • The Caiman USB Input and WASAPI Mode in Windows Rev.6 Configuration Instructions for the Caiman MKII and Caiman SEG
    The Caiman USB input and WASAPI Mode in Windows rev.6 Configuration instructions for the Caiman MKII and Caiman SEG If you wish to play high definition audio files via USB through the Caiman at the sample rate in which they were recorded, you must use a special mode called WASAPI. The WASAPI mode is part of the Windows OS. There is no need to install it or turn it on, but WASAPI mode can only be used by playback programs that are specifically designed to use it. Windows Media Player does not support WASAPI mode. WASAPI mode is normally independent of the audio playback device you’re using. But if WASAPI mode attempts to send audio to a device at a sample rate which is not supported by the hardware or drivers, you will receive an error message. The Caiman supports many of the WASAPI commands however, and can be configured to respond to certain audio data as long as the audio playback program used is set up to allow those WASAPI commands to pass unhindered to the Caiman via the USB connection together with the audio. This document explains how to configure WASAPI mode for some popular Windows PC audio player programs so that the Caiman SEG can decode sample and bit rates that would otherwise be rejected by the audio playback program. NOTE: WASAPI is a Windows interface mode. You do not need to install any WASAPI drivers for the Caiman. NOTE: Windows “itself”, and Windows Media Player, do NOT use WASAPI Mode. WASAPI Mode must be configured in EACH player program that you wish to use it with.
    [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]
  • X7 Users' Guide
    X7 Users’ Guide (applies to FW1.8 and later) 1 / 40 Foreword: Thank you for purchasing FiiO’s X7, our 384kHz / 64bit / DSD high resolution lossless music player. To let you better utilize the X7 to enjoy high-quality music, we have prepared this complete user manual and collected and answered some frequently asked questions by users. We hope this manual will help you get to know the X7 and unleash its full potential. 2 / 40 Contents A. Introduction ........................……....................................................….……… 4 B. Buttons and ports introduced ................................................................... 5 C. Pure Music / Android Mode switch ……..................................………..... 8 D. Wireless connectivity .................................................................................. 8 E. Firmware update …..................................................................................... 11 F. Pictorial guide to operating the X7 ......................................................... 14 1. Andriod mode .............................................................................................................. 14 2. FiiO Music .................................................................................................................... 24 3. Pure Music Mode .................................................................................................. 31 G. FAQ ................................................................................................................ 32 1. Charging
    [Show full text]
  • Release V2.5.6
    MusicBrainz Picard Release v2.5.6 Feb 16, 2021 MusicBrainz Picard User Guide by Bob Swift is licensed under CC0 1.0. To view a copy of this license, visit https://creativecommons.org/publicdomain/zero/1.0 CONTENTS 1 Introduction 1 1.1 Picard Can. ...........................................2 1.2 Picard Cannot. .........................................2 1.3 Limitations...........................................2 2 Contributing to the Project3 3 Acknowledgements4 3.1 Editor and English Language Lead..............................4 3.2 Translation Teams.......................................4 3.3 Contributors..........................................4 4 Glossary of Terms 6 5 Getting Started 10 5.1 Download & Install Picard................................... 10 5.2 Main Screen.......................................... 12 5.3 Status Icons........................................... 18 6 Configuration 20 6.1 Screen Setup.......................................... 20 6.2 Action Options......................................... 21 6.3 Option Settings......................................... 21 7 Tags & Variables 66 7.1 Basic Tags........................................... 66 7.2 Advanced Tags......................................... 70 7.3 Basic Variables......................................... 72 7.4 File Variables.......................................... 73 7.5 Advanced Variables...................................... 74 7.6 Classical Music Tags...................................... 75 7.7 Tags from Plugins......................................
    [Show full text]