This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# _*_ coding: utf-8 _*_ | |
""" | |
This script sorts the `names.txt` file containing lines like `Name Surname` alphabetically by Surname | |
and writes result to the `names_sorted.txt` file. | |
""" | |
import sys | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<keybind key="XF86MonBrightnessDown"> | |
<action name="Execute"> | |
<command>obhud --brightness down</command> | |
</action> | |
</keybind> | |
<keybind key="XF86MonBrightnessUp"> | |
<action name="Execute"> | |
<command>obhud --brightness up</command> | |
</action> | |
</keybind> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# How to modify to use various AUR helpers: | |
# EITHER check regular repos, then AUR with trizen: | |
upd=$(/bin/sh -c "/usr/bin/checkupdates && /usr/bin/trizen -Qqu -a") | |
# or with yaourt: | |
#upd=$(/bin/sh -c "(/usr/bin/checkupdates; /usr/bin/yaourt -Qu -a | cut -c 5-) | sort -u -t' ' -k1,1") | |
# or pacaur: | |
#upd=$(/bin/sh -c "/usr/bin/checkupdates && /usr/bin/pacaur -Qqu -a") | |
# or aurman: | |
#upd=$(/bin/sh -c "/usr/bin/checkupdates && /usr/bin/aurman -Qqu") |
NewerOlder