소스 검색

Add keyboard backlight support

Andrew Swistak 11 년 전
부모
커밋
d496513035
1개의 변경된 파일19개의 추가작업 그리고 8개의 파일을 삭제
  1. 19 8
      arch/openbox/rc.xml

+ 19 - 8
arch/openbox/rc.xml

@@ -363,45 +363,56 @@
     <!--
     <keybind key="W-Up">
       <action name="Execute">
-        <command>/home/drew/Documents/dotfiles/scripts/winsnap -u</command>
+        <command>/home/drew/Documents/dotfilesarch/scripts/winsnap -u</command>
       </action>
     </keybind>
     <keybind key="W-Down">
       <action name="Execute">
-        <command>/home/drew/Documents/dotfiles/scripts/winsnap -d</command>
+        <command>/home/drew/Documents/dotfilesarch/scripts/winsnap -d</command>
       </action>
     </keybind>
     <keybind key="W-Right">
       <action name="Execute">
-        <command>/home/drew/Documents/dotfiles/scripts/winsnap -r</command>
+        <command>/home/drew/Documents/dotfilesarch/scripts/winsnap -r</command>
       </action>
     </keybind>
     <keybind key="W-Left">
       <action name="Execute">
-        <command>/home/drew/Documents/dotfiles/scripts/winsnap -l</command>
+        <command>/home/drew/Documents/dotfilesarch/scripts/winsnap -l</command>
       </action>
     </keybind>
     -->
     <!--Toggle Projector Mode-->
     <keybind key="XF86Display">
       <action name="Execute">
-        <command>~/Documents/dotfiles/scripts/find_max_ext_monitor_res.rb</command>
+        <command>~/Documents/dotfiles/arch/scripts/find_max_ext_monitor_res.rb</command>
       </action>
     </keybind>
     <!--Volume Control-->
     <keybind key="XF86AudioRaiseVolume">
       <action name="Execute">
-        <command>~/Documents/dotfiles/scripts/volume-change.sh up</command>
+        <command>~/Documents/dotfiles/arch/scripts/volume-change.sh up</command>
       </action>
     </keybind>
     <keybind key="XF86AudioLowerVolume">
       <action name="Execute">
-        <command>~/Documents/dotfiles/scripts/volume-change.sh down</command>
+        <command>~/Documents/dotfiles/arch/scripts/volume-change.sh down</command>
       </action>
     </keybind>
     <keybind key="XF86AudioMute">
       <action name="Execute">
-        <command>~/Documents/dotfiles/scripts/volume-change.sh toggle</command>
+        <command>~/Documents/dotfiles/arch/scripts/volume-change.sh toggle</command>
+      </action>
+    </keybind>
+    <!--Keyboard Backlight Control-->
+    <keybind key="XF86KbdBrightnessUp">
+      <action name="Execute">
+        <command>/usr/bin/kbdlight up</command>
+      </action>
+    </keybind>
+    <keybind key="XF86KbdBrightnessDown">
+      <action name="Execute">
+        <command>/usr/bin/kbdlight down</command>
       </action>
     </keybind>
   </keyboard>