(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| When wmaker_flatpak_apps.py is in PATH, create menu by adding "Generated Submenu" to the main menu, and as a command put: | |
| wmaker_flatpak_apps.py | |
| it should appear as: | |
| … | |
| (Flatpaks, OPEN_MENU, "|| wmaker_flatpak_apps.py"), | |
| … |
| diff -ur libXft-2.3.3/src/xftcolor.c libXft-2.3.3-patched/src/xftcolor.c | |
| --- libXft-2.3.3/src/xftcolor.c 2019-03-16 19:12:27.000000000 +0100 | |
| +++ libXft-2.3.3-patched/src/xftcolor.c 2021-04-23 16:53:14.825232294 +0200 | |
| @@ -90,9 +90,9 @@ | |
| green_len = masklen (visual->green_mask); | |
| blue_shift = maskbase (visual->blue_mask); | |
| blue_len = masklen (visual->blue_mask); | |
| - result->pixel = (((color->red >> (16 - red_len)) << red_shift) | | |
| - ((color->green >> (16 - green_len)) << green_shift) | | |
| - ((color->blue >> (16 - blue_len)) << blue_shift)); |
| import os | |
| import subprocess | |
| import weechat | |
| info = ('notify', | |
| 'gryf', | |
| '0.1', | |
| 'GPL3', |
| DEPS=(/bin/foo /sbin/bar /usr/bin/baz) | |
| # copy libs of foo/bar/baz to lib in current directory | |
| for bin in ${DEPS[*]}; do | |
| cp $bin ./bin/ | |
| ldd $bin >/dev/null || continue | |
| for lib in $(ldd $bin | sed -nre 's,.* (/.*lib.*/.*.so.*) .*,\\1,p' \\ | |
| -e 's,.*(/lib.*/ld.*.so.*) .*,\\1,p') | |
| do | |
| mkdir -p .${lib%/*} && cp {,.}$lib |
| #!/bin/bash | |
| xlock & | |
| sudo /usr/sbin/pm-suspend | |
| # get back keyboard and other settings after resume | |
| #sudo /usr/local/bin/usb_power.sh | |
| ~/bin/setxinput.sh |
| #!/usr/bin/env python | |
| """ | |
| Get exchange rate from NBP service for USD (default) and provided day (or now) | |
| """ | |
| import argparse | |
| from datetime import datetime | |
| import requests |
| #!/usr/bin/env python | |
| import argparse | |
| from datetime import datetime | |
| from pytz import common_timezones, timezone | |
| parser = argparse.ArgumentParser(description="Tells you if it's Thursday " | |
| "anywhere in the world.") | |
| parser.add_argument('--all', action='store_true', default=False, | |
| help='Print all timezones with Thursday.') |
| #!/bin/bash | |
| if [ "$#" -ne 2 ]; then | |
| echo "Usage: $0 <version> <revision>" | |
| echo "for example for Java 1.8.0.92 it would be:" | |
| echo "$0 8 92" | |
| exit 1 | |
| fi | |
| VERSION="$1u$2" |