All Projects → nwg-piotr → tint2-executors

nwg-piotr / tint2-executors

Licence: GPL-3.0 license
Collection of executors for Tint2 panel

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to tint2-executors

dotfiles
Personal dotfiles for my multiple systems.
Stars: ✭ 20 (-72.22%)
Mutual labels:  archlinux, openbox, tint2
guzuta
Custom repository manager for ArchLinux pacman
Stars: ✭ 27 (-62.5%)
Mutual labels:  archlinux
Arch Linux Installer
Arch-Linux-Install-Script/Arch Linux 安装脚本
Stars: ✭ 192 (+166.67%)
Mutual labels:  archlinux
docker-archlinux
Baseline Arch Linux Docker image
Stars: ✭ 49 (-31.94%)
Mutual labels:  archlinux
Vagrantboxes
Handcrafted Arch Linux Vagrant base box with ❤️
Stars: ✭ 242 (+236.11%)
Mutual labels:  archlinux
dotfiles
dotfiles of simonvic daily used enviroment
Stars: ✭ 75 (+4.17%)
Mutual labels:  archlinux
Alterlinux
Alter Linux - ArchLinux-derived OS made in Japan aimed at being usable by anyone
Stars: ✭ 179 (+148.61%)
Mutual labels:  archlinux
manjarno
Why you shouldn't use Manjaro
Stars: ✭ 96 (+33.33%)
Mutual labels:  archlinux
deezer
Deezer Archlinux AUR package
Stars: ✭ 42 (-41.67%)
Mutual labels:  archlinux
abs
PKGBUILDs for the Arch User Repository
Stars: ✭ 38 (-47.22%)
Mutual labels:  archlinux
simplyarch
The blazing fast ⚡ Arch Linux ⚡ installation script that puts you on control 🌟
Stars: ✭ 38 (-47.22%)
Mutual labels:  archlinux
Archwsl
ArchLinux based WSL Distribution. Supports multiple install.
Stars: ✭ 3,667 (+4993.06%)
Mutual labels:  archlinux
nemesyst
Generalised and highly customisable, hybrid-parallelism, database based, deep learning framework.
Stars: ✭ 17 (-76.39%)
Mutual labels:  archlinux
Rua
Build tool for Arch Linux providing control, review and jailed build options
Stars: ✭ 224 (+211.11%)
Mutual labels:  archlinux
dotfiles
My collection of dotfiles
Stars: ✭ 77 (+6.94%)
Mutual labels:  archlinux
Ramroot
Load root file system to ram during boot.
Stars: ✭ 190 (+163.89%)
Mutual labels:  archlinux
distrobox
Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
Stars: ✭ 4,371 (+5970.83%)
Mutual labels:  archlinux
informant
An Arch Linux News reader and pacman hook
Stars: ✭ 178 (+147.22%)
Mutual labels:  archlinux
arch-install
A highly configurable script automatically installing Arch Linux.
Stars: ✭ 32 (-55.56%)
Mutual labels:  archlinux
dotfiles
My dotfiles based on Makefile
Stars: ✭ 150 (+108.33%)
Mutual labels:  archlinux

Tint2 executors collection

While playing with Openbox, we often need a script to perform some actions not included OOTB. Having to search the same answers again and again on each new machine, I thought it was worth documenting them somewhere for further use.

The Tint2 panel - a brilliant and flexible piece of software - allows to execute scripts every certain period of time. At least some of these scripts should also be useful in other applications (panels?).

This repository contains scripts of various usability in various stages of development. Always up to date versions you'll find in separate repositories:

psuinfo

Contains a python-psutil-based script, which provides a set of commands to display information on system resources usage. In Tint2 panel you may choose from graphical (icons) and textual format. Published as psuinfo (AUR) package for Arch Linux and in official Void Linux repository.

t2ec

Contains the rest of most useful scripts, which as well display system info, as allow to assign some useful actions to mouse clicks: desktop indicator/switcher, Bumblebee status, brightness and volume level, wi-fi network in use, Arch updates and current weather. Published as t2ec (AUR) package for Arch Linux.

rof

A simple helper script, which is a launcher allowing to avoid running multiple instances of the same window. Useful while assigning commands to mouse click events. AUR

Sample usage:

scripts in action


Attention: all the content described below this point concerns development versions, which may not contain latest changes. Use of packages named above is strongly recommended.


bbswitch-status-temp.sh

Displays an icon according to the current Bumblebee status. If NVIDIA graphics turned on, it'll also display the GPU temperature.

bbswitch-status-temperature

Command: ~/tint2-executors/bbswitch-status-temp.sh

Wiki: dependencies, sample executor

brightness-icon.sh

This script displays an appropriate brightness icon, according to the current brightness level. Assign scroll up/down command to increase/decrease level. Use -l argument to display level as text next to the icon.

brightness icon

Command: ~/tint2-executors/brightness-icon.sh

Wiki: dependencies, sample executor

volume-icon.sh

This script displays an appropriate volume icon, according to the current volume level. Assign scroll up/down command to increase/decrease level. Use -l argument to display level as text next to the icon.

volume icon

Command: ~/tint2-executors/volume-icon.sh

Wiki: dependencies, sample executor

battery-icon.sh

This script displays an appropriate battery icon, according to the current charge level and charging state. It has mainly aesthetic values: it should rather be used next to the built-in Tint2 battery indicator, not instead of it. However, you may use -l argument to display level as text next to the icon.

battery icon

Command: ~/tint2-executors/battery-icon.sh

Wiki: dependencies, sample executor

desktop.py

This Python script displays current desktop indicator. Assign scroll up/down command with n | p (next | previous) argument to switch desktops.

desktop icon

Wiki: dependencies, optional arguments, sample executor

wifi-name.sh

Bash script to display the name of Wi-Fi network currently in use, labeled with an icon or text.

wi-fi name

Command: ~/tint2-executors/wifi-name.sh

Wiki: optional agruments, sample executor

arch-update.sh

This script displays an icon to indicate Arch / AUR package updates available. Likely to need some customization to work well on each machine, as it depends on the terminal and AUR helper you use. Check Wiki for details.

Arch update notifier

Command: ~/tint2-executors/./arch-update.sh

Wiki: dependencies, customization, sample executor

zenity-set-brightness.sh

Opens a Zenity box to set the brightness level. Could be used e.g. as the left click action with the brightness icon.

brightness zenity box

Command: ~/tint2-executors/zenity-set-brightness.sh

Wiki: dependencies

zenity-set-volume.sh

Opens a Zenity box to set the volume level. Could be used e.g. as the left click action with the volume icon.

volume zenity box

Command: ~/tint2-executors/zenity-set-volume.sh

Wiki: dependencies

speedtest.sh

Lately I needed to prove that my Internet connection sucks. And not as fast as the provider claims it does. To collect data on the speed over time, I used this bash script in a Tint2 executor. It saves Ping [ms] Download and Upload speed [Mbit/s] every a certain interval to ~/speedtest.txt.

speedtest-cli >> txt

Command: ~/tint2-executors/speedtest.sh

Wiki: dependencies, sample executor and output

cpu-fan-mem.py (deprecated)


Important note: the cpu-fan-mem.py script has been turned into a separate project and also AUR package, and will no longer be updated here. The description below, Wiki and the script itself are out of date. Please check the project site.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].