Permalink
Browse files

update via awesome v3.4.13 on arch

  • Loading branch information...
1 parent f1cb7e2 commit 5f60e71cb992c2365e308402a89ecd3d0074b30f @alswl committed Nov 9, 2012
Showing with 19 additions and 15 deletions.
  1. +3 −2 _autostart.sh
  2. +16 −13 _menu.lua
View
@@ -10,7 +10,7 @@
# Desktop effect, for example transparency
#xcompmgr &
-xmodmap $HOME/.Xmodmap
+#xmodmap $HOME/.Xmodmap
# Dropbox
#dropbox start
@@ -22,7 +22,8 @@ xmodmap $HOME/.Xmodmap
#trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --widthtype pixel --width 128 --transparent true --alpha 0 --tint 0x000000 --height 18 &
# ssh-proxy
-#ssh alswl@log4d.com -ND 7070 &
+#ssh user@vps.com -ND 7070 &
+#autossh -M 20000 -f -q -N -D 7070 user@vps.com
# wallpaper
#nitrogen --restore
View
@@ -2,26 +2,29 @@
-- Create a laucher widget and a main menu
myawesomemenu = {
--{ "manual", terminal .. " -e man awesome" },
- { "edit config", editor_cmd .. " " .. awesome.conffile },
- { "restart", awesome.restart },
- { "quit", awesome.quit },
- { "suspend", function () awful.util.spawn("sudo pm-suspend") end},
- { "power off", "dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop"},
+ --{ "edit config", editor_cmd .. " " .. awesome.conffile },
+ --{ "restart", awesome.restart },
+ --{ "quit", awesome.quit },
+ --{ "suspend", "systemctl suspend"},
+ --{ "power off", "systemctl poweroff"},
}
mymainmenu = awful.menu({
items = {
- {"awesome", myawesomemenu, beautiful.awesome_icon},
- -- {"应用程序 (&A)", debian.menu.Debian_menu.Debian}, -- ubuntu
- -- {"应用程序 (&A)", xdgmenu}, -- arch
- {"&Nautilus", "nautilus --no-desktop", '/usr/share/icons/hicolor/32x32/apps/nautilus.png'},
- {"&Thunar", "thunar"},
- {"屏幕键盘", "matchbox-keyboard", '/usr/share/pixmaps/matchbox-keyboard.png'},
- {"open terminal", terminal }
+ --{"awesome", myawesomemenu, beautiful.awesome_icon},
+ --{"应用程序 (&A)", debian.menu.Debian_menu.Debian}, -- ubuntu
+ --{"应用程序 (&A)", xdgmenu}, -- arch
+ --{"&Nautilus", "nautilus --no-desktop", '/usr/share/icons/hicolor/32x32/apps/nautilus.png'},
+ --{"&Thunar", "thunar"},
+ --{"&Rox", "rox"},
+ --{"&Emelfm2", "emelfm2"},
+ --{"屏幕键盘", "matchbox-keyboard", '/usr/share/pixmaps/matchbox-keyboard.png'},
+ --{"open terminal", terminal }
}
})
mylauncher = awful.widget.launcher({
image = image(beautiful.awesome_icon),
- menu = mymainmenu })
+ menu = mymainmenu
+})
-- }}}

0 comments on commit 5f60e71

Please sign in to comment.