Game controler battery status script added. This works with PS4 controlers by default, and probably other batteries if you set the path in the script itself.

This commit is contained in:
stormdragon2976
2022-12-02 16:15:57 -05:00
parent 176bb60292
commit 93b7a1d835
2 changed files with 55 additions and 0 deletions

2
i38.sh
View File

@@ -373,6 +373,7 @@ bindsym e exec $textEditor, mode "default"
bindsym f exec $fileBrowser, mode "default"
# Web browser bound to w
bindsym w exec $webBrowser, mode "default"
bindsym g exec ${i3Path}/scripts/game_controler.sh -s, mode "default"
$(if command -v mumble &> /dev/null ; then
echo "bindsym m exec $(command -v mumble), mode \"default\""
fi)
@@ -425,6 +426,7 @@ bindsym \$mod+e exec $textEditor
bindsym \$mod+f exec $fileBrowser
# Web browser bound to $mod+w
bindsym \$mod+w exec $webBrowser
bindsym \$mod+g exec ${i3Path}/scripts/game_controler.sh -s, mode "default"
$(if command -v mumble &> /dev/null ; then
echo "bindsym \$mod+m exec $(command -v mumble)"
fi)