Created
June 14, 2017 05:12
-
-
Save dudelson/55009e755aa874b0661a63d1cc68121e to your computer and use it in GitHub Desktop.
Hook to update awesomewm battery widget
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 bash | |
export XAUTHORITY=/home/david/.Xauthority | |
export DISPLAY=:0 | |
export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus" | |
/usr/bin/awesome-client "local beautiful = require('beautiful'); beautiful.update_battery_widget()" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment