Pārlūkot izejas kodu

clean out openbox config

Andrew Swistak 11 gadi atpakaļ
vecāks
revīzija
68641e5083
3 mainītis faili ar 7 papildinājumiem un 72 dzēšanām
  1. 1 1
      config/openbox/autostart
  2. 2 67
      config/openbox/menu.xml
  3. 4 4
      config/openbox/rc.xml

+ 1 - 1
config/openbox/autostart

@@ -1,7 +1,7 @@
 ~/.fehbg &
 tint2 &
 #orage &
-(sleep 2 && compton_openbox --startstop) &
+(sleep 2 && compton_openbox --toggle) &
 (sleep 2 && pnmixer) &
 (sleep 2 && dropboxd) &
 (sleep 2 && conky -c /home/drew/.config/conky/conkyrc) &

+ 2 - 67
config/openbox/menu.xml

@@ -21,17 +21,6 @@
   </item>
 </menu>
 
-<menu id="apps-accessories-menu" label="Accessories">
-  <item label="Calculator">
-    <action name="Execute">
-      <command>gnome-calculator</command>
-      <startupnotify>
-        <enabled>yes</enabled>
-      </startupnotify>
-    </action>
-  </item>
-</menu>
-
 <menu id="apps-editors-menu" label="Editors">
   <item label="Sublime Text">
     <action name="Execute">
@@ -88,53 +77,6 @@
       </startupnotify>
     </action>
   </item>
-  <item label="Firefox">
-    <action name="Execute">
-      <command>firefox</command>
-      <startupnotify>
-        <enabled>yes</enabled>
-        <wmclass>Firefox</wmclass>
-      </startupnotify>
-    </action>
-  </item>
-</menu>
-
-<menu id="apps-office-menu" label="Office">
-  <item label="OpenOffice Base">
-    <action name="Execute">
-      <command>libreoffice -base</command>
-    </action>
-  </item>
-  <item label="OpenOffice Calc">
-    <action name="Execute">
-      <command>libreoffice -calc</command>
-    </action>
-  </item>
-  <item label="OpenOffice Draw">
-    <action name="Execute">
-      <command>libreoffice -draw</command>
-    </action>
-  </item>
-  <item label="OpenOffice Impress">
-    <action name="Execute">
-      <command>libreoffice -impress</command>
-    </action>
-  </item>
-  <item label="OpenOffice Math">
-    <action name="Execute">
-      <command>libreoffice -math</command>
-    </action>
-  </item>
-  <item label="OpenOffice Printer Administration">
-    <action name="Execute">
-      <command>libreoffice-printeradmin</command>
-    </action>
-  </item>
-  <item label="OpenOffice Writer">
-    <action name="Execute">
-      <command>libreoffice -writer</command>
-    </action>
-  </item>
 </menu>
 
 <menu id="apps-multimedia-menu" label="Multimedia">
@@ -179,12 +121,6 @@
 </menu>
 
 <menu id="system-menu" label="System">
-  <item label="Openbox Configuration Manager">
-    <action name="Execute">
-      <command>obconf</command>
-      <startupnotify><enabled>yes</enabled></startupnotify>
-    </action>
-  </item>
   <menu execute="compton_openbox" id="CompositingPipeMenu" label="Compositing"/>
   <separator />
   <item label="Reconfigure Openbox">
@@ -220,16 +156,15 @@
       <execute>pkill -KILL -u $USER</execute>
     </action>
   </item>
-  <!--TODO: Find a way to not use sudo/editing sudoers-->
   <item label="Suspend">
     <action name="Execute">
-      <execute>sudo systemctl suspend</execute>
+      <execute>systemctl suspend</execute>
     </action>
   </item>
   <item label="Hibernate">
     <action name="Execute">
       <prompt>Hibernate?</prompt>
-      <execute>sudo systemctl hibernate</execute>
+      <execute>systemctl hibernate</execute>
     </action>
   </item>
   <item label="Restart">

+ 4 - 4
config/openbox/rc.xml

@@ -363,23 +363,23 @@
     <!--Toggle Projector Mode-->
     <keybind key="XF86Display">
       <action name="Execute">
-        <command>~/.dotfiles/bin/find_max_ext_monitor_res.rb</command>
+        <command>~/Documents/dotfiles/bin/find_max_ext_monitor_res.rb</command>
       </action>
     </keybind>
     <!--Volume Control-->
     <keybind key="XF86AudioRaiseVolume">
       <action name="Execute">
-        <command>~/.dotfiles/bin/volume-change.sh up</command>
+        <command>~/Documents/dotfiles/bin/volume-change.sh up</command>
       </action>
     </keybind>
     <keybind key="XF86AudioLowerVolume">
       <action name="Execute">
-        <command>~/.dotfiles/bin/volume-change.sh down</command>
+        <command>~/Documents/dotfiles/bin/volume-change.sh down</command>
       </action>
     </keybind>
     <keybind key="XF86AudioMute">
       <action name="Execute">
-        <command>~/.dotfiles/bin/volume-change.sh toggle</command>
+        <command>~/Documents/dotfiles/bin/volume-change.sh toggle</command>
       </action>
     </keybind>
     <!--Keyboard Backlight Control-->