Skip to content

Commit

Permalink
update via awesome v3.4.13 on arch
Browse files Browse the repository at this point in the history
  • Loading branch information
alswl committed Nov 9, 2012
1 parent f1cb7e2 commit 5f60e71
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
5 changes: 3 additions & 2 deletions _autostart.sh
Expand Up @@ -10,7 +10,7 @@
# Desktop effect, for example transparency
#xcompmgr &

xmodmap $HOME/.Xmodmap
#xmodmap $HOME/.Xmodmap

# Dropbox
#dropbox start
Expand All @@ -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
Expand Down
29 changes: 16 additions & 13 deletions _menu.lua
Expand Up @@ -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.